PDA

View Full Version : Resizing Windows


+ay-dee
03-01-2006, 09:05 PM
http://users.nexopia.com/uploads/111/111276/example.PNG
i was just wondering what the html code is to make a window a specified width and height.
i've found numerous codes for this, but it requires clicking on a link.
is there any way that the window can automatically be re-sized without using a link?
cause...
the thing i'm trying to link it from is a website that uses tags.
and since the only way you can post a like is with the thing...you can't really put the "onclick" function on there.
so i would like to link the page with the page already resized.
thanks,
april.

+ay-dee
03-01-2006, 09:17 PM
<HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>+ay-dee@nexopia.com</title>
</head>
<body bgcolor=#ffffff>
<!--url's used in the movie-->
<!--text used in the movie-->
<!--
00:00
55
-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="370" height="90" id="audioplayer3" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="audioplayer3.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="audioplayer3.swf" quality="high" bgcolor="#ffffff" width="370" height="90" name="audioplayer3" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</SCRIPT>
</BODY>
</HTML>


this is my code.
sorry.
i forgot to include it.
i'm kinda a n00b hahaha.

Disturbed
03-01-2006, 09:19 PM
Do you want it to be flash? or like a pop-up or just a NORMAL page

_Aerospace_Eng_
03-01-2006, 09:19 PM
The only option you have is this
<script type="text/javascript">
window.resizeTo(370,120);
</script>
That will go in between the head tags on the page that has the flash.
You won't be able to disable the scrollbars, menubars, or toolbars, etc..

+ay-dee
03-01-2006, 09:22 PM
Do you want it to be flash? or like a pop-up or just a NORMAL page
it's a flash thing that i want on the website.
that pops up.

+ay-dee
03-01-2006, 09:23 PM
The only option you have is this
<script type="text/javascript">
window.resizeTo(370,120);
</script>
That will go in between the head tags on the page that has the flash.
You won't be able to disable the scrollbars, menubars, or toolbars, etc..
but it will still re-size right?

Disturbed
03-01-2006, 09:31 PM
Yes, that will

+ay-dee
03-01-2006, 09:33 PM
thanks very much!
you guys are great!