forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: nytemare on May 28, 2005, 08:12:17 pm

Title: Drop Down Menus.
Post by: nytemare on May 28, 2005, 08:12:17 pm
Greetings once again everyone. I'm having a dilemme right now, im planning to add a few more pages to my website and that would mean more links in my menu. But by doing that the menu is going to look very messy  so i was wondering if anyone knew of any way i could make drop down menus instead so i can put certain links under a certain drop down thingy, if anyone knows of any themes that is using drop down menus already please do inform me so i can learn from it.

Just to make things clear i'm talking about dhtml type of menus if you get my drift.
Title: Re: Drop Down Menus.
Post by: Joachim Müller on May 29, 2005, 12:11:14 pm
http://www.dynamicdrive.com/dynamicindex1/index.html
Title: Re: Drop Down Menus.
Post by: nytemare on June 15, 2005, 01:59:38 am
i tried these dhtml scripts.. but i still dont get it.

the main menu links in coppermine are all arranged in "theme.php" how are we supposed to run javascripts and etc from there. we can't use the template file because it doesn't recognize stuff like <-- FAQ blabla --> which is being used in the links in theme.php

does anyone have an actual site with a dhtml drop down menu working? so i can learn from it instead.
Title: Re: Drop Down Menus.
Post by: nytemare on June 15, 2005, 02:07:39 am
Does anyone possibly know of a dhtml drop down menu script that would work inside theme.php? .. I realise that i can just use template.html and replace {MAIN_MENU} and directly link to the rest of the pages but i don't want to do to do that as the site would lose certain functions such as showing only certain links to non-registered users and stuff like that.
Title: Re: Drop Down Menus.
Post by: Joachim Müller on June 15, 2005, 08:50:26 am
should be pretty easy to come up with a dhtml menu within theme.php, just edit the section that comes after
Code: [Select]
// HTML template for main menuat the very start.