Thank you.  I will have to keep searching, It may have been a VB script.
I'll keep looking unless someone else has a better idea.  I wish I could
remember where I saw it. Kim

Kim Buttery
1096 Gayles Road
Urbanna, VA 23175
804.758.0707
[EMAIL PROTECTED]
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Stanton
Sent: Sunday, March 14, 2004 6:29 PM
To: [EMAIL PROTECTED]
Subject: RE: [WSG] loading links when loading a page.

You might be able to do this with Javascript, but CSS & HTML know nothing
about events such as onload. By default most browsers render the links in
the CSS visited state until you clear your browser history.

Unfortunately I don't think Javascript has a concept of "visited" in the way
CSS does, so getting the affect you are after would not be easy. I think you
could probably get the effect you are after by searching through the History
object & then running through all the links in your page and styling them
depending on whether they are in the history or not. I honestly think this
would be way more work than its worth, both for you as the developer and for
the browser on each page load.


Cheers

Mark


------------------
Mark Stanton
Technical Director
Gruden Pty Ltd
Tel: 9956 6388
Mob: 0410 458 201
Fax: 9956 8433
http://www.gruden.com  

*****************************************************
The discussion list for http://webstandardsgroup.org/
***************************************************** 



*****************************************************
The discussion list for http://webstandardsgroup.org/
***************************************************** 

Reply via email to