Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • amilar Friend
    #178825

    Hi guys, Im using JA Tabs in a site. I would like to know if it is possible to open a tab using a javascript when a hyperlink is clicked on the same page ? If possible, please show me some code. thanks

    Ninja Lead Moderator
    #460214

    JA Tabs plugin could not support on this case, but you can customize on it.

    Open /plugins/system/jatabs/jatabs.php file

    On parseTabModules($params) function

    From

    $lis .= "<li title="" . strip_tags($list[$j]->title) . """ . ($clssfx ? " class="ja-tab-title$clssfx"" : "") . "><h3><span>" . JText::_($list[$j]->title) . "</span></h3></li>";

    Change to

    $lis .= "<li title="" . strip_tags($list[$j]->title) . """ . ($clssfx ? " class="ja-tab-title$clssfx"" : "") . "><h3><a href='#'><span>" . JText::_($list[$j]->title) . "</span></a></h3></li>";

    And continue with parseTabModule, parseTabArticle function

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 12 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum