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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making a button open a page in a new frame with set size var 2

Status
Not open for further replies.

DBSSP

Programmer
Apr 1, 2002
327
US
I want to make a button that will open up a link to another page. Not so bad, eh? Well, there's one little twist, I need this page to open up in a seperate window with a set size and no address bar or anything like that. Kinda like a popup window. Jay [infinity]
"If the words up and down were reversed, would you trip and fall or trip and fly?"
 
thread248-432395 [Peace][Pipe]
The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
 
Hello there. If your button is an image then you click on the the image, open behaviours panel and select open new browser window. In this you can set the parameters and have a choice of nav, menu bars etc. Hope this helps and that I understood your request.
 
I'm using a flash button so it won't allow me to set any behaviors. But thanks the help you guys! Jay [infinity]
"If the words up and down were reversed, would you trip and fall or trip and fly?"
 
Hi Jay, try this... you might want to play about with it to get it exactly how you want it.


<a href=&quot;#&quot; onClick='window.open(&quot;blank.html&quot;,&quot;look_a_new_window!!&quot;,&quot;toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=200,height=250&quot;)'>test</a>

Pete
 
in the flash button put this as the link in flash....not in html it needs to be added as action script

MM_openBrWindow('url','name','width=300,height=400')


put this in your document head

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);

this will get you a popup with nothing. If you want to add something like the loolbar add &quot;, 'toolbar=yes'&quot; after the &quot;400,&quot; [soapbox]
sleep is good
 
Thanks! Jay [infinity]
&quot;If the words up and down were reversed, would you trip and fall or trip and fly?&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top