Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Click a Button to open a fixed size browser 2

Status
Not open for further replies.

vonderbie

Vendor
Jul 17, 2002
18
SG
I want to make a button to open a new new URL in a new browser without the top navigation buttons like "Back", "Stop", "Refresh" buttons found in a browser.

what is the scripting like?

thanks.
 
This will open a new window with fixed size 500X400 pixels, if you want to feed the sizes in dynamically so that it's more flexible then just follow the syntax used with 'link'.

Code:
on(release){
var link='[URL unfurl="true"]http://www.google.com';[/URL]
getURL("javascript:newWin = window.open ('"+link+"', 'google', 'width=500,height=400'); newWin.focus ();");
}[code]
 

Regards,

cubalibre2.gif

I'm Bill Watson's biggest fan!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top