logo       

[feature] dhtml expandable menu links: msg#01003

php.drupal.devel

Subject: [feature] dhtml expandable menu links

Project: Drupal
Version: cvs
Component: menu system
Category: feature requests
Priority: normal
Assigned to: Anonymous
Reported by: flevour
Updated by: Anonymous
Status: active

Indeed this would like nice with rollover menus like those on csscreator

Anonymous



Previous comments:
------------------------------------------------------------------------

February 19, 2004 - 23:01 : flevour

I was wondering if anyone has already worked out a patch to allow menus
created by the menu() call to be dhtml-ly expandable.
Most of the times its a waste of bandwidth to load 2/3 different pages
to access the page you want.
Best regards,
flevour

------------------------------------------------------------------------

February 20, 2004 - 15:25 : flevour

Setting as feature request.

------------------------------------------------------------------------

February 23, 2004 - 04:11 : ax

i just implemented this [1] on my drupal site [2]. please have a look,
see if it works with your browser, and tell me what you think of it.
and feel free to make a patch for drupal (i won't have much time before
next weekend).
[1] http://drupal.kollm.org/node/view/36
[2] http://drupal.kollm.org/


------------------------------------------------------------------------

February 23, 2004 - 04:49 : weitzman@xxxxxxxxxxxx

Wonderful. This is an elegant, elegant implementation. I'd like to see
menu.inc patched as ax suggests (possibly add a param to the function)
so we can experiment with css menus.

i think the javascript error on ax's site happens when the nav block is
not shown. just an oversight i'm sure.


------------------------------------------------------------------------

February 23, 2004 - 13:59 : Anonymous

Works fine here on Firebird 0.7.


------------------------------------------------------------------------

February 24, 2004 - 07:39 : ax

thanks to everyone for testing.

i think the javascript error on ax's site happens when the nav block
is not
shown. just an oversight i'm sure.

right you are. i fixed that in the multimenu javascript [3].

regarding the half a second delay before the menu pops up, to save the
user from disortientation suggested at drupal.kollm.org [4]: i guess
this isn't possible with a pure css menu, but would require
considerably more javascript. which i almost certainly won't find /
implement. feel free to suggest / implement anything related, though.

what i could imagine is to make the menu look more like a real menu as
on CSS Creator [5], ie. instead of expanding the submenus to the
bottom, shift them out to the left / right. as i said before, this
probably won't happen before the weekend.
[3] http://drupal.kollm.org/themes/ax_clean/multimenu.js
[4] http://drupal.kollm.org/node/view/36#comment
[5] http://www.csscreator.com/menu/multimenu.php#vertm


--
View: http://drupal.org/node/view/5943
Edit: http://drupal.org/project/comments/add/5943





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise