Jump to content

java:newWindow and [FMP-Link:...]


This topic is 7547 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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,

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 3 weeks later...

shocked.gif where were u Anatoli with this post about 3 months ago!?

u could have saved me a few keybaords and a monitor wink.gif

never thought that commenting things trhough JS would drive FM engine crazy...but now I can blame you for telling me too late! wink.gifgrin.gif

thanx

Link to comment
Share on other sites

This topic is 7547 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.