Topic awaiting preservation: usage of onmouseoverevent (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted From: |
posted 07-15-2005 08:53
i Need some help in Java Script, |
Paranoid (IV) Inmate From: France |
posted 07-15-2005 10:19
Hello and welcome in the Asylum, code: <a href="environment.htm" onmouseover="poptastic('environment.htm');" onmouseout="newwindow.close();">World Environment Day, June 5<sup>th</sup>,2005</a> However I hope you realize how annoying such behavior can be. And in fact it can drive away many users ... at least it would for me. Are you sure you can't replace that popup window by a simple show/hide DIV that would behave sort of like a tooltip ? And for that, depending on the layout, you could even get rid of the JavaScript. code: a#environment div { display:none; } a#environment:hover div { display:inline; } and the markup : code: <a href="environment.htm" id="environment">World Environment Day, June 5<sup>th</sup>,2005 <div>a summary/abstract of the content of you environment.htm page</div> </a> [edit] Doh!!!! I just checked in IE6 and the CSS way doesn't work. What a crap! That's unbelievable. Well it's easy to get it working but that's insane. [/edit] |
Paranoid (IV) Inmate From: London |
posted 07-15-2005 11:23
maddness! Nice brain storm there though poi, I like it |
Paranoid (IV) Inmate From: France |
posted 07-15-2005 11:31 |