This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > April 2004 > collapsible/expandable menus





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author collapsible/expandable menus
micgrafx

2004-04-21, 2:39 pm

Is there any way in Dreamweaver that I can create a vertical
collapsible/expandable menu, without:

1. using ColdFusion, advanced JavaScript, frames, or some other
developer-oriented program,
2. severely limiting the ability to update the menus,
3. wreaking havoc on my layout, or
4. creating a very large file size.

I guess I'm very happy using Fireworks to create pop-up menus, but I have seen
those menus that when you hover over a menu item, a sub-menu drops down,
pushing down the menu item following the original menu item. Any thoughts?

Murray *TMM*

2004-04-21, 2:39 pm

Be aware that using FW to produce those menus violates your restrictions #1,
#2, #3, and #4.

You cannot create vertical collapsible/expandable menus without using a)
javascript, and b) CSS methods. What these do to your layout is a function
of the layout method you have used, and is not related to these menus.

The very best way to make them and to satisfy the key restrictions (#2 and
#4), is to learn and use the methods taught here -

http://www.projectseven.com/tutoria...loser/index.htm

or

http://www.projectseven.com/tutoria..._hide/index.htm

and here's an example you can analyze -

http://www.projectseven.com/tutorials/autolayers/

And you can see the results here -

BEFORE (using FW pop-ups)
http://www.great-web-sights.com/tes...CCR/oldnav.html

AFTER (using PVII methods and pure show/hide layers -all within DW)
http://www.great-web-sights.com/tes...CCR/newnav.html


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"micgrafx" <webforumsuser@macromedia.com> wrote in message
news:c5jksj$7n9$1@forums.macromedia.com...
> Is there any way in Dreamweaver that I can create a vertical
> collapsible/expandable menu, without:
>
> 1. using ColdFusion, advanced JavaScript, frames, or some other
> developer-oriented program,
> 2. severely limiting the ability to update the menus,
> 3. wreaking havoc on my layout, or
> 4. creating a very large file size.
>
> I guess I'm very happy using Fireworks to create pop-up menus, but I have

seen
> those menus that when you hover over a menu item, a sub-menu drops down,
> pushing down the menu item following the original menu item. Any

thoughts?
>



Ross Riley

2004-04-21, 2:39 pm

i've started doing this with CSS now, the theory goes like this.
You create two layers, one representing the closed menu, one the open.
Make sure none of the layers have fixed heights.
On clicking the menu to open put the following behaviours...
Set Layer1closed style to display:none
Set Layer1open style to disblay:block
obviously layer1closed is set to display:block as default
and layer1open is set to display:none as default.

Have a play, i've found this way much better than using javascript as the
menus hold even if the user changes the text size.


Ross

darrel

2004-04-21, 2:39 pm

> Is there any way in Dreamweaver that I can create a vertical
> collapsible/expandable menu, without:
>
> 1. using ColdFusion, advanced JavaScript, frames, or some other
> developer-oriented program,


Not really. You pretty much need Javascript for what you want to do. Or are
you talking about fly-out menus? If so, here are some CSS solutions:

http://www.uoguelph.ca/~stuartr/art...downmenu.shtml#

Of course, they won't work in IE/PC.

-Darrel


Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews