Re: document target question ?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: document target question ?

From: Mel <mel.m.heravi@hp.com>
Date: Wed Aug 03 2005 - 15:29:29 CEST

apologies;

no harm intended. will follow the suggestion

"RobG" <rgqld@iinet.net.auau> wrote in message
news:42f0be8b$0$11939$5a62ac22@per-qv1-newsreader-01.iinet.net.au...
> Mel wrote:
> > i Have:
> >
> > <script
language=JavaScript>document.location=http://www.xxx.com</script>
>
> Language is depreciated, type is required.
>
> String literals in JavaScript must be quoted
>
> DO NOT post porn sites as sample URLs or within any part of a post or
> even play code - keep it for alt.binaries or elsewhere. Some of us
> work in corporate environments where inadvertently clicking on such
> links can lead to disciplinary action (IT administrators in government
> sites just /love/ hunting down contractors for whatever they can get
> you for).
>
> Do no attempt the 'solution' posted above.
>
> >
> > how can i specify "target=_top" in above script ?
>
> <script type="text/javascript">
> top.location.href = "http://www.apple.com";
> </script>
>
> <URL:http://www.quirksmode.org/js/framebust.html>
>
> --
> Rob
Received on Tue Oct 18 03:04:49 2005