I have menu in my page and an iframe that changes when the links in the menu are clicked. What I want to do is change the color of the link of the current page that is shown in the iframe. I guess it's just the same as change the color of the link once it is clicked. Is there any way for me to do this using Javacript?
I would really appreciate any kind of help. Thanks!
12-20-2004, 09:22 AM
Check the source of the iframe and loop thru the parent document.anchors collection to match it with the one that has the same href value and change the class...
12-20-2004, 09:37 AM
Willy's suggestion is right on the money -- that would be the best way to go about it.
The easiest way to go about it would be like so: