sumitshahmphasis
asked on
Window reload when the user change the screen resolution.
Hi,
Can any body help me.
I want to reload the page when a user changes his screen resolution (800 x 600) to (1024 x 768) and vice versa.
This can be done using javascript. Does any one have a browser compatible code snippet of this functionality.
Pls reply if you have such.
Thanks,
Sumit Shah.
Can any body help me.
I want to reload the page when a user changes his screen resolution (800 x 600) to (1024 x 768) and vice versa.
This can be done using javascript. Does any one have a browser compatible code snippet of this functionality.
Pls reply if you have such.
Thanks,
Sumit Shah.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The onresize event is only fired when changing the screen resolution if the window is too large to fit the new resolution. This is, however, assuming that sumitshahmphasis indeed meant the screen resolution, and not simply the window size.
Hello Venabili
I think this one slipped through the cracks - I don't see it ever being closed :-)
I think this one slipped through the cracks - I don't see it ever being closed :-)
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
SPLIT PeterCN, _aaron_ -- http://Q_21113291.html#11939648, http://Q_21113291.html#11939800
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
dakyd
EE Cleanup Volunteer
I will leave the following recommendation for this question in the Cleanup topic area:
SPLIT PeterCN, _aaron_ -- http://Q_21113291.html#11939648, http://Q_21113291.html#11939800
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
dakyd
EE Cleanup Volunteer
Seems odd that the Author didn't respond to the onresize solution, it fires each time the window / screen is resized; its a fairly simple solution to a fairly simple problem... In relation to browser compatibility, the onresize is core to most ( if not all ) browsers ( as far as I am aware )...
Thanks,