At 12:25 PM 8/28/2002 +0100, you wrote: >On Wednesday, August 28, 2002 at 11:57, The PuterBug wrote: > >TP> HELP PLEASE! I've spent the last 3 hours working on this and nothing I >TP> do makes it work. The url is above. What happens is that I finally >TP> got it coded so that I don't get a javascript error on the page. >TP> However, the child window doesn't open either :( I am totally lost >TP> with javascript so I don't know how to fix this. I've tried two different >TP> "open browser window" code extensions and neither of them, no matter >TP> what I do, will work. > >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 >
Darren, Would you please tell me where to put this code? I haven't a clue! Do I replace what's there? Add it to the header? Thanks, Deb ____ • 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]