Move Mouse Over And Update Window Status Message

[Total: 0    Average: 0/5]

This files shows how to update the status upon a mouse over function.

Body Code:

<br><a href="javascript:void()" title="This one works." onMouseOver="window.status='I return TRUE';return true">This Link's MouseOver returns TRUE</a>
<br><a href="javascript:void()" title="This one does not work." onMouseOver="window.status='I return FALSE';return false">This Link's MouseOver returns FALSE</a>
<br><a href="javascript:void()" title="This one does not work." onMouseOver="window.status='I have no RETURN'">This Link's MouseOver does not have a return statement</A>
This is an example link in HTML format to accomplish link #1:<BR>
<small>Note: The spaces after the "<" should not be there in the HTML file.</small><BR>
<script type=text/javascript>
document.write('var txt="I return TRUE"<BR>')
document.write('< a href="javascript:void()" ')
document.write('<BR>   title="This one works." ')
document.write('<BR>   onMouseOver="status=txt;return true">')
document.write('<BR>   This Link's MouseOver returns TRUE')
document.write('<BR>< /a>')
</script>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *