I'm new here and I'm not sure if I'm posting in the right thread. However, Perhaps someone can lead me to the right place. I've developed a web page in Dreamweaver CS3 and save it as a template (so I can add more pages w/ the same overall theme) So, I want to add a live day & date display to my template so it will show up on every page of my site. I went Dynamic Drive website and I saw one called "Live Date Script" which seem perfect for what I'm trying to do. Here is the problem, I followed the instruction but it never works correctly. It said place the codes anywhere in the <body tag> and place this code in side the body <body onLoad="goforit()"> I did that and I still can't get it to display correctly I'm starting to bang my head on the computer screen because it's driven me nut trying to figure this out. Can someone here enlighten me or help me trouble shoot my dilemma?
starengineer
0
Newbie Poster
Recommended Answers
Jump to PostHere's a simple Javascript demo that will display time and date, based on the local time in your system.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> …
Jump to PostWe are sorry if we came late with our responses...
There are also many other languages that can display dates like ( PHP, VBscript, ASP, etc.) -- but since my line is in javascript, so my preferred example comes in this format.
Jump to Postthe usual thing with cut n paste scripts
<script>
as supplied should be<script type='text/javascript'>
this implementation will work<html> <head> <script type='text/javascript'> <!-- /* Live Date Script- © Dynamic Drive (www.dynamicdrive.com) For full source code, installation instructions, 100's more DHTML scripts, and Terms Of …
Jump to PostHere's a simple Javascript demo that will display time and date, based on the local time in your system.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html …
All 15 Replies
starengineer
0
Newbie Poster
essential
84
Posting Shark
Featured Poster
essential
84
Posting Shark
Featured Poster
almostbob
866
Retired: passive income ROCKS
starengineer
0
Newbie Poster
sreein1986
0
Posting Whiz
starengineer
0
Newbie Poster
essential
84
Posting Shark
Featured Poster
starengineer
0
Newbie Poster
essential
84
Posting Shark
Featured Poster
starengineer
0
Newbie Poster
almostbob
866
Retired: passive income ROCKS
starengineer
0
Newbie Poster
sreein1986
0
Posting Whiz
starengineer
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.