Visited Link !HELP O_o
- Started
- Last post
- 13 Responses
- Louno
How do you make it so that,
once the user refresh a page , all the links he clicked before are back to normal ?
- lnu0
Does it have to show BEFORE he refreshes what links he visited? Otherwise, just use the same style for visited links as non-visited.
- Louno0
no i need to use a visited style .
it uses "line-through" decoration on text , but if the user comes back , all the links appears visited , i want the links to show up as non-visited , perhaps everytime the page is refreshed ... is there a way ?
- Louno0
check it out , my problem is there :
http://mini.louno.com/index7.htm… or http://mini.louno.com/index7old.…see once u clicked the link , how do you make it so that it goes back to normal without going visited .. soo it fades back to white again ...
- Louno0
Please someone must know the answer for this !
- Louno0
still looking for help :/
- monokrom0
The most straightforward way to do it would be to define the styles for visited links so that they're identical to nonvisited links (i.e. no strike through) and use JavaScript to manipulate the style of links during a given visit to make them stricken-through once they've been clicked.
Personally, however, I would advise that you not do this.
- ********0
- Louno0
uh i tried ure link and onload="history.forward()"> doesnt work .... ?
- Louno0
so there is absolutely NO WAY , to make it so that each time you refresh a page , all the visited links become non-visited ... wtf this is gay , i mean u can do TONS of useless tricks with html javascript css whatever i mean real junk , and this usefull think they couldnt have though of ? :(
there must be a way , monokrom it seems pretty complicated the thing u said ... err...
- fray0
There is a way to do it, though I don't know it exactly off hand... you were close with the history.forward thing but you'll needto change the history property to 0 (ignore the forward since you're not going back in the first place, only refreshing, right?)
- Louno0
how do u reset it to 0 ?
- ********0
- Louno0
well thats not exactly it ...
See this is good only if i want for example , a user to not have the possibility to press foward or back in its browser right ?What i really want , is that , each time you go on my page say main.html , well even if you went there yesterday or a few hours before , all the links on the page wouldnt be flagged as Visited links , so i dont think it has anything to do with history , because its only a matter of " did you click this link or not , if yes then it show up as visited , but if you reload the page , it WONT show up as visited again unless you click it again ... "
any suggestions ?