what is wrong with the code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
luvrockz
Forum Newbie
Posts: 1
Joined: Sat Dec 18, 2010 7:19 am

what is wrong with the code

Post by luvrockz »

the code loads correctly on the first apDiv but nothin is showing on the secound one...here is the code that i have.

Code: Select all

<body onload="MM_showHideLayers('apDiv1','','hide','apDiv2','','hide')">
<p><a href="#" onclick="MM_showHideLayers('apDiv1','','show','apDiv2','','hide')">1</a></p>
<p><a href="#" onclick="MM_showHideLayers('apDiv1','','hide','apDiv2','','show')">2</a></p>
<p>&nbsp;</p>
<div id="apDiv1">

<?php include('ano/widget-comments.php'); ?>

</div>
<div id="apDiv2">

<?php include('ano/widget-comments.php'); ?>

</div>
</body>
Post Reply