Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 17

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 22.02.2005, 17:16   #1 (permalink)
Baby Mamber
 
Join Date: Feb 2005
Posts: 22
rickylau is on a distinguished road
Default Dropdown menu

I have a question about dropdown menus. I want to create a dropdown menu using css and html list. Something like this:

<div id="navcontainer">
<ul id="navlist">
<li id="active"><a href="#" id="current">Item one</a>
<ul id="subnavlist">
<li id="subactive"><a href="#" id="subcurrent">Subitem one</a></li>
<li><a href="#">Subitem two</a></li>
<li><a href="#">Subitem three</a></li>
<li><a href="#">Subitem four</a></li>
</ul>
</li>
<li><a href="#">Item two</a></li>
<li><a href="#">Item three</a></li>
<li><a href="#">Item four</a></li>
</ul>
</div>

The problem is that I don't know how to do that with Mambo. I know how to create the main menu with Item one; Item two, Item three, Item four, and then call the php script:

<?php mosLoadModules('mainmenu', -1); ?>

But how do I embed the submenu items; Subitem one, Subitem two, Subitem three, Subitem four, as a submenu for Item one. I have seen websites that are done with Mambo with dropdown menus, so I know its possible. But I can't seem to get it to work. Any help is appreciated.
rickylau is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 22.02.2005, 19:52   #2 (permalink)
Senior Mamber
 
doctorj's Avatar
 
Join Date: Jan 2005
Location: California, U.S.A.
Posts: 242
doctorj is on a distinguished road
Send a message via AIM to doctorj Send a message via MSN to doctorj Send a message via Yahoo to doctorj
Default Re: Dropdown menu

You can create a Site Module to do this and then Modify your template accordingly or just modify your template and include the HTML/CSS code and insert the Proper PHP code needed to call those functions.

There is a nice dreamweaver extension out that will help you learn what code can be inserted. You can get it here:

http://www.gotgtek.com/cms/com_docma...t_view/gid,82/

Description of it:

This dremweaver extention is for adding the nesscessary PHP Code into a HTML document in order to create/modify a Mambo Template.
__________________
until next time,

ThA DoC
www.gotgtek.com
Expose Project Admin
doctorj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 22.02.2005, 23:53   #3 (permalink)
Baby Mamber
 
Join Date: Feb 2005
Posts: 22
rickylau is on a distinguished road
Default Re: Dropdown menu

Is there any specific instructions on how to do the hacking? Or maybe just documentation on how the menu system works. Plus, I am not using dreamweaver, so I can't use the extension. I really need to make css dropdown menu in mambo, but I need help in doing it.

Thanks
rickylau is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 23.02.2005, 00:27   #4 (permalink)
Senior Mamber
 
doctorj's Avatar
 
Join Date: Jan 2005
Location: California, U.S.A.
Posts: 242
doctorj is on a distinguished road
Send a message via AIM to doctorj Send a message via MSN to doctorj Send a message via Yahoo to doctorj
Arrow Re: Dropdown menu

Quote:
Originally Posted by rickylau
Is there any specific instructions on how to do the hacking? Or maybe just documentation on how the menu system works. Plus, I am not using dreamweaver, so I can't use the extension. I really need to make css dropdown menu in mambo, but I need help in doing it.

Thanks
You can try looking through the code from this DHTML Module and see how they did it:
http://mamboforge.net/projects/dtree/

This will help give you an idea on how to do it from a module stand point.
__________________
until next time,

ThA DoC
www.gotgtek.com
Expose Project Admin
doctorj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing parameters from menu item Benta Mambo 4.5.1 'How Do I' Questions 4 02.06.2005 11:09
Main Menu Hack... Anyone have an idea about this? Thanks! meek Module 'How Do I' Questions 1 27.02.2005 01:41
odd menu issue dotcommer Mambo 4.5.1 Bugs 0 16.02.2005 12:25
Next "bug team" bug release appro. date? DevServe Mambo 4.5.1 General Talk 11 05.02.2005 05:12
In the Menu Manager is it possible to create a personalized menu..? rob222 Mambo 4.5.1 'How Do I' Questions 0 05.01.2005 20:51


All times are GMT +2. The time now is 05:46.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.