Resizing Iexplorer using Html

admin

Administrator
Staff member
Is there any way of re-sizing Iexplorer using HTML?<br />
<br />
I am loading a .jpg file with links into Iexplorer, the problem is, the .jpg file is not a convensional size, so I was wondering if there is a way, using html, to resize the opening iexplorer page so that it fits snuggley around my nice lil .jpg?<br />
<br />
All help is muchly aprehciated.<br />
<br />
shakie<!--content-->only with javascript, but you cannot resize the users default browser. the only brwoser window you can resize is the one the you open with javascript from your site.<!--content-->Thank you.<br />
<br />
do you know, by purchance, what the code is for the javascript please?<br />
<br />
Ta<br />
<br />
Shakie :D<!--content--><HTML><br />
<HEAD><TITLE>COOL!</TITLE><br />
<SCRIPT><br />
function win()<br />
{<br />
window.open("cool.htm","","height=500,width=500");<br />
}<br />
</SCRIPT><br />
<BODY onLoad="win();"><br />
</BODY><br />
</HTML><br />
<br />
just change the 500's to any size you want.<!--content-->Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you <br />
<br />
yorra life saver<br />
<br />
:rocker: do tha mambo <br />
<br />
Cheers Shakie<!--content-->Maybe I'll use that code. But I don't like javascript all that much.<!--content-->Originally posted by scoutt<br />
the only brwoser window you can resize is the one the you open with javascript from your site<br />
You can resize any window using this script<br />
<br />
window.resizeTo(width,height)<br />
<br />
Just change the width and height to the desired values.<!--content-->yes I realize that, but what point would it make if the webmaster changed your default window to a 400x400 window, that would piss me off to no means and I would never visit again. it doesn't serve any purpose to resize the users default browser window.<br />
<br />
besides he said using html and that is not html.<!--content-->Just a bit of musing to tack onto the end of this. It's funny how often we spend hours designing something to ensure it looks the same in NS 4.xx as it does in IE 5/6 or NS 7, yet we happily throw JavaScript into web pages at the drop of a hat.<br />
<br />
My point? Well I'm so glad you asked. Of course you asked - if you didn't ask now you would have soon. Anywayyyyy.....<br />
<br />
NS 4.xx makes up about 2% of those out there surfing the web, maybe even a few more, say up to 5%. And for those 2 to 5% we slave our guts out (or used to ;) ) to get our pages looking just tiddly poo for them. Oh so pretty, oh so pretty, oh so pretty vacant. Oops, last word wasn't meant to be there.<br />
<br />
However, and I'll repeat it again with emphasis, HOWEVER, we also freely included things requiring javascript into our web pages but do NOT take into account that at most counts 11 to 12% of users surf with JavaScript turned OFF.<br />
<br />
In other words, we stress and sweat over about 5% of users because they drive an antique browser, but to fully 11% of users we say, "stick it where the sun don't shine and do as we do or dip out on our web site." Or words to that effect.<br />
<br />
Just a thought.<br />
<br />
Neil<br />
<br />
PS: Some sources for the figures:<br />
<br />
* <!-- m --><a class="postlink" href="http://www.w3schools.com/browsers/browsers_stats.asp">http://www.w3schools.com/browsers/browsers_stats.asp</a><!-- m --><br />
<br />
* <!-- m --><a class="postlink" href="http://www.thecounter.com/stats/2002/November/browser.php">http://www.thecounter.com/stats/2002/No ... rowser.php</a><!-- m --><br />
<br />
* <!-- m --><a class="postlink" href="http://www.thecounter.com/stats/2002/November/javas.php">http://www.thecounter.com/stats/2002/November/javas.php</a><!-- m --><!--content-->Thank you for all the help guys, though I have now hit on another snag.<br />
<br />
Using the said script, it not only opens one new window to my specs, it opens a further 36. Needless to say, I am wondering what i am doing wrong, or how i can prevent this?<br />
<br />
Could this be something to do with the version of iexplorer i am using?<br />
<br />
Ta in advance<br />
<br />
Shakie<br />
=:O<!--content-->Of course.....<br />
you tell with onload to load THE SAME page<br />
and it does<br />
and again on load: the same page<br />
and so on....<br />
The window to be opend has to be: secondpage.html<br />
<br />
Or use window width/height<br />
see attachment.<br />
:rocker: :rocker:<!--content-->Thank you<br />
<br />
Most helpful, worked first time. Yippppeeeeee!!!<br />
<br />
Shakie:D<!--content-->
 
Back
Top