Un saluto a Voi tutti.
vorrei poter implemetare nella funzione doRedirect la parte di codice per centrare la finestra in apertura.
È possibile?
Grazie per l'eventuale interessamento.
Ciao a Tutti Voi.
Giovanni
<head>
<script type="text/javascript">
<!--
function doRedirect() {
location.href = "http://www.google.it";
}
window.setTimeout("doRedirect()", 1000);
//-->
</script>
</head>
Centra finestra da implementare nella doRedirect
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="jquery.popupWindow.js"></script>
</head>
<body>
Google </p>
<script type="text/javascript"> $('.example3demo').popupWindow({ centerScreen:1 });
</script>
</body>
</html>