I have been using a basic JScript popup window with no scrollbars and I'm now trying to produce a window that will open at say 500 px high and scroll.
The code I'm using is:
<script LANGUAGE="JavaScript">
<!--
function openWin(URL,width,height)
{
window.open(URL,"newwindow","height=" + height + ",width=" + width +
",toolbars=no,status=no,location=no,scrollbars=1,resizeable=yes"
;
}
//-->
</script>
and the anchor tag looks like this:
<a href="javascript
penWin('graphics/file.jpg',558,500);">
What happens is the image (width=550,height=800) that opens in the window is resized (but has a scrollbar).
Can someone please tell me where I'm going wrong?
Zumie![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
Visualize whorld peas.
The code I'm using is:
<script LANGUAGE="JavaScript">
<!--
function openWin(URL,width,height)
{
window.open(URL,"newwindow","height=" + height + ",width=" + width +
",toolbars=no,status=no,location=no,scrollbars=1,resizeable=yes"
}
//-->
</script>
and the anchor tag looks like this:
<a href="javascript
What happens is the image (width=550,height=800) that opens in the window is resized (but has a scrollbar).
Can someone please tell me where I'm going wrong?
Zumie
![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
Visualize whorld peas.