Probably a simple question

I

Ivo

http://www.teatime.pwp.blueyonder.co.uk/music3.htm

The 'more information' parts are shown as visited links for some reason
(grey), when the code says 'onmouseout = orange'. Once the mouse has passed
over them they go to their correct colour - orange (yellow when mouse is
over). can anyone help
TIA

This is from your source:
<a class="sub" href="#" onclick="toggle('item5');return false;">
<span
onmouseout="this.style.color = '#FF9900';"
onmouseover="this.style.color = '#FFFF00';"
More Information</span></a>

When the page is first loaded and no mouse has yet moved over or out
anywhere, the text is rendered as any link to # would: to the current page,
hence visited. Also, it doesn't look you need that span element at all. You
can set the event handlers directly on the a element.
HTH
Ivo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top