<head>
$(document).ready(function() {
$("#tabs").tabs();
});<body>
<div class="board">
<div id="tabs">
<?php
echo "welcome ".$_SESSION["loginuser"];
?>
<ul>
<li><a href="home.php">Home</a></li>
<li><a href="project.php">Project</a></li>
<li><a href="calendar.php">Calendar</a></li>
<li><a href="hours.php">Hours</a></li>
<li><a href="admin.php">Admin</a></li>
</ul>
</div>
</div>
</body>
the script to call the accordion ui on each page :
$(function() {
$("#accordion").accordion({
collapsible: true,
autoHeight: false,
active: false
});
});
the accordion only works on the first tab (home.php)
it doesn't work anymore on the other tabs if I click the other tabs..
the accordion content is not toggle anymore....
if you know how to solve this problem, please help me.............
thanks before hand