HighDots Forums  

Using Dreamweaver templates and .asp

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Using Dreamweaver templates and .asp in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ses/coda
 
Posts: n/a

Default Using Dreamweaver templates and .asp - 11-08-2005 , 09:37 AM






There are a couple of things I need to automate on a template page on my web
site. I need to the day of the week, the date, and the last updated date to
automatically update on my site. It would be on a template page that would
affect all other pages within the site. I tried using a simple asp script for
the date but it kept showing up with javascript error. Surely this can be done
with dreamweaver. Does anyone have any advice for me?


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Using Dreamweaver templates and .asp - 11-08-2005 , 09:53 AM






An asp script produces a javascript error? Can you link me to the page?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"ses/coda" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
There are a couple of things I need to automate on a template page on my
web
site. I need to the day of the week, the date, and the last updated date
to
automatically update on my site. It would be on a template page that
would
affect all other pages within the site. I tried using a simple asp script
for
the date but it kept showing up with javascript error. Surely this can be
done
with dreamweaver. Does anyone have any advice for me?




Reply With Quote
  #3  
Old   
ww1319
 
Posts: n/a

Default Re: Using Dreamweaver templates and .asp - 11-08-2005 , 09:56 AM



I just did the same thing on a site I am working on, try using this javascript:

<script language="JavaScript">
<!-- Hide Page last updated JavaScript...
var LastUpdated = document.lastModified;
document.writeln ("Updated: " + LastUpdated);
// End Hiding -->
</script>


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.