Top.Mail.Ru
? ?
Javascript's Journal
 
[Most Recent Entries] [Calendar View] [Friends View]

Friday, January 9th, 2004

Time Event
9:21a
a novice question
I have a novice question. I'm looking for a counter-type javascript that will:
1. go into an a href tag
2. refresh the current page
3. add 1 to a value "n"

For example, you're on a page. The page says "1." You click the link, the page refreshes, the "1" is now "2." You click the link, refresh, "2" is now "3." etc.

I want to use this as a hack in an embedded LJ style so clicking the the "go earlier / later" navigation links doesn't take the user back to livejournal.com; I'm trying to change the "skip" value on refresh. Any help would be much appreciated. Thanks.

<< Previous Day 2004/01/09
[Calendar]
Next Day >>
About LiveJournal.com
Image