HELP!
Having problems with running jquery.tabSlideOut.v1.3.js and fancybox. They both work but no together
Fancy box works well here with the slideout DIV commented out http://www.3d-flightcases.co.uk/sk-test/index2.php
but when I add the DIV for tabslideout the fancybox 'pop up' will not work
http://www.3d-flightcases.co.uk/sk-test/index1.php
£50.00 to any one who can solve this for me :-)
The main issue is that the tabSlideOut plugin, apart from very old and not maintained any longer, doesn't offer a callback option so you have to customize them yourself in order to initialize fancybox after the tabSlideOut initialization.
Here some instructions to create a custom callback for the tabSlideOut plugin :
1). Edit your tabSlideOut js file.
Look for these lines at the beginning of the file:
and add your callback option (
fancyCallbackin my example) after the last option (onLoadSlideOut) like :2). Create the function to be returned by the
fancyCallbackoption (just added above.)Scroll to the end of your tabSlideOut js file and find these lines :
and just before the curly bracket that closes the
$.fn.tabSlideOutfunction, add the fancybox callback like :3). Add the
fancyCallbackoption to your custom tabSlideOut's initialization and set it totruelike :See JSFIDDLE, which includes the customized tabSlideOut's callback.
NOTE : I am using fancybix v2.x in this demo, but it should work seamlessly with v1.3.x using the right API options.