Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: font colours within same levels
peted
Junior Member

Posts: 3
Registered: 8/1/2003
Member Is Offline
posted on 8/1/2003 at 01:07 PM Reply With Quote
font colours within same levels


i'd like to emulate a menu using tigra gold which has a different coloured font for each menu item i.e. 'a' is blue 'b' is red and so on. can this be done without using a graphic but text.

cheers pete
View User's Profile View All Posts By User U2U Member
jimdy
Junior Member

Posts: 4
Registered: 7/31/2003
Member Is Offline
posted on 8/1/2003 at 01:32 PM Reply With Quote

It probably can be done with wrappers.(ie: add html code to your item text)
Just an idea.
View User's Profile View All Posts By User U2U Member
peted
Junior Member

Posts: 3
Registered: 8/1/2003
Member Is Offline
posted on 8/1/2003 at 02:11 PM Reply With Quote

thanks jimdy. yep that works and was pretty stoopid of me not to figure out before i posted. i now have...

['<span style="color: #999999;">Contemporary</span>', null, null,

and now want to build in an onmouseover colour change to the text....

any suggestiuons welcome

p ],
View User's Profile View All Posts By User U2U Member
jimdy
Junior Member

Posts: 4
Registered: 7/31/2003
Member Is Offline
posted on 8/1/2003 at 02:24 PM Reply With Quote

this would probably work

<span style="color: #999999" onMouseOver="this.style.color='#006600'" onMouseOut="this.style.color='#000000'">A</span>
View User's Profile View All Posts By User U2U Member
peted
Junior Member

Posts: 3
Registered: 8/1/2003
Member Is Offline
posted on 8/1/2003 at 03:33 PM Reply With Quote

hi jimdy

nope. that doesn't help.

i'm not far off though i think. my mouseover problem stems from the fact that in the file menu_tpl.js my classes for the inner tag (i.e. font size color etc) is defined as 'inner' : 'm0inner',
for all mouseover states
and just 1 style in the css file;

(whereas the outer tag (the 'box') has 3 states
'outer' : ['m0mouto', 'm0movero', 'm0mdowno']
and 3 associated styles in the css file and works fine.

so far attempts to define my inner tag in the same way as the outer have ended in failure.

eg i would have thought

'inner' : ['m0innerout', 'm0innerover', 'm0innerdown']

and corresponding css styles would work... but no.

i can't belive that i can't effect the text on a mouseover - i just need to figure out the syntax

pete
View User's Profile View All Posts By User U2U Member
clare
Newbie

Posts: 1
Registered: 8/1/2003
Member Is Offline
posted on 8/1/2003 at 10:16 PM Reply With Quote

i have mastered the three states on the inner and outer tag using the remote css stylesheet - but for these to work i need to remove the 'inner html' which set the different font colors on the items at a 'local level'.

So Peted's original problem is back again
we need help to apply different formatting to items in the 'same' level.

i like the idea of using a remote style sheet as this keeps things simple for editing later. should i try to set a 'class' for each menu item?

Rock? Any other super mod suggestions on the best way to do it?
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Product Page
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004