bkendall 0 Junior Poster in Training

In case any of you have not seen it yet Icon Buffet is a great icon community check it out and if you decide to get a free account I will promise to send any of my fellow designers anything they need and help ya out :)

bkendall 0 Junior Poster in Training

My stylesheets tend to get long at times and I find I am constantly fishing around looking for colors to use. So I asked a friend at work about it and he created a dremweaver extension that will pull all of your colors from your css ot html fil and display them all in one place.

Another cool feature is the ability to import the colors from the web.

I thought it was a cool extension to share, completely free just install it and let us know what you think!

[img]http://bnewtz.cannet.com/images/colorPalette.jpg[/img]

http://bnewtz.cannet.com/wp/

bkendall 0 Junior Poster in Training

Yes, I used the attributes tag inside my CustomTags/PostHead: #Attributes.SwfPath# then on the page I called:

<cfmodule template="Test/Test.cfm" PageTitle="Title Here" SwfPath="images/test.swf" />

For now this works really well, ultimatly it would be nice to go back and use one swf and then pass the elements into it rather than a seperate swf for each header.

bkendall 0 Junior Poster in Training

I actually worked around the issue by using a css layer over the top of the flash movie and making that a cf variable instead. Basically what I wanted to do was call a flash movie using a variable name for example instead of:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="32" height="32" title="test">
	<param name="movie" value="/test.fla" />
	<param name="quality" value="high" />
	<embed src="/test.fla" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32"></embed>
</object>

I wanted to use #movieName# instead of test.fla.

bkendall 0 Junior Poster in Training

I need to redirect based on a param and here is what I am using:

If Request("catid") = "9" Then Response.Redirect ("ClassCatRealEstateSales.asp")

my guess is that there is a syntax problem, I am not getting an error because I have other lines that will catch blank ids and the like and redirect to a main page and that is working.

any help would be much appreciated. :)

bkendall 0 Junior Poster in Training

I tend to do more fixed width than liquid layouts but do both often. THe only thing I have found is that while it is true that most users have higher res these days alot of the folks I deal with as users set their windows much smaller than full screen. As a result I still focus on 800 for the width.

bkendall 0 Junior Poster in Training

I have a website that I am using includes on to make life easier. One issue that has come up is that I am also using a flash header on the top of each page. I would like to put the object and embed tags inside my posthead file with a variable name instead of the movie file name and then set the variable on each page.


This seems like it should be simple but I have been unable to get it to work or find information. Any ideas?

Thanks!

bkendall 0 Junior Poster in Training

In case anyone else runs into this issue, here is the solution that worked for me:

<cfset startDate = Now() - 7> 
<cfset endDate = Now()>
where a.OrderedDate >= #CreateODBCDate(startDate)# and a.OrderedDate <= #CreateODBCDate(endDate)#
bkendall 0 Junior Poster in Training

I have a cfmail script that sends a daily summary of orders. It basically grabs all of the orders from the db, uses DateFormat(Now() and then uses the query to generate the rport. The cf scheduler send the page daily.

Now I need to send a report on a weekly basis. I started by saving a new copy of the cfmail file. now I need to generate my date range. It needs to go from today and subtract 7 days. So we want to show all orders from the previous Friday to through Thursday night.

My query looks like this: where a.OrderedDate = '#DateFormat(Now(), "yyyy-mm-dd")#' can someone give me an example of what my date range would look like?

thanks!

bkendall 0 Junior Poster in Training

First of all you need to have a little patience, I will do my best to give you a hand and I am sure there others around as well.

It sounds like you are looking for relative positioning and for that you need to use some layers. The best way to do this is with CSS this is a good place to start with CSS menus http://www.meyerweb.com/eric/css/edge/menus/demo.html

Also you can google css menus and come up with some good examples. Post your code as you go along and we will give you a hand.

bkendall 0 Junior Poster in Training

I'm wondering because right now, my website is very, very badly broken in 4, and I'm going to have to make a separate version of the web site to fix it. At this point in time, is it still necessary to support Netscape 4?

I think it depends on your audience at this point. I would say for the web at large it is probably no longer needed. If your particular site is for a group of users that are unable to update their borwsers or have a reason to use older browers then you may have to keep supporting it.

Also you should be able to get some website stats on what percentage of the users on your site stil use ns 4.

bkendall 0 Junior Poster in Training

Does no one have any suggestions for this? Is it in the wrong forum?

Grump

It looks like you just have the positioning off for the popup menus. I would find the section of code that deals with the popups and there should be some pixel dems there and play with the numbers to see if you can move the position of the popps around.

Another solution, if you have FW 8 is to change the export setting in the export dialog to css layers which will convert all of your tables to css for you and may give you a start on understanding layers better.

bkendall 0 Junior Poster in Training

It can certainly be done, but probablly not in a drop and drag fashion through dreamweaver or a dreamweaver plugin.

I think something more important to consider is that if this is your first form, fancy javascript is something to worry down the road a bit. I would concentrate on form methods and understanding some basic validation.

Once you have a few under your belt then certainly look into javascript or perhaps flash forms to get the effects your after.

bkendall 0 Junior Poster in Training

I think what you are looking for is an "align=" inside your image tag. This can be done painlessly in dreamweaver. First add your image to the page and in the layout mode you should see it on the page. Next click on the image and in the properties pane at the bottom you should see a box that says align in the bottom right simly select your poison from there and it will align the image. you should now select code view and see that it added an align='''' property to the image tag.

TomWhitney commented: It solved the problem, simply and quickly. Thank you. +0
bkendall 0 Junior Poster in Training

well no one responded to this post so I don't have to thank anyone but I did get it figured out and in case someone has the same trouble... I needed an eval statement in my loop so my cfset needed something like this:

<cfset tmpDate = EVALUATE("FORM.txtFFDateSet#i#")>
bkendall 0 Junior Poster in Training

too bad we can't both go back to say 1935 and invest heavily in those technologies.

bkendall 0 Junior Poster in Training

I think there has been a lot of valuable contributions that have come from Katrina like people being able to donate online, ebay autions, blogs and even sat radio and tv setting up channels to be used for communication. So your right technology can certainly help out in times of need.

bkendall 0 Junior Poster in Training

Not exactly sure what you are looking for with your post. A guess would be that you want someone to create some graphics for you. A better path might be to ask questions on how to create them so you could learn to do them yourself. I love helping people like yourself out but would rather help you learn something than to just give you graphics.

bkendall 0 Junior Poster in Training

there are a lot of good resources for dreamweaver but a good place to start would be macromedia.

http://www.macromedia.com/support/documentation/en/dreamweaver/index.html#tutorials

bkendall 0 Junior Poster in Training

I installed my version of studio 8 at home last week but we have not upgraded at work yet. As I am sure most of you are in the same boat, after working all day it is not always easy to go home and design for fun. I have opened flash though and ran through some of the new features.

There are certainly some good changes going on such as better text rendering and the library pane. As for an indepth review I have not been able to dive into a project in it yet.

bkendall 0 Junior Poster in Training

I was thinking along those same lines as well, some sort of a preloading technique to load sections at a time. This was really popular in the days of glam intro movies and there probably still some good examples that you could get ideas from.

bkendall 0 Junior Poster in Training

the referring page has a loop that generate the value for the page that is getting the error and I am thinking that the value is not being passed to that page.

</tr>
   <cfloop index="i" from="2" to="#SESSION.Order.FrequentFlyer.Count#">
   <tr>
      <td>
         Date <cfoutput>#i#</cfoutput>:
         <input type="text" name="txtFFDateSetMonth[<cfoutput>#i#</cfoutput>]" class="txtboxdt" maxlength="2"
            value="<cfoutput>#Mid(DateFormat(dtTargetDate[i],"MM/DD/YYYY"),1,2)#</cfoutput>"> /
         <input type="text" name="txtFFDateSetDay[<cfoutput>#i#</cfoutput>]" class="txtboxdt" maxlength="2"
            value="<cfoutput>#Mid(DateFormat(dtTargetDate[i],"MM/DD/YYYY"),4,2)#</cfoutput>"> /
         <input type="text" name="txtFFDateSetYear[<cfoutput>#i#</cfoutput>]" class="txtboxdt" maxlength="2"
            value="<cfoutput>#Mid(DateFormat(dtTargetDate[i],"MM/DD/YYYY"),9,2)#</cfoutput>">
         <input type="hidden" name="txtFFDateSet[<cfoutput>#i#</cfoutput>]">
      </td>
   </tr>         
   </cfloop>
   <input type="hidden" name="txtFFFirstDate" value="<cfoutput>#form.txtFFDateSet#</cfoutput>">

this hidden field

<input type="hidden" name="txtFFDateSet[<cfoutput>#i#</cfoutput>]">

contains the undefined value. does it need a value (name="" value="") on the referring page and if so what should it be?

Forgive me in advance if I am not being clear, I have looked at this issue all day with no revelations.

bkendall 0 Junior Poster in Training

I am trying to debug a form that is basically a popup where the user enters a date and then two more dates are generated based off of date and the user can then edit those dates. When the user tries to save the second set of dates the "Element is undefined in a Java object of type class [Ljava.lang.String; referenced as" error is generated I am thinking this could just be a simple syntax error if that is the case here is the code for the page that has the error:

<cfif isdefined("form.txtFFFirstDate")>
<!--- used clicked save--->
	<cfset SESSION.Order.FrequentFlyer.Use = "Y">
	<cfset SESSION.Order.FrequentFlyer.UsedAtLeastOnce = "Y">
	<cfset SESSION.Order.FrequentFlyer.TargetDate = ArrayNew(1)>
	
	<cfset SESSION.Order.FrequentFlyer.TargetDate[1] = #DateFormat(form.txtFFFirstDate,"MM/DD/YYYY")#>
	<cfloop index="i" from="2" to="#SESSION.Order.FrequentFlyer.Count#">
		<cfset SESSION.Order.FrequentFlyer.TargetDate[i] = #DateFormat(form.txtFFDateSet[i],"MM/DD/YYYY")#>
	</cfloop>
</cfif>

my other idea is that the values are never being passed to this page.

<cfloop index="i" from="2" to="#SESSION.Order.FrequentFlyer.Count#">
	<tr>
		<td>
			Date <cfoutput>#i#</cfoutput>:
			<input type="text" name="txtFFDateSetMonth[<cfoutput>#i#</cfoutput>]" class="txtboxdt" maxlength="2" 
				value="<cfoutput>#Mid(DateFormat(dtTargetDate[i],"MM/DD/YYYY"),1,2)#</cfoutput>"> /
			<input type="text" name="txtFFDateSetDay[<cfoutput>#i#</cfoutput>]" class="txtboxdt" maxlength="2"
				value="<cfoutput>#Mid(DateFormat(dtTargetDate[i],"MM/DD/YYYY"),4,2)#</cfoutput>"> /
			<input type="text" name="txtFFDateSetYear[<cfoutput>#i#</cfoutput>]" class="txtboxdt" maxlength="2"
				value="<cfoutput>#Mid(DateFormat(dtTargetDate[i],"MM/DD/YYYY"),9,2)#</cfoutput>">
			<input type="hidden" name="txtFFDateSet[<cfoutput>#i#</cfoutput>]">
		</td>
	</tr>			
	</cfloop>
	<input type="hidden" name="txtFFFirstDate" value="<cfoutput>#form.txtFFDateSet#</cfoutput>">

anyway any help at all would be great

bkendall 0 Junior Poster in Training

I don't see how you can override the redirect if you do not modify the actionscript. The only way I could see that working is if you have control over the page that iredircts to. If you did then you could do a javascript redirect from there to the page that you wanted it to go to. Personally I would contact the person that gave you permission to use the file and ask for permission to modify the redirect.

bkendall 0 Junior Poster in Training

After thinking about it, I think your best solution would be to build a jukebox type player that will allow the users to choose from the various mp3s while using a single player.

You might try flashkit.com for some examples of this.

bkendall 0 Junior Poster in Training

You will need to edit the actionscript file. Look for the name of the file that it is redirecting to in the code and then change it to fit your needs.

bkendall 0 Junior Poster in Training

Are you looking to create graphics that look like boxes or are you referring to package design?

bkendall 0 Junior Poster in Training

You can use photoshop, imageready or fireworks to slice images. depending on the version of photoshop that you have, there is a slice icon in the main toolbar and there is two option one for slicing and the other for editing a slice.

You simply draw boxes around the sections of the images to create your slices. It will probably take some practice to get the slices the way you want them but you can also use the edit slice tool to clean them up. once you get the image sliced the way you want it, choose export for the web (assuming you are using a recent version of photoshop) you will need to cutomize the output options to make sure you are exporting the slices the way you want and then just add them to an html page.

The best advice I can give you is to locate the slice tool and play with it. the best way I have found to learn new features in software is to explore and play. Let us know how you make out.

bkendall 0 Junior Poster in Training

maybe you can post your form method line of code so we can get a better idea of what you are doing.

bkendall 0 Junior Poster in Training

nice to see that ms is at least pretending to read that standards from time to time.

bkendall 0 Junior Poster in Training

I fall into the same area of Tgreer as far as no formal training or certification. I have looked into it from time to time but personally I have found most "design" programs lacking in current trends and information. I am sure there are some good ones out there but I have not been able to justify forking over the extra cash when my experience and portfolio has always kept me in work.

bkendall 0 Junior Poster in Training

I do not believe that there is a mac version of the ASP.NET SDK. I would be interested if anyone comes across a work around for it.

bkendall 0 Junior Poster in Training

Is there a reason why you didn't use just one player to play all of the mp3s? Just seems it would be easier for you and your users to only have the one player to worry about.

bkendall 0 Junior Poster in Training

I would try logging in via ftp outside of dw and see if you can upload/dl files from there, if you are not able to then you will no that the problem is not specific to dw and you can troubleshoot from there.

bkendall 0 Junior Poster in Training

The best advice I can give anyone starting out in web design is to sepnd some time surfing and making notes on the sites that you like and the sites that you don't like. Try to out down in words what makes them appealing to you or what turns you off about them. Then when you start a new design pull up the sites that really stand out (I keep a bookmark list) and use them as inspiration. You will find over time that you will develop your own stlye based on the designs you admire. A word of caution, getting inspiration from someone eles's work does not mean copying their code or design but just getting ideas on what works.

Hope this helps and let us know how it's going I am always willing to help those getting started.

bkendall 0 Junior Poster in Training

I am sure thee are many different opinions out there. Most coders would tell you to use an editor like: MultiEdit, UltraEdit(cheaper), or BBEdit(Mac). I tend to feel, being a designer myself, that a visual editor is the best way to learn HTMl. I would therefore reccommend a program such as Dreamweaver of Golive.

bkendall 0 Junior Poster in Training

Setting up the database is just a matter of clicking the data sources link under Data & Services in the menu on the left (cfMx). From here all you need to do is select the data base type from the drop down and type the name of the db.

As for data base attribute I am guessing you are referring to using

<cfquery name="qname" datasource="dbname">

instead of

<cfquery name="qname" datasource="#session.dbsource#">

Let me know is this is what you were looking for.

Thanks

bkendall 0 Junior Poster in Training

It sounds like you are thinking about advertising yourself as a webmaster or web care take in order to get work? If that is the casse I think it depends on the job and how well you learn on your feet. Some of us do better under pressure and when we are in real world situations, while others would rather learn in a more academic setting before heading into the real world.

As for dreamweaver, I found I learned it faster by just doing projects in it but again it depends on the type of learner you are.

bkendall 0 Junior Poster in Training

Hi there-

Yes there is an easy way to do this:

edit >Preferences>Code Hints

then just uncheck enable auto tag completion.

bkendall 0 Junior Poster in Training

I think it depends on the site. It can be as simple as just maintaining a site, which could be images, text etc. Nowadays the smarter developers use some sort of content management system to allow clients some control of the more mundane tasks such as entering text and images, this frees them up to do other tasks such as redesign build and maintain databases and in alot of cases maintain the server.

So to answer your question I think the best definition of a webmaster is a general jack of all trades when it comes to the web. in the early 90's companies looked for webmasters because they could not justify spending the resources on an entire team to maintain websites. byt the late 90's some companies had 100s of people doing specific functions like: designers, copywriters, programmers, quality control and so on.

Now I think in some regards we are back to companies wanting jsut a few people that can perform many functions.

Sorry about the history lesson hope it helped.

bkendall 0 Junior Poster in Training

Unfort this is an issue that have troubled web developers for years and the solution has always been to write workarounds or hacks for the various browers that do not understand one tag or another. The better solution is to write for that standard and then jsut have your page degrade gracefully from there.

My statement to clients is that I will make their project comply with the standards and funtional in the browsers that do not support the standards. Otherwise you will be banging your head on the wall everyday writing hacks.

bkendall 0 Junior Poster in Training

Safari is a compliant browser so you should not have trouble getting JavaScript to work. My guess is that there is a syntax error that the other browsers are ignoring. have you tried validating the page?

bkendall 0 Junior Poster in Training

It would be helpful if you had an example for us to look at but the easiest way to give the impression that a "bar" goes the length of the page is to put a bgcolor on the cell so that it matches. if you want an image to extend the full length of the cell you can use a repeating bgimage.

Both of these can also be done with css as well and there are lots of good examples out there just google css 3 column layouts. http://www.saila.com/usage/layouts/

bkendall 0 Junior Poster in Training

although validating is important and I think that has been covered well so far, no one has mentioned validating for 508 and bobby standards. I think it is just as important to be accessible as it is to have a valid structure.

bkendall 0 Junior Poster in Training

Sam-

You can use:
SQL
mySQL
Access
Oracle
SyBase


and I am sure there are probably a couple of others that would work as well.

bkendall 0 Junior Poster in Training

Hi there Sam-

I can't speak too in depth about access, but I can tell you that I have used mysql via phpmyadmin and have had good results. I think CF would be a good starting place for you esp if you do not have much db exp. My suggestion would be to pick up ColdFusion mx by Ben Forta, there is a good step by step guide in there for setting up a web app to do what you want.

As for problems with concurrent usage, it is possible that two users can be modifying the same record at the same time (not likely) but you can lock that from happening (also in the Ben Forta book).

Hope this helps, please let us know how it is going.

bkendall 0 Junior Poster in Training

I actually have another solution to rotating text.

I have recently done a project where I needed to make text for an envelope vert and I ran across a server software package that dynamically takes the text turns it into a graphic and then spins it and outputs it on the page. http://www.imagemagick.org/ the best news it that it is free.

bkendall 0 Junior Poster in Training

you should find out what they do support
asp
coldfusion
JSP
CGI

then I can try and walk you through how to use what you have available

bkendall 0 Junior Poster in Training

your form page will be just like any other page except that it will have form tags

<form name="form1" id="form1" method="post" action="">
  Field Name: 
  <input name="field name" type="text" id="field name" />
</form>

the action=''''> is where you would need to use a langauge such as php which might look like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
	"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>Contact Form</title>
<meta http-equiv="Content-Type" 
   content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
   if ($_SERVER['REQUEST_METHOD'] != 'POST'){
      $me = $_SERVER['PHP_SELF'];
?>
   <form name="form1" method="post"
         action="<?php echo $me;?>">
      <table border="0" cellspacing="0" cellpadding="2">
         <tr>
            <td>Name:</td>
            <td><input type="text" name="Name"></td>
         </tr>
         <tr>
            <td>Subject</td>
            <td><input type="text" name="Subject"></td>
         </tr>
         <tr>
            <td valign="top">Message:</td>
            <td><textarea name="MsgBody"></textarea></td>
         </tr>
         <tr>
            <td>&nbsp;</td>
            <td><input type="submit" name="Submit"
               value="Send"></td>
         </tr>
      </table>
   </form>
<?php
   } else {
      error_reporting(0);
      $recipient = 'me@myaddress.com';
      $subject = stripslashes($_POST['Subject']);
      $from = stripslashes($_POST['Name']);
      $msg = "Message from: $from\n\n".stripslashes($_POST['MsgBody']);
      if (mail($recipient, $subject, $msg))
         echo nl2br("<b>Message Sent:</b>
         To: $recipient
         Subject: $subject
         Message:
         $msg");
      else
         echo "Message failed to send";
}
?>
</body>
</html>

You will need to check if you have access to a php server if not there are other methods that you can use. If all else fails you can send it via javascript, which is a dirty way to do it but will work.

bkendall 0 Junior Poster in Training

I agree having a confirmation process would be a good idea. Alot of sites will have the user click on a link in thier email before they are "offically confirmed". you can use java script however to make sure the user enters a properly formatted Email address.

<script>
<!--

/*Email Check script credit-JavaScript Kit (www.javascriptkit.com) 200+ free JavaScripts here!
*/

function emailcheck(cur)
{
var string1=cur.email.value
if (string1.indexOf("@")==-1)
{
alert("Please input a valid email address!")
return false
}
}
//-->
</script>

<form onsubmit="return emailcheck(this)">
<strong>Enter your email address please:</strong><br><input type="text" size="20" name="email">
<input type="submit" value="Submit!">
</form>

<p align="center"><font face="arial" size="-2">This free script provided by</font><br>
<font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript
Kit</a></font></p>