beebumble
12-10-2003, 09:12 AM
i need a script that will detect the browser on load and consequently resize the window to one size if explorer and a different size if navigator. i hope this question is not to elementary. thanks for your help.
|
Click to See Complete Forum and Search --> : how to: on load detect browser then resize beebumble 12-10-2003, 09:12 AM i need a script that will detect the browser on load and consequently resize the window to one size if explorer and a different size if navigator. i hope this question is not to elementary. thanks for your help. Gollum 12-10-2003, 09:37 AM Bear in mind that there are more browsers than IE and Netscape, but this will do what you ask... if ( document.all ) window.resizeTo(300,400); // IE size else window.resizeTo(400,300); // others webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |