Quote:
Originally Posted by EddyTheDog
Can you do an onload popup?
|
yes you COULD, but I think most browsers nowadays disable window.open without a click. Anyway, here's a simple code:
Code:
<script type="text/javascript">
function pop()
{
poppy = window.open("http://www.gfy.com", "mywindow", "location=1,status=1,scrollbars=1,width=1000,height=800");
poppy.moveTo(0, 0);
}
</script>
<body onload="javascript: pop()">
JQuery version:
Code:
$(function(){
window.open(url, windowName[, windowFeatures]);
});
OR you can get creative and add a DOM to trigger events via JQuery with some delay. There are many ways, I used some pretty shitty code some years ago to open several pages by using a... FORM element!