Tabbed Content / Posts /

tabbed menu content with lightbox fancybox

-1
I have used tabbed menu content script in my webpage. but after using this script with lightbox script on the same page, both scripts are clashing  and lightbox script is not working.
Mahantesh  10 years ago   viewed: 8034    

1 Answer

-1
When the lightbox is in a hidden tab panel, on page load the lightbox has no size dimension due to the {display:none;} panel and cannot be initiated properly. That is why the lightbox is not working properly. If the lightbox has a functionality that will re-initiate itself when finding it begin to have a dimension, that will solve the issue. Otherwise, you cannot use the lightbox within a hidden panel. 

The advanced version, jQuery Tabs, has an event handler: onTabSelected. Maybe you can use the event handler to reload the lightbox. For example, some of our Ninja Slider users are including this call, nslider.init(), to initiate the Ninja Slider if it is inside the jQuery Tabs.
Milo   10 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: