[Javascript] Auto scrolling

ClydeList at cs.com ClydeList at cs.com
Thu Feb 13 12:02:44 CST 2003


To prevent autoscrolling, place the function outside the <BODY> of your HTML 
document. The following works for me.

<html>
<head>
<title></title>

<SCRIPT LANGUAGE="JavaScript">
        function winopen(url,stuff,morestuff) {
        {var popup=window.open(url,stuff,morestuff);}
        popup.focus()
        }
    </SCRIPT>
</head>
<body >
<a class="lnk" 
href="javascript:winopen('notes/nli.htm','popup','width=555,height=5,menubar=n

o,scrollbars=yes,resizable=yes,location=no');"><img src="images/note.jpg" 
width=5 height=5 alt="Source!"></a>
</body>
</html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20030213/d81f88f5/attachment.htm>


More information about the Javascript mailing list