1) Script Title: Ajax Tabs Content Script (v 2.2)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tent/index.htm
3) Describe problem:
Hi i am trying to use ajaxtabs and SexyLightBox2 on the same page.
SexyLightBox initalises in the head like this:
when i load a new content using AjaxTabs the SexyLightBox links in the new content wont work, while SLB links on the rest of the page works fine (i would expect that).Code:<script type="text/javascript"> window.addEvent('domready', function(){ new SexyLightBox(); new SexyLightBox({find:'sexywhite',color:'white', OverlayStyles:{'background-color':'#000'}}); }); </script>
So how can i re-initalise the above code when using AjaxTabs to load new content into a DIV?(i guess this would be a problem for any script that get initalised in the head)
thank you very much for any assistance.
NB. i realise that this is a multiple script question, but i think it is a basic javascript question as well, and i am new to this and just looking for some assistance.



Reply With Quote
Bookmarks