Sábado, 23 Agosto 2014 19:18
beggarly

Using Images instead of text for tabs

Displays your chosen modules in highly customizable tabs

Using Images instead of text for tabs

Postby lelias2k » Tue Apr 07, 2009 12:55 am

Is there a way to display an image instead of just the module Title on the tabs?

Preferably, I'd also would like to be able to apply roll over effects on it, as well as having the active tab image being highlighted.

Do you think that's possible?

Thanks in advance
lelias2k
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Tue Apr 07, 2009 12:52 am

Re: Using Images instead of text for tabs

Postby hajopaj » Sun Jun 07, 2009 9:36 am

I´m looking for this issue too.
How to get images in the tab title?
hajopaj
Fresh Boarder
Fresh Boarder
 
Posts: 3
Joined: Sun Jun 07, 2009 9:32 am

Re: Using Images instead of text for tabs

Postby perspective » Fri Jun 19, 2009 12:50 pm

I think this is possible, I'm going to be working on it today. If I'm successful I'll post it here.
perspective
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Fri Jun 19, 2009 12:44 pm

Re: Using Images instead of text for tabs

Postby perspective » Wed Jun 24, 2009 1:45 am

I did it, please let me know if any of you would like this still. it's a decently sized explanation.
perspective
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Fri Jun 19, 2009 12:44 pm

Re: Using Images instead of text for tabs

Postby hajopaj » Wed Jun 24, 2009 7:44 am

Yes!!!! Please!!

Thank you very much for your effort and sharing with us your results.

best regards
hajopaj
hajopaj
Fresh Boarder
Fresh Boarder
 
Posts: 3
Joined: Sun Jun 07, 2009 9:32 am

Re: Using Images instead of text for tabs

Postby perspective » Wed Jun 24, 2009 12:46 pm

I will never tell any of you HAHAHAHAHAHAAHAHA... Just kidding, I'll post it up later today.
perspective
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Fri Jun 19, 2009 12:44 pm

Re: Using Images instead of text for tabs

Postby kapearl » Sun Aug 30, 2009 9:03 pm

I would love to see the instructions for this!
kapearl
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Tue Aug 25, 2009 5:37 pm

Re: Using Images instead of text for tabs

Postby tom123 » Mon Sep 21, 2009 3:45 pm

I have just today downloaded and installed dinamods, and i am still looking for how to use this feature. it is completely un-documented and there is no configuration requesting a url or path to a background image. :?
How is this used?
best regards,
Tom123
tom123
Fresh Boarder
Fresh Boarder
 
Posts: 3
Joined: Thu Aug 20, 2009 7:44 pm

Re: Using Images instead of text for tabs

Postby share » Tue Sep 22, 2009 8:47 am

There is no option for this through configuration, but actually, it's easy to be done by editing styles in helper.php file.

I did it for the active(selected) tab, which serves my need, but it should be done similarly for other tab states.

I just added into

. "#dm_tabs_".$dinamods_id." ul.dm_menu_".$dinamods_id." li.dm_menu_item_".$dinamods_id." a.dm_selected

a call to image:
. "background: url([path to images]/tab_bg.png) repeat-x left top;"
share
Fresh Boarder
Fresh Boarder
 
Posts: 3
Joined: Sat Sep 19, 2009 4:56 pm


Return to Dinamods



Who is online

Users browsing this forum: No registered users and 3 guests

cron