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

make eXplorer windoW smaLl

Status
Not open for further replies.

natedeia

Technical User
May 8, 2001
365
US
i would like to have the effect of those irritating pop ups, the ones that can not be resized. like the one you see alot about the little digital camera, home security, etc. i want a button to link to a new page that pops up and is say the size of 400 X 400 or so. know what i am talking about? thank in advance!
 
<Script Language=&quot;Javascript&quot;>
<!--
function info()
{
window.open(&quot;Page.htm&quot;,&quot;new2&quot;,&quot;channelmode=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizeable=no,width=275,height=350,top=5,left=5&quot;);
}
//-->
</SCRIPT>

Now call this function from wherever you want, such as the onload event or from a button.
 
well actually i am working in flash 5.0 and was wondering if anyone knew off hand how to size the window from the source code of that window. do you know? i have been busy with so much other stuff and love coming here because it can be very helpful. thanks much!
 
Nate,

You'll need reference to that flash window to make changes to it. Can you post the code that is generating the flash window now ??

ToddWW
 
<HTML>
<HEAD>
<TITLE>popup</TITLE>
</HEAD>
<BODY bgcolor=&quot;#CCCCCC&quot;>
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;
codebase=&quot; WIDTH=300 HEIGHT=275>
<PARAM NAME=movie VALUE=&quot;popup.swf&quot;> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#CCCCCC> <EMBED src=&quot;popup.swf&quot; quality=high bgcolor=#CCCCCC WIDTH=300 HEIGHT=275 TYPE=&quot;application/x-shockwave-flash&quot; PLUGINSPAGE=&quot;</OBJECT>
</BODY>
</HTML>



THANKS!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top