navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

How do I change a link based on the date?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Expression Web Help >> How do I change a link based on the date?
Page: [1]
 
4Ds

 

Posts: 3
Joined: 3/10/2008
Status: offline

 
How do I change a link based on the date? - 3/10/2008 18:05:13   
I want to show a document (ie. current-events.htm or march-events.htm or 03-events.htm) when a user clicks on "What's happening this month?". Then on the first of the next month, the file for that month appears, instead of the prior version. I need to have the files set up in advance, and the hyperlink change when today's date changes.

Today is 3/10. This month points to march-events.htm and next month points to april-events.htm.

However, on 4/1, this month needs to point to april-events and next month points to may-events.htm. And we need to have the code make this change, not by have a person change the code.
jaybee

 

Posts: 14122
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: How do I change a link based on the date? - 3/10/2008 20:31:15   
You'll need to use ASP or PHP to write the link out to the page, changing it based on Today's date.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to 4Ds)
Page:   [1]

All Forums >> Web Development >> Expression Web Help >> How do I change a link based on the date?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts