On Thu, 09 Dec 2004 17:08:26 GMT, Jan Faerber
<jancfaerber_spider@monkey_hotmail.com> wrote:
> Is it possible to make something like this?...:
>
> <SCRIPT LANGUAGE="JavaScript">
The language attribute is deprecated: use type.
> function openWindow(url, name, x, y) {
> popupWin = window.open(url, name,
> "width=x,height=y,history=yes,resizable=yes,status =no,scrollbars=yes,
> menubar=no");
> }
> </SCRIPT>
>
> On the link: <A
> HREF="javascript
penWindow('sound.html','Win','30 0','300')">
<script type="text/javascript">
var popup;
function openWindow(link, x, y) {
popup = window.open(
link.href,
link.target,
'history,resizable,scrollbars,width=' + x + ',height=' + y
);
}
</script>
<!-- ... -->
<a href="sound.html" target="Win"
onclick="openWindow(this, 300, 300); return false;">
Mike
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.