Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Javascript Window |
| From: | Jeff Talbot |
| Date: | Wed, 11 Aug 1999 11:46:22 +0100 |
Hi Jennifer,
here is a snippet of js code that I use for my site which pops up
pre-sized and positioned windows:
Paste into the head:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function Start1(page) {
OpenWin = this.open(page, "CtrlWindow",
"toolbar=no,menubar=no,location=no,scrollbars=no,resize=no,width=283,h
eight=400,left=10,top=10");
}
// End -->
</SCRIPT>
Paste into the body:
<A HREF="javascript:Start1('yourdoc.htm')"></A>
</BODY>
This method allows for as may pre-defined windows as you like (by
duplicating the function and renaming 'Start2, Start3, etc). Using an
html page rather than a movie as the pop-up source gives more control
over the content. Works absolutely fine in NN4.6 and is okay in IE 4.5
but it ignores the position attributes :(
BTW, hundreds of sample scripts and demo's available at:
http://javascript.internet.com
HTH
Jeff
> There have been many variations of javascript code posted to open a new,
> sized, and placed window. I can't get any of these to work with NN
> however. Is this just a NN quirk or is there a workaround. All of the
> scripts work wonderfully in IE. Please help.
>
--
"Anyone who isn't confused really doesn't understand the situation."
______________________________________________________________________
J. Talbot DESIGN * TRAINING * CONSULTANCY
Tel/fax: +44 (0)1903 821872 * Mobile: 07808 446198
Pager: 0336 745669 * email: jtalbot
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

