D
darkne
Curioso
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Este code se puede usar para pedir que se registre,poner publicidad,errores ect..........
Lo puedes editar con negritas imagenes ect......
HTML:
<-- Popup -->
<SCRIPT>
function getbrowserwidth()
{
if (navigator.userAgent.indexOf("MSIE") > 0)
{
return(document.body.clientWidth);
}
else
{
return window.outerWidth;
}
}
function getbrowserheight()
{
if (navigator.userAgent.indexOf("MSIE") > 0)
{
return(document.body.clientHeight);
}
else
{
return(window.outerHeight);
}
}
var popup = new Object()
function centrar_popup(URL, width, height)
{
var X = getbrowserwidth() / 2
var Y = getbrowserheight() / 2
popup = window.open(URL, 'PopUp',
'scrollbars=yes ' +
'width=' + width + ' ' +
'height=' + height + ' ' +
'top=' + (window.screenTop + (Y - (height/2))) + ' ' +
'left=' + (window.screenLeft + (X - (width/2)))
)
popup.focus()
}
</SCRIPT>
<A href="" onclick="centrar_popup('http://www.WEB.com/', 640, 480);return(false);">TEXTO</A>
<-- Popup -->
Lo puedes editar con negritas imagenes ect......

