PDA

View Full Version : Maximized Window


saurup
01-16-2001, 05:22 AM
Can i open a maximized window through the javascript "open" method ????

Detlef
03-14-2001, 07:02 PM
<script>
<!--
/*Full screen window opener script: Written by Website Abstraction (www.wsabstract.com) More free scripts here*/
function winopen(){
var targeturl="http://xxx.htm"
newwin=window.open("","","scrollbars")
if (document.all){
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
}
newwin.location=targeturl
}
//-->
</script>

Recently, I found the above noted script, and it works with both IE and Netscape.
Though, I donīt recommend it, because it scares unexperienced surfers.

whkoh
03-14-2001, 09:20 PM
<script>
<!--

/*
Full Screen Window Opener Script-
Đ Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

function fullwin(targeturl){
window.open(targeturl,"","fullscreen,scrollbars")
}
//-->
</script>

<form>
<input type="button" onClick="fullwin('http://www.dynamicdrive.com')" value="Open window">
</form>