Help - Search - Members - Calendar
Full Version: Problems with Full Page Functionality in IE7
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
James471
Check out the link..

http://www.ruedihofmann.com/portfolios/fashion/fashion.html

Here is the code that I have placed in the beginning of the html file. I can't seem to get the resize to work with IE7. Anyone have any tips. I'm a bit of an amateur, so any help would be greatly appreciated!!

Thank you!

--------------
<!-- saved from url=(0013)about:internet -->
<html lang="en">
<head>
<html>
<head>
<title>Ruedi Hofmann</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
function init() {
window.moveTo(0,0);
window.resizeTo(window.screen.availWidth, window.screen.availHeight);
}
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="init();" >
<table width="100%" height="99%">
<tr align="center" valign="middle">
<td>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>fashion_bk_01</title>
<script language="JavaScript" type="text/javascript">

_____

Frederiek
Don't resize the browser on the user! Not everyone likes that; certainly not me! Even then, the page doesn't need a full screen to be viewed correctly.

You do have some validation errors in your html, validate your page at: http://htmlhelp.com/tools/validator/.

Otherwise, allthough that page only uses a Flash animation, I like the way it looks (turning pages like in a photo album).

(BTW, I don't have FF installed on my Mac, so I can't help you in that matter).
Darin McGrew
QUOTE(Frederiek @ Feb 22 2007, 12:05 PM) *
Don't resize the browser on the user! Not everyone likes that; certainly not me!
Amen! There's a reason why better browsers allow users to block the ability for JavaScript to resize/move windows, to manipulate the status field, to hide the address bar, to trap right-click events, etc. And there's a reason why discerning users take advantage of these features.

FWIW, when I go to the posted URL, I get a blank browser window.
James471
I agree with you on that matter, however, that is what the person I am building this page for wants!! I'm not looking to be criticized here, I'm looking for help!! Isn't that what this forum is about???
Darin McGrew
QUOTE(James471 @ Feb 22 2007, 02:40 PM) *
I agree with you on that matter, however, that is what the person I am building this page for wants!!
Have you advised this person about the problems created by such a design?

QUOTE(James471 @ Feb 22 2007, 02:40 PM) *
I'm not looking to be criticized here, I'm looking for help!! Isn't that what this forum is about???
If you look at the top of this page, you'll see "Making the Web accessible to all." If you go to our site's homepage, you'll see "The Web Design Group was founded to promote the creation of non-browser specific, non-resolution specific, creative and informative sites that are accessible to all users worldwide."

If someone asks how to implement an inaccessible, browser-specific, or resolution-specific design, then the best advice we can offer is that they should rework the design so it is accessible, browser independent, and resolution independent.

Regarding your original question, you can't force a browser to do anything. Furthermore, many consider it a feature when a browser prevents web authors from resizing the window.
pandy
From what I hear IE7 adds some of the functionality Darin talks about. Have you checked that there isn't an option in IE7 that prevents resizing? rolleyes.gif

I'd guess there is, because when I tried your page with IE7 through VNC the browser window did resize.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.