HighDots Forums  

Problem with DW behaviors in Library item

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Problem with DW behaviors in Library item in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
charless
 
Posts: n/a

Default Problem with DW behaviors in Library item - 11-06-2004 , 03:33 PM






I've created a graphic navigation bar for a new DW site that used two
behaviors, "swap images" and "pop-up menus". Everything works just fine in the
original document. But when I convert the menu bar to a Library item, the code
for the pop-up menus is ignored. Yet the "swap images" code is successfully
incorporated into the Library item. Can this be corrected within Dreamweaver?
(Hand-scripting is not an option for me)

Charles


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Problem with DW behaviors in Library item - 11-07-2004 , 08:06 AM






Quote:
(Hand-scripting is not an option for me)
It has to be if you want to use more advanced features. Please show me a
page where the menu code is ignored.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
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
==================

"charless" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I've created a graphic navigation bar for a new DW site that used two
behaviors, "swap images" and "pop-up menus". Everything works just fine in
the
original document. But when I convert the menu bar to a Library item, the
code
for the pop-up menus is ignored. Yet the "swap images" code is
successfully
incorporated into the Library item. Can this be corrected within
Dreamweaver?
(Hand-scripting is not an option for me)

Charles




Reply With Quote
  #3  
Old   
charless
 
Posts: n/a

Default Re: Problem with DW behaviors in Library item - 11-07-2004 , 05:16 PM



http://www.new.greatsmokies.com

Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Problem with DW behaviors in Library item - 11-07-2004 , 05:36 PM



When you use those lousy menus, and you elect to put them into a Library
item, you must make sure that each RECEIVING page has the menu-specific
javascript either in the head of it, or linked as an external file. Your
pages do not - and that's one reason why your menus are not working.
Another reason is that you have not linked to the main MM_Menu.js file (all
31K of it) on the page, so not only is the menu-specific js missing but the
basic menu-building javascript is missing, too.

I respectfully request that you read these links, and quickly discard the
notion of using the MM pop-up menus in favor of a more thoughtful method
such as the PVII method mentioned in the links.

http://apptools.com/rants/jsmenu.php
http://apptools.com/rants/menus.php


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
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
==================

"charless" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
http://www.new.greatsmokies.com



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.