View Full Version : Popups smaller than 100px?


Tara
02-05-2003, 02:30 AM
I'm sure it must be possible to have popup windows smaller than 100px, but I can't for the life of me get this one to work.

<script language="javascript">
function showme()
{
opening=window.open("showme.html","popup",'toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=yes,resizable=no,copyhistory =yes,width=320,height=53 left=20 top=20');
}

</script>

The height's 53px, but it opens the window with a height of 100px. It's nothing to do with showme.html, either, I've tried using it as a blank page. I've also played with scrollbars on, off, and auto, and can't figure out what else I could be doing wrong! It's in the head and everything, and works fine elsewise, it's just determined to stay at 100px high. I'm sure it's something simple, but I can't see it..

Thanks!

lefty
02-05-2003, 02:36 AM
You should have commas after your numbers in there... don't know if that's the problem, but just something I noticed that might be something.

width=320,height=53, left=20, top=20

see if that works. Something must work, I know they can be smaller than 100px!

Tara
02-05-2003, 02:46 AM
Okay, fixed that up, for neatness' sake, though it didn't fix the problem :/ There are a heap of other popups in the layout, too, they all work fine, are the right size, etc.. but, of course, none of them are under 100px ;P

Thanks for trying!

lefty
02-05-2003, 02:48 AM
shucks. hehe. Mind posting a link to the page?

Tara
02-05-2003, 02:51 AM
It doesn't exist at the moment, my server's down >.< I'm adding things with notepad, saving it to my computer until the server's back up. Sorry, I know that always helps in determining the problem. Hee, I'm digging myself a hole, here :/

Kaliyoda
02-05-2003, 09:18 AM
One thing to be aware of is that many people running pop up killers to filter out unwanted adds will have them set to kill pop up windows under a certain size.

100px would certainly fall into this category.

Just a thought.