Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Development help please! (non Vanilla related, sorry!)
blizeH
✭✭
I figured here would be a good place to ask anyway since most other development forums seem to be blocked at work
I'm currently using a Javascript redirect to point a web address to a different location (window.location) but ideally I need it to open the page in a new window and close the old one... I know it sounds lame, but basically we're developing the human resources section of an intranet, and currently their link puts our website into an absolutely hideous frame and we'd like to lose it if we can :-)
Thanks guys.
I'm currently using a Javascript redirect to point a web address to a different location (window.location) but ideally I need it to open the page in a new window and close the old one... I know it sounds lame, but basically we're developing the human resources section of an intranet, and currently their link puts our website into an absolutely hideous frame and we'd like to lose it if we can :-)
Thanks guys.
0
This discussion has been closed.
Comments
<head> <script language="JavaScript" type="text/javascript"> <!-- function breakout_of_frame() { if (top.location != location) { top.location.href = document.location.href ; } } --> </script> </head> <SCRIPT LANGUAGE="JavaScript"> window.location="hr/new/index.asp"; // --> </script>
Still displaying it in that horrible frame though...