Welcome visitor
* Login
* Register
It is currently January 22nd, 2019, 8:58 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  open-close on hover
PostPosted: March 4th, 2009, 4:37 am 

Posts: 57
Hi, any suggestions to open a window when the cursor is over a text and then it closes when the mouse is out? Thanks, I'll appreciate it.


Top
 Profile  
 
  Re: open-close on hover
PostPosted: March 4th, 2009, 4:39 am 

Posts: 55
Something like this?
<script type="text/javascript">
function waux(){scwin=window.open('http://www.google.com','','width=300,height=200');}
function auxc(){scwin.close()}
</script>


<body>
<div onMouseOver="waux();" onMouseOut="auxc();">text</div>
</body>


Top
 Profile  
 
  Re: open-close on hover
PostPosted: March 4th, 2009, 4:39 am 

Posts: 57
Yeah perfect :D.
Thanks again.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

FORUMS » Client Side » JavaScript


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron