Menu problem!

Argos

It's not that easy. You'll probably have to work with conditional statements and show_menu2 (http://code.jellycan.com/show_menu2/). I can't help you. Figuring out this kind of stuff can take hours if not days. Try to find a template that does what you want as close as possible. Look for newest templates, that use show_menu2 instead of show_menu.
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

Housy

#3
Quote from: Argos on July 22, 2009, 09:42:16 PM
Quote from: Housy on July 22, 2009, 08:31:21 PM
I was thinking to use the <ul> tag, but then i don't know how to continue, cause i have no idea, how should i slice those images and how to make active buttons.

Well, I suggest looking for a WB template with graphic menu buttons, and see how it's done.

Yes i did that, thank you and i found a piece of the code, which is:

<?php show_menu(1,0,-1,true,'<li>[a][menu_title][/a]</li>','','<ul>','</ul>','','class="current"'); ?>

Can you please explain me, how exactly that works? Because instead of

[i]<li>[a][menu_title][/a]</li>[/i]

i'd probably have something like

<li>[a]<img>LEFT SIDE OF GRAY BUTTON[</img>[menu_title]<img>RIGHT SIDE OF GRAY BUTTON</img>[/a]</li>

and in CSS i would define a like { background-image: url("gray_button_background.png"); } and for the current page i'd just change gray images and background to red if you know what i mean.

P.S. --> I haven't seen any identical or that complicated menu in the WB templates section.

Thank you,

Housy

Argos

Quote from: Housy on July 22, 2009, 08:31:21 PM
I was thinking to use the <ul> tag, but then i don't know how to continue, cause i have no idea, how should i slice those images and how to make active buttons.

Well, I suggest looking for a WB template with graphic menu buttons, and see how it's done.
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

Housy

#1
Hello :-)



On the picture above you see the menu and here is a little problem that i have. Actually i don't really even know where to start to be honest, because i want as well active menus, that means, when i'm on the page contact for example, button contact is coloured like home (see picture) and when i click on download, the same thing happens and so on. I was thinking to use the <ul> tag, but then i don't know how to continue, cause i have no idea, how should i slice those images and how to make active buttons.

Can someone please tell me how to deal with that problem, so everything would work perfectly?

Sorry about my english, i hope i explained as good as possible.

Thank you,

Housy