Forum Moderators: open
<a href="file:///C:\My Documents\manga\jiofreed.htm" onclick="window.open('file:///C:\My Documents\manga\jiofreed.htm','width=771',
'with=317','resizeable=no','toolbar=no','location=no',
'menubar=no','scrollbars=no')">Jio Freed</a>
I really don't know what I'm doing wrong :( So if anyone can help it would be appreciated :)
[edited by: tedster at 5:36 pm (utc) on May 17, 2004]
[edit reason] fix side-scroll [/edit]
Don't quote the property/value pairs individually
(changed 'with' to 'height')
Needs 3 arguments, included 2nd arg, the name of the window.
<a href="file:///C:\My Documents\manga\jiofreed.htm"
onclick="window.open('file:///C:\My Documents\manga\jiofreed.htm','windowName','width=771,height=317,resizeable=no,toolbar=no,location=no,menubar=no,scrollbars=no');return false;">Jio Freed</a>
The 'return false' stops the URL in the href being followed.
Keep the href URL. The link will work in some form
even if JS is disabled.
[edited by: tedster at 5:37 pm (utc) on May 17, 2004]
[edit reason] fix side-scroll [/edit]