Simon Posted July 27, 2001 Posted July 27, 2001 Is it possible to get fmp tags to be substituted with a macromedia fireworks document. It produces a lot of javascript that I do not understand and I wish to have the cdml in links replaced below is an example <script language="JavaScript"> <!-- function fwLoadMenus() { if (window.fw_menu_0) return; window.fw_menu_0 = new Menu("root",278,21,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#6666cc","#000084"); fw_menu_0.addMenuItem("Business School Review","location='fm'"); fw_menu_0.addMenuItem("Register for World MBA Tour 2001","location='fm'"); fw_menu_0.addMenuItem("Postgraduate Education","window.open('fm', '_top');"); fw_menu_0.bgImageUp="fwmenu1_278x21_up.gif"; fw_menu_0.bgImageOver="fwmenu1_278x21_over.gif"; fw_menu_0.hideOnMouseOut=true; window.fw_menu_1 = new Menu("root",176,21,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#6666cc","#000084"); fw_menu_1.addMenuItem("MBA Recruiters","location='fmp'"); fw_menu_1.addMenuItem("Graduate Recruiters","location='fmp'"); fw_menu_1.addMenuItem("Technical Recruiters","location='fmp'"); fw_menu_1.addMenuItem("Executive Recruiters","location='fmp'"); fw_menu_1.addMenuItem("Industry Guides","location='fmp'"); fw_menu_1.bgImageUp="fwmenu2_176x21_up.gif"; fw_menu_1.bgImageOver="fwmenu2_176x21_over.gif"; fw_menu_1.hideOnMouseOut=true; window.fw_menu_2 = new Menu("root",257,21,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#6666cc","#000084"); fw_menu_2.addMenuItem("Update CV","location='fmpro'"); fw_menu_2.addMenuItem("Search Job Database","location='fmpro'"); fw_menu_2.addMenuItem("View Applications","location='fmpro'"); fw_menu_2.addMenuItem("Register for Top Career Forums","location='fmpro'"); fw_menu_2.addMenuItem("Careers in Consultancy","window.open('fmpro?-db=database.fp5&-format=page.htm&-recid=[fmp-currentrecid]&-find', '_main');"); fw_menu_2.bgImageUp="fwmenu3_257x21_up.gif"; fw_menu_2.bgImageOver="fwmenu3_257x21_over.gif"; fw_menu_2.hideOnMouseOut=true; window.fw_menu_3 = new Menu("root",175,21,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#6666cc","#000084"); fw_menu_3.addMenuItem("Personal Home Page","window.open('fmpro?-db=database.fp5&-format=page.htm&-recid=[fmp-currentrecid]&-find', '_main');"); fw_menu_3.bgImageUp="fwmenu4_175x21_up.gif"; fw_menu_3.bgImageOver="fwmenu4_175x21_over.gif"; fw_menu_3.hideOnMouseOut=true; fw_menu_3.writeMenus(); } // fwLoadMenus() //--></script> The fmp links at the bottom of the above text do not get substituted Any help??? Simon
dspires Posted July 27, 2001 Posted July 27, 2001 Everything within the comment tags <!-- --> not only gets ignored by the browser, but also by the FMP web companion.
Simon Posted July 29, 2001 Author Posted July 29, 2001 So what happens if I get rid of the comment tags <-- --> Will the javascript stop working Simon
Anatoli Posted July 29, 2001 Posted July 29, 2001 The comment tags are there purely for older browsers to ignore the JS. That is not an issue these days.
Recommended Posts
This topic is 8594 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now