PDA

View Full Version : page/window parameters



frenchy06
03-01-2008, 03:19 PM
Somebody can help me to finish these under codes to put my personal website
online, by advance thanks a lot.

would like do a new page or window having size 766x750 centered without any ugly
scrollbars, menubar, statusbar, no resizable and so on...

CODE N1
<head>
<script language="Javascript">
var time = null
function move() {window.location = 'mapageaouvrir.html'} +there parameters for size,centered,no scrollbars, and so on...
<script>
</head>

avec dans body
<body onload="timer=setTimeout('move()',1)'}

CODE N2
<head>
<script language="Javascript">
var winxpos = (window.screen.width-766)/2;
var winypos = (window.screen.width-750)/2;
window.resizeTo(766,750);
window.moveTo(winxpos,winypos);
function simpleScreen(theURL)
{window.open(url, ", 'width=766 height=750');} +there parameters for no scrollbars,no statusbar,no resizable and so on
<script>
</head

thanks for replies to my email crisware@free.fr

Frenchy