![]() |
jQuery Drop Down Panel question
I'm very new to jQuery, just learning through playing with it, so please assume I'm a complete noob.
I am interested in implementing the Drop Down Panel script: http://www.javascriptkit.com/script/...ownpanel.shtml but I want to trigger the panel to drop down via a link embedded on the page rather than via the tab (in fact, I plan to eliminate the tab altogether - but I worked that out on my own). Can someone point me in the direction of where/how I can learn how to do the call via a link? Not being lazy - I did spend about 6 hours yesterday trying to figure it out but no luck :) |
Sure, you can directly call the code:
Code:
jkpanel.$mainpanel.click()Code:
<a href="#" onClick="jkpanel.$mainpanel.click(); return false">Open/ Close panel</a> |
Thankyou!
Perfect, thanks George, just what I needed. I got close to that, but not quite :)
Baby steps... |
Dear Admin
I m trying to figure out the dropdown panel but i like to use two tabs in the panelcontent.htm. The issue is, if i clicked any place the panel become close. May i know is there any solution for this. Please help me out. Thanks Kavi |
| All times are GMT +1. The time now is 02:46 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.