| Adobe Fireworks CS4 |
|
Fireworks CS4 Resources |
About exporting pop-up menusFireworks generates all the CSS code or JavaScript (depending on which option you select) necessary to view pop-up menus in web browsers. If you use CSS code for your pop-up menus, a Fireworks document containing pop-up menus is exported to HTML using CSS code. You can also have the CSS code written to an external .css file, and export that file along with an mm_css_menu.js file to the same location as the HTML file. The alternative to using CSS code is to use JavaScript. If you use JavaScript, a Fireworks document containing pop-up menus is exported to HTML, and a JavaScript file called mm_menu.js is exported to the same location as the HTML file. When you upload the files, upload mm_css_menu.js (or mm_menu.js, for JavaScript) to the same directory location as the web page containing the pop-up menu. To post the file to a different location, update the hyperlink referencing mm_css_menu.js and the .css file (or mm_menu.js) in the Fireworks HTML code to reflect the custom location. A unique .css file is exported for every document containing CSS pop-up menus that you export as HTML and images from Fireworks. When you include submenus, Fireworks generates an image file (arrows.gif), which is a tiny arrow that appears next to any menu entry that has a submenu. Regardless of the number of submenus a document contains, Fireworks always uses the same arrows.gif file. For more information about exporting HTML, see Export HTML. |