Are you generating the entire HTML markup of the script dynamically using PHP, or just the individual contents within each tab (with the rest already manually defined on the page)? If the former, it really depends on how CuteNews allows you to output its contents and using what template syntax. If the later, since each content DIV simply shows arbitrary HTML within it, you'd replace that HTML with the appropriate PHP code instead, such as:
Code:
<div style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px">
<div id="country1" class="tabcontent">
<? echo $content1;?>
</div>
<div id="country2" class="tabcontent">
<? echo $content2;?>
</div>
<div id="country3" class="tabcontent">
<? echo $content3;?>
</div>
</div>
Bookmarks