Page 1 of 1

Can I highlight a button to indicate which page is opened

PostPosted: Thu May 28, 2009 4:52 pm
by lrfowler
IS EBMM capable of having the button be a different color to indicate which page is opened?

thanks very much!

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

PostPosted: Thu May 28, 2009 11:38 pm
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

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

PostPosted: Fri May 29, 2009 12:46 am
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

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

PostPosted: Wed Jun 03, 2009 10:37 pm
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. :)

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

PostPosted: Thu Aug 06, 2009 8:17 am
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)

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

PostPosted: Sat Aug 08, 2009 12:18 am
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.