the mouse will hover on block html:
the show block content html:Code:<div class="toplinks">...</div>
my jquery code:Code:<div id="pop-login" style:"display:none;">...some content and a form</div>
the css:Code:$('.toplinks').hover(function(){ $('#pop-login').toggle(); $('#pop-login').toggleClass("hpposition"); });
now, there comes a problem, when the mouse move out the toplinksdiv. i can't fill something to the showing form. when the mouse moves out the toplinks div. the form disappear immediately. how to make that the use can fill some content to the form?Code:.hpposition{ position: absolute; top: 30px; left:500px; z-index: 10000; }
http://miranda.gomoxy.net/test.jpg
although i have set thebut there are some content still above the showing form layer.HTML Code:.hpposition z-index: 10000;.



Reply With Quote

Bookmarks