November 7, 200322 yr Hi, How would you define the function for java script <SCRIPT language="JavaScript"> <!--hide function newwindow() { ...................... } //--> </SCRIPT> for the following <a href="javascript:NewWindow('[FMP-Link:r]&-format=magnify.html')"><img.... Thanks,
November 7, 200322 yr I would just do this: <a href="javascript:window.open('[FMP-Link:r]&-format=magnify.html')"><img.... No need for the function. All the best. Garry
November 7, 200322 yr for advance attributes of the window consider: window.open('SomeHTML.html','SomeHTML','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=400,height=400') setting them (them=attributes such as 'status') to "no" or taking them out would deprive your page from those attribues......hide the URL etc.
November 8, 200322 yr Also do not use the "<!--hide" hiding. Sometimes it will stop FM WC from processing the JS.
November 24, 200322 yr where were u Anatoli with this post about 3 months ago!? u could have saved me a few keybaords and a monitor never thought that commenting things trhough JS would drive FM engine crazy...but now I can blame you for telling me too late! thanx
November 26, 200322 yr I'll pay you nice cold pints.... of our real stuff BTW, I've discovered this I believe 4 years ago and it is somewhere buried here...
Create an account or sign in to comment