Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

<p class="text"><a href="[FMP-linkrecid: layout=CGI, Format=prodlist.htm]" target="_blank"><span class="text">[FMP-field: Project]</span>

With this code, clicking on this link in my browser opens the desired file in a new blank window in the browser. Is there any code that can be added that will also specify the new windows size, whether or not it shows the navigation location, scroll bars, navigation buttons (back, forward, stop, home, ect), and the navigation items down the left wide of the browser in Explorer?

LR

Posted

I use Java for this. Place this in the head of your page:

code:


<script language="JavaScript">

<!--

function openBrWindow(theURL,winName,features) { //v2.0

window.open(theURL,winName,features);

}

//-->

</script>

and then structure your A HREF tag like so:

code:


<A HREF="#" onClick="openBrWindow('URL of page','Popup','scrollbars=no,width=450,height=600')"> LINK </A>

Posted

This works out GREAT.

Are there other variations of this portion of code you provided:

scrollbars=yes,

In other words for controlling other things like whether or not the navigation buttons show (back, forward, reload), the url location shows, or whether or not the window can be resized;

resize=yes,

location=yes,

navigation=yes,

LR

[ March 27, 2002, 12:11 PM: Message edited by: Larry Ross ]

Posted

Not to mention Position. It is good to check on start, that visitor has JavaScript ON and notify him/her about necessity to have JavaScript ON.

Then you can use this to your advantage and build pages always forced to Frames, thus disallowing URL modifications and fiddling/hacking with URL.

This topic is 8268 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.