PC Review


Reply
Thread Tools Rate Thread

ebedding file name/url in page

 
 
Mark
Guest
Posts: n/a
 
      6th Nov 2003
We have a convention in which, at the bottom of each page
of the web, we list the full URL of the page. Rather than
typing the URL on each page, I'd like to use the "included
page" function to create a page that has the date and time
stamp and the URL, then just include that page in the new
page template, and let the script display the URL when the
page is called up.

Can I do that?

Thanks!

mark
 
Reply With Quote
 
 
 
 
Jim Buyens
Guest
Posts: n/a
 
      6th Nov 2003
>-----Original Message-----
>We have a convention in which, at the bottom of each
>page of the web, we list the full URL of the page.
>Rather than typing the URL on each page, I'd like to use
>the "included page" function to create a page that has
>the date and time stamp and the URL, then just include
>that page in the new page template, and let the script
>display the URL when the page is called up.


Try these two scripts.

To display the date:
<script>document.write(document.lastModified)</script>

To display the URL:
<script>document.write(document.location.href)</script>

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving Excel 2010 files as web page or single file web page Joe Artis Microsoft Excel Misc 1 26th Jan 2010 03:31 AM
Open snapshot file in default full page/fit-to-page view? =?Utf-8?B?RW1tYUthdGU=?= Microsoft Access Reports 0 20th Jul 2005 03:24 PM
system has no page file, or page file is too small =?Utf-8?B?c29sZGllcm9mZm9ydHVuZQ==?= Microsoft Windows 2000 8 13th Jan 2005 06:30 AM
Core file created when trying to insert a new page into navigation using Front Page 2000 =?Utf-8?B?UGF0?= Microsoft Frontpage 1 24th Jan 2004 06:47 PM
"your system has no page file, or page file too small, error" Microsoft Windows 2000 4 23rd Oct 2003 05:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:22 PM.