Hello Friends..
I have another Issue...
shall we use Nested tabs using JPane..?
I used nested Tabs in joomla1.0 by adding following additional methods in joomla.php mosTabs class
Code: Select all
function startNestedPane($id){
echo "<div class=\"tab-page\" id=\"".$id."\">";
echo "<script type=\"text/javascript\">\n";
echo " var tabPaneX = new WebFXTabPane( document.getElementById( \"".$id."\" ), ".$this->useCookies." )\n";
echo "</script>\n";
}
function startNestedTab( $tabText, $paneid ) {
echo "<div class=\"tab-page\" id=\"".$paneid."\">";
echo "<h2 class=\"tab\">".$tabText."</h2>";
echo "<script type=\"text/javascript\">\n";
echo " tabPaneX.addTabPage( document.getElementById( \"".$paneid."\" ) );";
echo "</script>";
}
and follw the same instructions to joomla1.5.8 . I know its a foolish think, but i tried and get Error..
i wrote following methods to joomla1.5 pane.php
Code: Select all
function startNestedPane( $id )
{
return '<dl class="tabs" id="'.$id.'">';
}
Code: Select all
function startNestedPanel( $text, $id )
{
return '<dt id="'.$id.'"><span>'.$text.'</span></dt><dd>';
}
The Problem is in joomla1.0 the javascript itself written in the StartNestedTab Method but in joomla1.5 its called by mootols.
Please give me a solution...
Thanks in advance...