Elxis CMS Forum
Support => General => Topic started by: ROUBOS on November 14, 2009, 12:02:39
-
Hi,
I want to create a site with a dropdown menu instead of the normal menu on the left or right column.
I know I can apply css styles to the MainMenu module, but can we use jQuery on it and place it across the top of the page?
Or do I edit and use the top navigation menu instead? I know we cannot delete the mainmenu module for Elxis to function properly.
-
You can use simple Suckerfish module (http://www.elxis-downloads.com/com_downloads/menus/3.html).
Example (http://www.interbridge.org) with some code modification and new css styles. Support only modern browsers (not IE6).
Why jQuery?
-
jQuery adds some nice effects.
Can create a nice dropdown with CSS. Just wondered if I can do it with the main elxis menu
-
hm... Mainmenu module is only php-code, that displaying information from database. You can create and use alternative code or modify mainmenu module, but if you modify it - may be you have some problems with update to new Elxis version in future.
-
you can create almost anything.. but you need to know javascript, css and jquery functions
jquery is a javascript framework around you site...
you can overwrite what elxis or other cms writes in the code of the page and format the appearance with css
actually your problem is that you haven't understand how jquery works... you have to study it at their doc site... nothing to do with elxis
you can format mainmenu or even reformat .. add-remove classes, add-remove html tags to fit your needs
all you have is to set main menu to be expanded in order to show all sublinks and then you take action.
PS. since i understand that you are not familiar with all this, i will suggest what coursar said.