kenannet1 Posted November 7, 2003 Posted November 7, 2003 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,
Garry Claridge Posted November 7, 2003 Posted November 7, 2003 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
Leb i Sol Posted November 7, 2003 Posted November 7, 2003 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.
Anatoli Posted November 8, 2003 Posted November 8, 2003 Also do not use the "<!--hide" hiding. Sometimes it will stop FM WC from processing the JS.
kenannet1 Posted November 8, 2003 Author Posted November 8, 2003 THANK YOU ALL GUYS, WORKS PERFECTLY... Ken
Leb i Sol Posted November 24, 2003 Posted November 24, 2003 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
Anatoli Posted November 26, 2003 Posted November 26, 2003 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...
Recommended Posts
This topic is 7738 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