THERE IS A PROBLEM WHEN USING FIREWORKS MX DROP MENUS WITH VARYBYCUSTOM I have been looking everywhere for a fix but I figured it our myself and maybe this will help someone else. If you use Macromedia generated menus, you will notice that the links use window.open
to navigate your site. Page caching doesn’t work well with window.open so by modifiying your menu items for example: mm_menu_0017112256_2.addMenuItem("LINK NAME","window.open('http://hyperlink.html', '_self');"); and changing it to this mm_menu_0017112256_2.addMenuItem("LINK
NAME","document.location.href = ('http://hyperlink.html');"); Caching will work. Actually it is easier to just do a find and replace: Find: window.open(' Replace with: document.location.href = (' Find: , '_self' Replace with nothing. That's it!
nicegui
Member
10 Points
2 Posts
Caching errors with Macromedia Fireworks/Dreamweaver MX menus
Aug 12, 2003 06:56 PM|LINK