Welcome, Guest. Please login or register.
Did you miss your activation email?
17 May 2008, 07:30

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1]
Print
Author Topic: Help me figure out that {foreach} tag in menu manager please  (Read 365 times)
0 Members and 1 Guest are viewing this topic.
Fratyr
Forum Member
*

Karma: 0
Offline Offline

Posts: 12


« on: 02 May 2008, 07:00 »

Im desperate, guys, i can't make menumanager work as i want him to.
i need to be done a menu like this one: (A GREEN ONE): http://www.fratyr.com/demo/inner3.html

This is the menu code in HTML:
Code:
<div class="green_menu">
<img alt="" src="../images/menu_li_left.png" width="4" height="21" class="left" />
<img alt="" src="../images/menu_li_right.png" width="60" height="27" class="green_right" />
<div class="reka_green"><a href="#">About</a></div>
</div>

<div class="clear"><!----></div>

<div class="green_menu">
<img alt="" src="../images/menu_li_left.png" width="4" height="21" class="left" />
<img alt="" src="../images/menu_li_right.png" width="60" height="27" class="green_right" />
<div class="reka_green"><a href="#">The Routes Travel Advantage</a></div>
</div>
<div class="clear"><!----></div>

And so on... means, every div is 1 button. How do i build it with menumanager code?
I just don't get it actually :] and i cant find any good documentation of how to code this.

Can anyone provide me with an example of what im needed? I could learn from it i think.

Thanks.
Logged
Fratyr
Forum Member
*

Karma: 0
Offline Offline

Posts: 12


« Reply #1 on: 03 May 2008, 02:49 »

Anybody, please?
Logged
mark
Carpenter wanting to do web building full time...
Support Guru
Power Poster
****

Karma: 108
Offline Offline

Posts: 4350

Location: Arizona


hmm... Let's see.....


WWW
« Reply #2 on: 09 May 2008, 13:30 »

Looks like you need an image map menu, there is a tutorial in the themes page and I have some links to one in my posts, what you have is overkill for what you want to achieve...
Logged

Go to Extensions » Modules/Tags click the name of the module/tag or the word Help to the right to get the parameters it takes...
Want to try CMSMS... http://cmsmsdemo.com/...
I Hope that Helped
Got Link
metal stud framing is COOL,,,, Man I love to build things!...
KO
Power Poster
***

Karma: 11
Offline Offline

Posts: 393


« Reply #3 on: 09 May 2008, 14:05 »

One way also is to use normal menu template and give <li> one background-image positioned right and <a> tag another background-image which is positioned left. Similar than what is used in Sliding Doors menu found i.e. http://www.alistapart.com/articles/slidingdoors/

Simple and adding/removing menu items can be done normal way as content.
Logged
mark
Carpenter wanting to do web building full time...
Support Guru
Power Poster
****

Karma: 108
Offline Offline

Posts: 4350

Location: Arizona


hmm... Let's see.....


WWW
« Reply #4 on: 09 May 2008, 20:48 »

I used to use a similar technique but as mentioned near the bottom of the article you get a dead, non link, space on the left from making room for the image, now I put a span in the a...

<li id="current"><a href="http://www.joshmillerblues.com/"><span>Home</span></a>

Since the span is in the a it leaves no spaces, I also use the same image for the left and right and make them very wide so no matter how much text is used it gets covered...
Logged

Go to Extensions » Modules/Tags click the name of the module/tag or the word Help to the right to get the parameters it takes...
Want to try CMSMS... http://cmsmsdemo.com/...
I Hope that Helped
Got Link
metal stud framing is COOL,,,, Man I love to build things!...
Pages: [1]
Print
Jump to: