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:
I have found that I cannot use any javascript inside the DIV that the Ajax Tabs script uses.
For example:
If I were to place a JS script that pulls some info from our WHMCS system into the DIV (below) it wouldn't appear, however it appears in the HTML source code.
Also, if I put JS inside one of the pages/containers/tabs, it also doesn't work, and has the same outcome.Code:<div id="countrydivcontainer" style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px"> <script type="javascrtipt" src="xx/xx.php"></script> </div>
I removed the JS (below) and it works correctly (inside the div anyway, because obviously the tabs don't work)
Code:<script type="text/javascript"> var countries=new ddajaxtabs("countrytabs", "countrydivcontainer") countries.setpersist(true) countries.setselectedClassTarget("link") //"link" or "linkparent" countries.init() </script>



Reply With Quote

Bookmarks