Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 How to dynamically change text color

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
rmmarsh Posted - 15 Nov 2007 : 23:07:21
I have a filled graphics rectangles with text on them, which I'm using for my navigation buttons.

I want to be able to change the color of the text (currently black) to white when I'm on a particular page. How do I do that? and how would I change the background color of the a rectangle when on a particular page?
11   L A T E S T    R E P L I E S    (Newest First)
s.dav Posted - 11 Apr 2008 : 09:13:24
Ok found the topic ;-)

http://www.hexagora.com/forum/topic.asp?TOPIC_ID=1306
s.dav Posted - 11 Apr 2008 : 09:10:38
Sorry, I'm sure to had replied to the same question very few time ago on another topic.
A master-page cannot be modified because it contains every object found on the "client" or "sub" page.

The only method to resolve this issue is:
1- create a master-page without the menu
2- create the menu on another page and save the page
3- add a reference to the master-page on every page you need
4- include the menu as a ".dhe file" in the pages where you need it
5- now you can place an image over the menu ;-)
rmmarsh Posted - 11 Apr 2008 : 00:05:09
Davide: can you shed any light on this issue? Since I can't change anything on a MasterPage, is there some way to accomplish this?
T00N Posted - 26 Mar 2008 : 07:03:19
quote:
Originally posted by rmmarsh

OK... having problems with this again... I have changed the layout of my site to utilize the "masterpages" available with this release (4.x)... as such, I find that I can no longer modify the menu buttons (as done above) when they are part of the "masterpage". Is there anyway I can get around this?



That makes it more difficult.
I don't now how the build up of your pages is, but maybe it's possible to not put the menu on the masterpage (although that would be the obvious thing to do) but on the content pages?
joneq Posted - 26 Mar 2008 : 02:11:02
I think that these tips are very helpful...I really think it would be beneficial if they were all located in one place regardless of ---like a how to or tips section where the question and the ultimate answer, without the whole thread, is shown.I know about the tutorial section and it could be added there, but I think it's own section would be better

Not only would it save people a lot of time/trouble it would educate people on what dhe can do....the not so obvious stuff I mean...

Imo people would be more apt to try something tricky/unusual if they already kenw it could probably be done,and have some idea of how to do it..

Just a thought




It may give people some design ideas too.

If someone discovers something useful it could just be added even if there was no support needed
rmmarsh Posted - 26 Mar 2008 : 00:34:40
OK... having problems with this again... I have changed the layout of my site to utilize the "masterpages" available with this release (4.x)... as such, I find that I can no longer modify the menu buttons (as done above) when they are part of the "masterpage". Is there anyway I can get around this?
rmmarsh Posted - 16 Nov 2007 : 18:48:32
Damn, Toon... how long does it take for someone to learn these things? That was exactly what I needed... thank you so much!

R (Rolf)
T00N Posted - 16 Nov 2007 : 06:59:03
Ah, then it is a bit harder.

Create your new page, CONTACTS

Insert your master page with the -say- black buttons in the CONTACTS page

You won't be able to change these colours.

Now go back to your master page and copy (ctrl-c)only the CONTACTS buuton.

Now on CONTACTS page insert the copied button with ctr-p (that right, ctrl-p instead of ctrl-v)and there it is, right on the right place.

Now you can change the colour.

HTH

rmmarsh Posted - 15 Nov 2007 : 23:36:26
Oops! I forgot to mention that the buttons are on a "master page" which means I have included them in my other pages. So, that means I need to be able to get to each button in the master page individually... (make sense?) See www.spokanetribalcollege.org for a better description...
rmmarsh Posted - 15 Nov 2007 : 23:33:01
Unbelievable! I completely spaced out on that one...
T00N Posted - 15 Nov 2007 : 23:23:16
You give the answer yourself.

You have a menu with buttons with -let's say- black text.

Copy the menu to the page and change the text in button that links to that page to white.

Save the page et voila!

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000