Page 1 of 1
Buttons that indicate where you sit
Posted:
Sat Aug 18, 2012 5:10 pm
by gervanveen
Hello
sorry for my english
I make the menu on a Web page, to use them on multiple pages I read it with php include. The advantage is that if there are pages written in come or removed a page but I need to update the entire site.
But what I can not do with that, if you're on a page then I am the enclosed button appears when mouse over so you can see what page you are.
Is there a possibility.
greeting
Ger
Re: Buttons that indicate where you sit
Posted:
Tue Aug 21, 2012 5:54 pm
by Aivars
You can try this:
1) Do not use javascript file (remove <script> tag that Easy Button & Menu Maker generates).
2) Add class "expanded" to those li items that you want to define as active, e.g. <li class="topitem spaced_li expanded">.
Re: Buttons that indicate where you sit
Posted:
Thu Aug 23, 2012 3:22 pm
by Aivars
Version 3.06 allows using special class "active" for li elements to mark active menu section. This works with both css-only and javascript-assisted menus.
e.g. <li class="topitem spaced_li active">
Re: Buttons that indicate where you sit
Posted:
Fri Sep 28, 2012 7:12 pm
by gervanveen
When I look at the website I see version 3 How can I see the version 3.06 and how can I tell which version I have. For me, version 3.0
Re: Buttons that indicate where you sit
Posted:
Fri Sep 28, 2012 8:18 pm
by Aivars
The website doesn't display minor version numbers. Currently there is version 3.06 on the website.
Re: Buttons that indicate where you sit
Posted:
Sat Sep 29, 2012 7:14 pm
by gervanveen
Aivars wrote:Version 3.06 allows using special class "active" for li elements to mark active menu section. This works with both css-only and javascript-assisted menus.
e.g. <li class="topitem spaced_li active">
I tried this but it does not work, I use a menu with buttons and no css.
I have version 3.06
Re: Buttons that indicate where you sit
Posted:
Sun Sep 30, 2012 10:18 am
by Aivars
Sorry, I forgot to mention that class active currently works with CSS, not image-based menus. You can edit the CSS file manually though to make it work.
1. Look for lines like these (should be near the end of the file):
#mbmcpebul_table.css_menu a:hover div.buttonimg_30, #mbmcpebul_table a.itemhot div.buttonimg_30 {
background-position: 0 -30px;
}
2. Modify (copy & paste the selector and add li.active in 2 places) and remove :hover and .itemhot from the copy:
#mbmcpebul_table.css_menu a:hover div.buttonimg_30, #mbmcpebul_table a.itemhot div.buttonimg_30, #mbmcpebul_table.css_menu li.active a div.buttonimg_30, #mbmcpebul_table li.active a div.buttonimg_30 {
background-position: 0 -30px;
}
Or you can send me your CSS file and I'll modify it for you.
Re: Buttons that indicate where you sit
Posted:
Mon Oct 01, 2012 12:35 am
by gervanveen
I chose the option with css, with itemhot.
See this site
http://cupcake-couture.nlThanks for any help
Re: Buttons that indicate where you sit
Posted:
Mon Oct 01, 2012 1:10 am
by Aivars
What a sugary sweet page! Now make those small cupcake images clickable so we can see huge pictures of all of that deliciousness
Re: Buttons that indicate where you sit
Posted:
Mon Oct 01, 2012 11:49 pm
by gervanveen
Aivars wrote:What a sugary sweet page! Now make those small cupcake images clickable so we can see huge pictures of all of that deliciousness
This site I made for my daughter and she wanted the website clearly was sweet, so your commentary confirmed that I have succeeded anyway.
Clicking on the pictures I've made a nice effect, you're right, the pictures are very small.
thanks for your comments and help
Ger