Buttons that indicate where you sit
-
- Posts: 9
- Joined: Sat Aug 18, 2012 4:51 pm
Buttons that indicate where you sit
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
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
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">.
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">.
Blumentals Software Programmer
Re: Buttons that indicate where you sit
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">
e.g. <li class="topitem spaced_li active">
Blumentals Software Programmer
-
- Posts: 9
- Joined: Sat Aug 18, 2012 4:51 pm
Re: Buttons that indicate where you sit
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
The website doesn't display minor version numbers. Currently there is version 3.06 on the website.
Blumentals Software Programmer
-
- Posts: 9
- Joined: Sat Aug 18, 2012 4:51 pm
Re: Buttons that indicate where you sit
I tried this but it does not work, I use a menu with buttons and no css.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 have version 3.06
Re: Buttons that indicate where you sit
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.
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.
Blumentals Software Programmer
-
- Posts: 9
- Joined: Sat Aug 18, 2012 4:51 pm
Re: Buttons that indicate where you sit
I chose the option with css, with itemhot.
See this site http://cupcake-couture.nl
Thanks for any help
See this site http://cupcake-couture.nl
Thanks for any help
Re: Buttons that indicate where you sit
What a sugary sweet page! Now make those small cupcake images clickable so we can see huge pictures of all of that deliciousness 

Blumentals Software Programmer
-
- Posts: 9
- Joined: Sat Aug 18, 2012 4:51 pm
Re: Buttons that indicate where you sit
This site I made for my daughter and she wanted the website clearly was sweet, so your commentary confirmed that I have succeeded anyway.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
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