Vasectomy Reversal - Debt Consolidation - Web Hosting - Gym Lockers - Wordpress Themes

PDA

View Full Version : onMouseOut issue


deluxmilkman
Oct 5th 2007, 6:52 am
onMouseOver works, but onMouseOut doesn't.
What am I missing?



<a href="html.html" onMouseOver="parent.status='LOAD HTML VERSION';return true" onMouseOut="parent.status=' ';retuen true" target="bottom">HTML_VERSION</a>


Thanks

phd
Oct 5th 2007, 8:45 am
it is typo mistake
it should be,


<a href="html.html" onmouseover="parent.status='LOAD HTML VERSION';return true;" onmouseout="parent.status=' ';return true;" target="bottom">HTML_VERSION</a>

-Better to use small letters for tags

KatieK
Oct 5th 2007, 9:49 am
it is typo mistake
it should be,

<a href="html.html" onmouseover="parent.status='LOAD HTML VERSION';return true;" onmouseout="parent.status=' ';return true;" target="bottom">HTML_VERSION</a>

-Better to use small letters for tags

I think PHD's quite right. I just wanted to point out that XHTML doctypes require only lower case in element attributes - hence the "onMouseOver" becomes "onmouseover".

Also, note that "return" is spelled correctly in PHD's onmouseout attribute.