-
AuthorPosts
-
August 7, 2009 at 1:04 pm #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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 11, 2009 at 3:39 am #313800Hello 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],
1 user says Thank You to Saguaros for this useful post
October 24, 2011 at 2:50 pm #421224Dear 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>
-
AuthorPosts
This topic contains 3 replies, has 3 voices, and was last updated by jedileong 13 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum