Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • jrosenbomb Friend
    #143303

    Is there a way to set the tab menu items as an image instead of text? or at least is it possible to set specific id or class tags to each item so you can do it with styles?

    Saguaros Moderator
    #313800

    Hello jrosenbomb!

    To do something as you said, you must to custom plugin JA News Tabs,
    It’s very easy if you have knowleage of PHP Language and Joomla System.

    I had posted a thread : http://www.joomlart.com/forums/topic/ja-tabs-menue-mouse-over-id/, you can see some code sections which generate text for each menu tab.

    You will replace code php( at line: 143, 173, 209 in /pluginscontentja_tabsja_tabs.php file) by a certain image or another

    Example :
    – at line 143:
    [PHP]$lis .= “<li title=””.$list[$j]->module.””><h3><span>”.$list[$j]->title.”</span></h3></li>”; [/PHP]
    with image ==> [PHP]$lis .= “<li title=””.$list[$j]->module.””><h3><span><img src=”…………….”></span></h3></li>”; [/PHP]

    Or using DIV ==> [PHP]$lis .= “<li title=””.$list[$j]->module.””><h3><span><div class=”ja-image-tab”></div></span></h3></li>”;[/PHP],

    jedileong Friend
    #421224

    Dear tienhc,

    i’m using Ja Travel in Joomla 1.5, but i can’t find the “pluginscontentja_tabsja_tabs.php”,
    do you mind to guide how could i replace all JA-tabs with individual images?

    <em>@tienhc 140136 wrote:</em><blockquote>Hello jrosenbomb!

    To do something as you said, you must to custom plugin JA News Tabs,
    It’s very easy if you have knowleage of PHP Language and Joomla System.

    I had posted a thread : http://www.joomlart.com/forums/topic/ja-tabs-menue-mouse-over-id/, you can see some code sections which generate text for each menu tab.

    You will replace code php( at line: 143, 173, 209 in /pluginscontentja_tabsja_tabs.php file) by a certain image or another

    Example :
    – at line 143:
    [PHP]$lis .= “<li title=””.$list[$j]->module.””><h3><span>”.$list[$j]->title.”</span></h3></li>”; [/PHP]
    with image ==> [PHP]$lis .= “<li title=””.$list[$j]->module.””><h3><span><img src=”…………….”></span></h3></li>”; [/PHP]

    Or using DIV ==> [PHP]$lis .= “<li title=””.$list[$j]->module.””><h3><span><div class=”ja-image-tab”></div></span></h3></li>”;[/PHP],</blockquote>

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

This topic contains 3 replies, has 3 voices, and was last updated by  jedileong 13 years ago.

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