If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Installing Javascript - Date  XML
Forum Index » General Discussion
Author Message
imcgraw
Newbie

Joined: 21/04/2006 05:47:57
Messages: 3
Offline

Where do I install the the Javascript date code on a Dreamweaver's index page so that the date will display as Day of the Week, Month, Day and Year? Thanks

<SCRIPT LANGUAGE="JavaScript">
document.write(customDateString())
</SCRIPT>
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4291
Location: Bristol, UK
Offline

You put the code wherever you want the date to appear on the page.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
imcgraw
Newbie

Joined: 21/04/2006 05:47:57
Messages: 3
Offline

I put the Java Script Code in the Dreamweaver code area and the script icon appears on the page, but after publishing the page the Date is not visible. Is there something that I need to do in order for the date to be visible?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4291
Location: Bristol, UK
Offline

You also need to put the rest of the javascript in the head section of the page.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
imcgraw
Newbie

Joined: 21/04/2006 05:47:57
Messages: 3
Offline

What is the rest of the java script that I need to put in the head section?
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

You may find this site useful...

www.htmlgoodies.com

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » General Discussion
Go to:   
Based on the open source JForum