homepage Welcome to WebmasterWorld Guest from 54.227.171.163
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Auto Window Maximize
Any negatives to using this script?
dhdweb

10+ Year Member



 
Msg#: 3460 posted 7:59 pm on Oct 5, 2002 (gmt 0)

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

 

keyplyr

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



 
Msg#: 3460 posted 8:01 pm on Oct 5, 2002 (gmt 0)

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

dhdweb

10+ Year Member



 
Msg#: 3460 posted 8:09 pm on Oct 5, 2002 (gmt 0)

Would it try to spread the window across both monitors?

keyplyr

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



 
Msg#: 3460 posted 8:13 pm on Oct 5, 2002 (gmt 0)

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

jatar_k

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



 
Msg#: 3460 posted 8:16 pm on Oct 5, 2002 (gmt 0)

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?

dcheney

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3460 posted 8:19 pm on Oct 5, 2002 (gmt 0)

It may work, but your users will hate you. :-)

Longhaired Genius

10+ Year Member



 
Msg#: 3460 posted 8:25 pm on Oct 5, 2002 (gmt 0)

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

10+ Year Member



 
Msg#: 3460 posted 8:30 pm on Oct 5, 2002 (gmt 0)

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?

Axacta

10+ Year Member



 
Msg#: 3460 posted 8:43 pm on Oct 5, 2002 (gmt 0)

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.

dhdweb

10+ Year Member



 
Msg#: 3460 posted 8:49 pm on Oct 5, 2002 (gmt 0)

'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

dcheney

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3460 posted 8:54 pm on Oct 5, 2002 (gmt 0)

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.

copongcopong

10+ Year Member



 
Msg#: 3460 posted 10:21 pm on Oct 5, 2002 (gmt 0)

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?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved