The only thing you want to change is the information in the link. Leave the javascript as is.
Will -----Original Message----- From: The PuterBug [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 6:37 AM To: [EMAIL PROTECTED] Subject: [wdvltalk] Re: open child window help please >Darren, One more question, do I have to change anything ref the width=' + section or do I just leave that alone, just plain leave the code alone after I know where to put it on the page? Thanks so much! Deb >the function that is called to open the window isn't in the page! so you >get an error when you try and open the popup. > >here's a js function i wrote earlier: > > var openWin; > > function winOpen(href, target, width, height) { > if (openWin && !openWin.closed) { > openWin.close(); > } > openWin = window.open(href, target, 'scrollbars,resizable,width=' + > width + ',height=' + height); > } > >then in your link have: > > <a href="amy.html" target="Amy" onclick="winOpen(this.href, > this.target, 400, 400);" >From Amy</a> > >now works for all browsers whether javascript is enabled or not... > >hth, > >darren > ____ . The WDVL Discussion List from WDVL.COM . ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% ____ • The WDVL Discussion List from WDVL.COM • ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: archive@jab.org To unsubscribe send a blank email to [EMAIL PROTECTED]