Current location: Hot Scripts Forums » General Web Coding » JavaScript » onMouseOver / Out problem


onMouseOver / Out problem

Reply
  #1 (permalink)  
Old 08-05-08, 02:20 AM
jonnekke jonnekke is offline
Code Guru
 
Join Date: Oct 2005
Location: holland!
Posts: 706
Thanks: 0
Thanked 0 Times in 0 Posts
onMouseOver / Out problem

Hi there..

I got this div in my website wich slides down onmouseover... it works great! but when I change
"- cats" to "<a href="">-cats</a>" and mouseover this hyperlink my function slidup is called and the
div dissapears... it loose the "focus" on the div and then it should slide up... how to prevent this?..

_j

HTML Code:
<div id=\"zoek\" style=\"display:none; overflow:hidden; height:125px; width:164px; background-color: #ffffff; position: absolute; z-index: 97; background-image:url(images/submenubg.jpg); background-repeat:repeat-x; background-position: bottom;\">   
<table border=\"0px\" cellpadding=\"0px\" cellspacing=\"0px\">                            
<tr>
<td align=\"right\" onmouseover=\"javascript:slidedown('zoek');\" onmouseout=\"javascript:slideup('zoek');\" valign=\"top\">
<table border=\"0px\" cellpadding=\"0px\" cellspacing=\"0px\">                                    	
<tr>
<td width=\"5px\"></td>
<td style=\"width:154px; height:125px;\" align=\"left\" class=\"grijs\" valign=\"top\">
&nbsp;<br />- cats<br />- advanced</td> 
<td width=\"5px\"></td>           						
</tr>            					           					                                        
</table>                                                                  
</td>
</tr>                           
</table>
</div>
Reply With Quote
  #2 (permalink)  
Old 08-05-08, 08:31 AM
Wolf1994 Wolf1994 is offline
Wannabe Coder
 
Join Date: Sep 2005
Location: Russia
Posts: 117
Thanks: 0
Thanked 0 Times in 0 Posts
Make a separate active area in slidebox where function onmouseover will work or make a button for this, then you will be able to put in the slided area any hyperlinks.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
login, roles problem dbrook007 ASP.NET 10 11-10-06 03:42 PM
Form Display Problem neevrap02 Visual Basic 1 09-05-06 05:18 AM
onMouseOver on IE problem fung9381 JavaScript 0 08-17-05 01:57 PM
Count problem kasic ASP.NET 1 10-20-04 12:23 AM
Asp and Microsoft Access 2002 problem gop373 ASP 2 10-06-04 09:13 AM


All times are GMT -5. The time now is 11:40 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.