-
Conditional formatting in js
Hi
Working on an html doc.
I have some "key words" in my menu that are anchors with targets that jump to the position of the key words in my document. When this happens I want to be able to dynamically change the color/background-color of the target (span with id). I understand I'll need to use javascript (onclick command?) as css cannot dynamically interrogate and apply style to the target.
Any help would be greatly appreciated!
Thanks
John
-
-
I modified this script a while back, and it fades when used in Internet Explorer.
www.afpsupport.r8.org/FadingLinks.htm
cr3ative
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks