Hi Brad: Well finally tried what you suggested.
>>>>>>>>> 'key_data' => ["<a href=\"javascript: openWindow(\"http://www.domain.com/file.html\",\"win\", 400, 400);\">?<\/a>"] >>>>>>>>> Unfortunately when I click on the "?" nothing happens. I don't see any javascript error from IE when I load the page. So it's not the javascript openWindow() I put in. Any other ideas. Cheers. > -----Original Message----- > From: Brad Kowalczyk [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 4 November 2003 10:44 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [SLUG] Removing Toolbars etc.. from browser window > > > [EMAIL PROTECTED] wrote: > > >Hi : > > > >I've tried this in the perl script with no luck. Here is > what I did. I > >have this after reading replies I got. > > > >$javascriptwin = "<script language=\"JavaScript\"> > >function openWindow(u, n, w, h) > >{ > > var win = window.open(u, n, \"toolbar=no,location=no,\"+ > > > \"status=no,menubar=no,scrollbars=yes\"+ > > \"width=\"+w+\",height=\"+h); > >} > ></script>"; > > > >In the hash that has the <a> is pasted below: > > > >%hashdata = ( > >... > >'key_data' => ["<a href=\"\" > >onclick=\"openWindow(\"http://www.domain.com/file.html\",\"wi > n\", 400, > >400); return false;\">?<\/a>"], .... > >); > > > >This does not open a new window at all. I also do not even see the > >contents of the file as well. > > > >Have I missed something here? > > > > > rather than using the onclick event try: > > 'key_data' => ["<a href=\"javascript: > openWindow(\"http://www.domain.com/file.html\",\"win\", 400, > 400);\">?<\/a>"] > > > cheers, > Brad > -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
