Can I highlight a button to indicate which page is opened

Post your questions and problem reports here.

Can I highlight a button to indicate which page is opened

Postby lrfowler » Thu May 28, 2009 4:52 pm

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

thanks very much!
lrfowler
 
Posts: 2
Joined: Thu May 28, 2009 4:48 pm

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

Postby Karlis » Thu May 28, 2009 11:38 pm

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
User avatar
Karlis
Site Admin
 
Posts: 3598
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe

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

Postby lrfowler » Fri May 29, 2009 12:46 am

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

thanks
lrfowler
 
Posts: 2
Joined: Thu May 28, 2009 4:48 pm

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

Postby Karlis » Wed Jun 03, 2009 10:37 pm

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
User avatar
Karlis
Site Admin
 
Posts: 3598
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe

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

Postby vloppy » Thu Aug 06, 2009 8:17 am

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)
vloppy
 
Posts: 1
Joined: Thu Aug 06, 2009 8:07 am

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

Postby Karlis » Sat Aug 08, 2009 12:18 am

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
User avatar
Karlis
Site Admin
 
Posts: 3598
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe


Return to Easy Button & Menu Maker Support

Who is online

Users browsing this forum: No registered users and 9 guests