Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-06-2013, 03:42 PM   PM User | #1
tripwater
Regular Coder

 
Join Date: May 2005
Posts: 262
Thanks: 4
Thanked 0 Times in 0 Posts
tripwater is an unknown quantity at this point
JQuery slide panel want mouseover not click

Hello,

I have implemented this http://www.jqeasy.com/jquery-slide-panel-plugin/. Very simple drawer for an extended menu system. It works 100% with clicking the icon. I would like for it to work on hover instead.

I am slowly learning how to incorporate jQuery tools into my workflow so I am not a well entirely sure how to take this plugin and tell it that instead of clicking the icon I have, I want it to open the drawer on mouseover/hover and close when the cursor goes outside the drawer area. Is this possible or does the plugin itself have to support this?


I tried this

Code:
$(document).ready(function(){
$("#trigger").hover(function(){                                                                                                
$('#panel').slidePanel();                                                                                  
});                                                                                                              
});
With trigger being the icon and panel being the panel that opens. Pretty much the same ids they use in their examples...this obviously does not work and causes my icon to disappear. I have tried a few other variations that are also wrong. I really have no idea what I am doing.


I am using the most basic example they have so if you have ideas or examples of what would work or a work around it would very helpful and much appreciated.

Thank you for your time.
tripwater is offline   Reply With Quote
Old 02-06-2013, 05:57 PM   PM User | #2
tripwater
Regular Coder

 
Join Date: May 2005
Posts: 262
Thanks: 4
Thanked 0 Times in 0 Posts
tripwater is an unknown quantity at this point
ok I decided not to use this plugin. I went back and redesigned my code to use the animate processes and simplified everything. Thanks.
tripwater is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:17 PM.


Advertisement
Log in to turn off these ads.