Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 20th, 2004, 05:38 AM
Registered User
 
Join Date: Nov 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help! Pop-Up Menu in DW MX 2004

Hi to all,
I need quick help:
I'm creating a site in DW MX 2004 with templates and now want to insert a pop-up menu in my left navigation bar.
So I select one of the images there, go to behaviors, but when I click on the + button, "Show Pop-Up Menu" is there, BUT NOT CLICKABLE. What am I doing wrong??
I'd be so glad about a quick answer,

Maverick
  #2 (permalink)  
Old November 20th, 2004, 05:50 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Check out this thread: http://p2p.wrox.com/topic.asp?TOPIC_ID=5650

Basically, this seems to be a limitation of Dreamweaver. The best way to overcome this is to create a menu in a normal page, and then reuse it in the template.
Be sure to use root relative URLs as DW is probably not able to adjust the paths in the menu when you have template-based pages in different folder levels.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #3 (permalink)  
Old November 20th, 2004, 06:21 AM
Registered User
 
Join Date: Nov 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
thanx for the very quick answer.
Just to get it: I created the wanted menu in a normal .html page and saved the page. But how do I apply exactly the created menu to a .gif in my template? I don't know, if it's important, but I already have a pop-up menu in my template, so this would be the 2nd one.
Sadly I'm not a pro-user, so could you please explain it so easy, that a fool like me understands it as well;).
Thanx,

Maverick
  #4 (permalink)  
Old November 20th, 2004, 06:35 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Like you discovered, you cannot create a pop-up menu in a template directly. So to add one anyway, follow these steps:

1. Create a new, basic HTML page
2. Add the image you want to use for the popup
3. Select the image, and add the popup menu from the Behaviors panel
4. Customize the menu the way you want. Create sub menus, add menu items etc. Link your pages to /MyPage.html instead of MyPage.html
5 When you're done, copy the required code (e.g. the image with extra attributes and the code DW inserted for the menu) and paste it into your template page.

Does this help??

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Paper Cup Exit by Sonic Youth (Track 8 from the album: Sonic Nurse) What's This?
  #5 (permalink)  
Old November 20th, 2004, 08:56 AM
Registered User
 
Join Date: Nov 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I looked at the code of the template and asked myself where to put the code of the 2nd menu, but there is already a pop-up menu code from the other menu I'm using.
How do I separate them?
How do I make sure that the image knows which menu code to use?
Where exactly do I have to paste the code for the menu?

I already tried simply copying the image from the html into the template in the design mode, but didn't work.
Sorry if I bother you with my stupid questions, but I'm trying to learn.
  #6 (permalink)  
Old November 20th, 2004, 12:08 PM
Registered User
 
Join Date: Nov 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi
thanx for your patience, now I got it! I just created in my html a second menu to see how to fit it in the code. I did so in the template and ... it works!!
Thank you

Maverick



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie Help with DW MX 2004 and Access Database Soam Dreamweaver (all versions) 2 October 4th, 2005 05:01 PM
Beginning DW.MX 2004 Global Soccer terry s Dreamweaver (all versions) 6 October 13th, 2004 02:40 PM
Reading XML in DW MX 2004 bommi_k Dreamweaver (all versions) 1 August 19th, 2004 01:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.