Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 How to dynamically change text color
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rmmarsh
Super User

USA
396 Posts

Posted - 15 Nov 2007 :  23:07:21  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
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?

T00N
Super User

573 Posts

Posted - 15 Nov 2007 :  23:23:16  Show Profile  Visit T00N's Homepage  Reply with Quote
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!
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 15 Nov 2007 :  23:33:01  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Unbelievable! I completely spaced out on that one...
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 15 Nov 2007 :  23:36:26  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
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...
Go to Top of Page

T00N
Super User

573 Posts

Posted - 16 Nov 2007 :  06:59:03  Show Profile  Visit T00N's Homepage  Reply with Quote
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

Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 16 Nov 2007 :  18:48:32  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
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)
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 26 Mar 2008 :  00:34:40  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
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?
Go to Top of Page

joneq
Super User

433 Posts

Posted - 26 Mar 2008 :  02:11:02  Show Profile  Visit joneq's Homepage  Reply with Quote
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
Go to Top of Page

T00N
Super User

573 Posts

Posted - 26 Mar 2008 :  07:03:19  Show Profile  Visit T00N's Homepage  Reply with Quote
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?
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 11 Apr 2008 :  00:05:09  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
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?
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 11 Apr 2008 :  09:10:38  Show Profile  Visit s.dav's Homepage  Reply with Quote
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 ;-)

Regards, Davide
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 11 Apr 2008 :  09:13:24  Show Profile  Visit s.dav's Homepage  Reply with Quote
Ok found the topic ;-)

http://www.hexagora.com/forum/topic.asp?TOPIC_ID=1306

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000