taylorn
11-12-2011, 11:16 AM
1) Script Title: Ajax Tabs Content Script (v 2.2)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/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.
<div id="countrydivcontainer" style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px">
<script type="javascrtipt" src="xx/xx.php"></script>
</div>
Also, if I put JS inside one of the pages/containers/tabs, it also doesn't work, and has the same outcome.
I removed the JS (below) and it works correctly (inside the div anyway, because obviously the tabs don't work)
<script type="text/javascript">
var countries=new ddajaxtabs("countrytabs", "countrydivcontainer")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()
</script>
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/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.
<div id="countrydivcontainer" style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px">
<script type="javascrtipt" src="xx/xx.php"></script>
</div>
Also, if I put JS inside one of the pages/containers/tabs, it also doesn't work, and has the same outcome.
I removed the JS (below) and it works correctly (inside the div anyway, because obviously the tabs don't work)
<script type="text/javascript">
var countries=new ddajaxtabs("countrytabs", "countrydivcontainer")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()
</script>