J
Jonathan
Hi
I open a new window using a javascript function:
function nw(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
which I call thus:
<a href="javascript:nw('images/st_pauls.jpg','','top=30,left=30,width=733,height=550,scrollbars=no')"
It works fine in Netscape, IE, and Safari, but in Mozilla I always get
a small gap at the top and left, like a table cell with padding on
only two edges. Does anyone know why this is, and what I can do to
fix it?
It shouldn't have any border or padding. Thanks!
One other thing I also noticed was that the Window Name (currently
blank) will not accept spaces in certain browsers, that's why I left
it out. I don't need to do anything with the window once it is open,
so don't see this as a problem.
PS Having looked through the newsgroup messages I realise this may not
be the best way to open a new window (i.e. only using javascript), and
will probably change it to be non-javascript friendly at some later
stage.
I open a new window using a javascript function:
function nw(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
which I call thus:
<a href="javascript:nw('images/st_pauls.jpg','','top=30,left=30,width=733,height=550,scrollbars=no')"
It works fine in Netscape, IE, and Safari, but in Mozilla I always get
a small gap at the top and left, like a table cell with padding on
only two edges. Does anyone know why this is, and what I can do to
fix it?
It shouldn't have any border or padding. Thanks!
One other thing I also noticed was that the Window Name (currently
blank) will not accept spaces in certain browsers, that's why I left
it out. I don't need to do anything with the window once it is open,
so don't see this as a problem.
PS Having looked through the newsgroup messages I realise this may not
be the best way to open a new window (i.e. only using javascript), and
will probably change it to be non-javascript friendly at some later
stage.