Wrox Programmer Forums
|
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
 
Old May 8th, 2004, 12:58 PM
Authorized User
 
Join Date: Sep 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pop up menu's in templates

Hi all,

I'm building a site based on a template that I've constructed and in my navigation I had the intension of making sub menu's from my main menu much like chapter 3 pg.94 in Beginning Dreamweaver MX. However this behavior is greyed out when working with the template. I also created a new page based on the template and is still greyed out. So I'm assuming that the pop-up menu behavior is not available in a template or pages that are based on a template.
Can anyone confirm this and if so can I get around it in code view.

Thanks

 
Old May 8th, 2004, 01:08 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hmmm, interesting. I tried this, and indeed the menu option is grayed out.
However, it is still possible to add the menu, AFAIK. Try this:

1. Create a new HTML page
2. Add everything you need to the template, like Editable Regions, and other default stuff
3. Choose File | Save as Template

This way, you add the menu before you convert the page to a template. Dreamweaver seems smart enough to recognize the link to mm_menu.js and will update the links for any pages you create based on this template.

I am not sure why you are not allowed to add the menu to a template. There may be a good reason for this, so the work around I suggested may get you into troubles, although as far as I can see, it should just work.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old May 8th, 2004, 01:33 PM
Authorized User
 
Join Date: Sep 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the quick response Imar,

I did a basic test with your suggestion and indeed it works ;)
I will continue this way and if I encounter any problems I'll let you know.

Thanks








Similar Threads
Thread Thread Starter Forum Replies Last Post
MDI & MDI Child Forms Menu's in VB2005 yulyos Visual Studio 2005 0 September 7th, 2007 09:49 AM
Menu's DynamicEnableDefaultPopOutImage?? rit01 ASP.NET 2.0 Basics 5 April 19th, 2006 04:01 PM
open a new pop-up from a pop-up crmpicco Javascript How-To 1 January 18th, 2005 10:48 AM
Pop up Menu's derek Dreamweaver (all versions) 7 November 4th, 2004 07:13 PM
Pop up Menu's derek Dreamweaver (all versions) 2 January 14th, 2004 07:30 PM





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