jezthompson12_nt — 2010-06-29T10:53:30-04:00 — #1
Not what i would like but the client wants the browser re-sized on the site loading/refreshing...
Been using the following and it works fine.... apart from in Safari.
Any idea how i can get it working in Safari, or no chance?
immerse — 2010-06-30T09:49:10-04:00 — #2
Yeah, so the windows resizes to 912x684 and then no one is happy
markdidj — 2010-06-30T09:17:18-04:00 — #3
LOL. One tab wants to be 800x600, the other 1024x768. I haven't used resizeTo for so long I didn't even think of that scenario!
siteguru — 2010-06-30T03:49:23-04:00 — #4
Like the anti-drugs message goes ... Just Say No!
felgall — 2010-06-29T15:45:46-04:00 — #5
It will be very annoying for those who don't know where to find the option in their browser to turn off your ability to do that.
It will also totally mess up all the other pages loaded in the other tabs in their browser at the same time - even worse if some of those pages do the same thing.
c2uk — 2010-06-29T12:42:19-04:00 — #6
please, I urge you to try and convince your client that this isn't in his best interests (unless this is for some internal/intranet app)
immerse — 2010-06-29T16:58:58-04:00 — #7
The resizeTo() function is disabled in Safari (Chrome too, I think) unless you open a popup which contains only the one page (i.e. provide a width and height for the pop-up window). Of course, this may be blocked by ad/ pop-up blockers.
Best solution? Don't resize the window