Can I highlight a button to indicate which page is opened

Post your questions and problem reports here.
Post Reply
lrfowler
Posts: 2
Joined: Thu May 28, 2009 4:48 pm

Can I highlight a button to indicate which page is opened

Post by lrfowler »

IS EBMM capable of having the button be a different color to indicate which page is opened?

thanks very much!
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Can I highlight a button to indicate which page is opened

Post by Karlis »

Currently this is possible in two ways:
1) By creating separate menu for each page with separate buttons selected / highlighted
2) By manually adjusting the menu code to replace one of the button images with a different one
Karlis Blumentals
Blumentals Software
www.blumentals.net
lrfowler
Posts: 2
Joined: Thu May 28, 2009 4:48 pm

Re: Can I highlight a button to indicate which page is opened

Post by lrfowler »

right..right right...I've been trying to learn CSS....and to do it with CSS is kinda different...not quite sure how...

thanks
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Can I highlight a button to indicate which page is opened

Post by Karlis »

Sometimes there is nothing wrong with adjusting your HTML code rather than spending days to figure out how to do this via CSS-only. :)
Karlis Blumentals
Blumentals Software
www.blumentals.net
vloppy
Posts: 1
Joined: Thu Aug 06, 2009 8:07 am

Re: Can I highlight a button to indicate which page is opened

Post by vloppy »

Sorry, but are you able to explain it step by step, your answer may not to be used for beginners. Why is it not possible to creat a higlighted button during programming buttons with the software - I think this is a bad mistake in your programming and this bug must be fixed in future.
With kind regards - Vloppy (Germany)
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Can I highlight a button to indicate which page is opened

Post by Karlis »

Because it is not possible for menu to know in which page it is curently located, so it can not automatically preselect a button.

You can do this by editing the code of menu:
1) Locate the Image tag for which you want to change the button design.

e.g. for the first button it would be
<img id="cbi_cbindex_1" src="index_files/ebbtcbindex1_0.gif" name="ebbcbindex_1" width="70" height="33" style="vertical-align: bottom;" ....

2) Replace the current image filename with the one that represents "down", "up" or "over" state according to your preference.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply