[development] Drop-down primary-links
larry at garfieldtech.com
Wed Mar 14 01:03:00 UTC 2007
I've a site coming up in a month or so where I'll need to do this. My current
plan is to not use the primary links feature directly but show the primary
links MENU in the header block, the simply set each top level item in the
menu to always-expand. That gets you all the data you need. Add CSS and
jQuery to taste.
We'll see if it really is that simple in a month or so. :-)
On Tuesday 13 March 2007 6:59 pm, Yannick Warnier wrote:
> I was looking around the other day for a theme that would allow
> drop-down primary-links to show secondary-links. Obviously, no theme was
> proposing that and after a few script searches, I think I understood
> why. Doing that implies that you get all the primary-links *and*
> secondary-links structure at once, and nothing was in place to do that.
> So I hacked a bit and got the whole structure in one piece, but I'm
> actually wondering if there is *really* no other development already
> that did that. I'm not that good at DHTML so I haven't finished the job
> (actually displaying the menus as dropdown nicely). I had to change
> files in the theme (I started by re-using Garland) as well as the
> template engine, in Drupal 5.1.
> Any comments on this? Is that something people would want me to
> publicize? Can somebody with good DHTML skills provide me with some help
> finishing the job? I would have a few spare minutes at the end of the
> week to pass that on...
Larry Garfield AIM: LOLG42
larry at garfieldtech.com ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it." -- Thomas
More information about the development