Welcome to WebmasterWorld Guest from 54.166.102.61

Forum Moderators: incrediBILL

Auto Window Maximize

Any negatives to using this script?

   
7:59 pm on Oct 5, 2002 (gmt 0)

10+ Year Member



Are there any negatives to using the following script:


<script language="Javascript">
<!--
window.moveTo(0,0)
window.resizeTo(screen.width,screen.height)
//-->
</script>

Would this cause a problem in any browsers that don't understand this code? I know that It doesn't work in AOL, but it does not seem to have any negitive effects either.

What are your thoughts?

dhdweb

8:01 pm on Oct 5, 2002 (gmt 0)

WebmasterWorld Senior Member keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Those users who use dual monitors may take issue with it.

8:09 pm on Oct 5, 2002 (gmt 0)

10+ Year Member



Would it try to spread the window across both monitors?
8:13 pm on Oct 5, 2002 (gmt 0)

WebmasterWorld Senior Member keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



I'm not using a dual set-up so I can't say, but it looks like it would.

8:16 pm on Oct 5, 2002 (gmt 0)

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member



personal experience tells me that they never work properly. They always seem to draw the size of the screen which doesn't take into account the windows bar at the bottom. I can't move the darn thing. I usually nuke it. I personally hate them and deactivated it in moz.

Why would you need to maximize the page?

8:19 pm on Oct 5, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It may work, but your users will hate you. :-)
8:25 pm on Oct 5, 2002 (gmt 0)

10+ Year Member



Are there any negatives to using the following script:

Many people will NOT like it.

(I suspect you know this already and just want confirmation.)

gph

8:30 pm on Oct 5, 2002 (gmt 0)

10+ Year Member



I have the windows task bar on top of the screen (closer to most program controls). Lots of people use toolbars such as MS Office and put them wherever they want.

I think a better idea is to design to unobtrusively fit in any sized browser window rather than forcing the window to fit your page.

Just a guess, is this an image site?

8:43 pm on Oct 5, 2002 (gmt 0)

10+ Year Member



It will not maximize accross both monitors in a dual monitor setup, but some popup and maximize scripts default to the primary monitor, so if the current window is in the secondary monitor and your maximize script is activated, it may cause the window to shift to the primary monitor, or to open a new window in the primary monitor. Either way I find them a pain in the butt.
8:49 pm on Oct 5, 2002 (gmt 0)

10+ Year Member



'nuff said

I think I will just let the users maximize on thier own if they wish!

At the time it seemed like a cool idea, but after thinking about it and reading the posts I am canning the idea! oh well :)

Thanks for comfirming my thoughts.

dhdweb

8:54 pm on Oct 5, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Perhaps you could add a button ("See Full Screen" or some such) to the web page with the code. That way the user has a choice.
10:21 pm on Oct 5, 2002 (gmt 0)

10+ Year Member



Most users does not prefer their browser being "hijack" ... its kinda annoying. Haven't you encounter a site like that before other than your site?
 

Featured Threads

Hot Threads This Week

Hot Threads This Month