Forum index / Computers / Does anyone know some code for..

Does anyone know some code for..

6 posts · page 1 of 1

post #1
22 April 2005, 08:27 UTC#1
I have a code to redirect ppl to anothe page, the things is, this code is in one of many pages on a frameset, and I need it to open on top of them all, and not just the windows its in

So I need the redirect code, but with a target option on there... anyone got or know of this code?
post #3
22 April 2005, 10:17 UTC#3
there is a load of diffrent ways of doing it, I just cant find any with a target option
post #4
22 April 2005, 11:23 UTC#4
Hmmm, I've never done the target option so I have no fucking clue.

I'll fiddle around with php, but the best I could figure out with simple javascript and html is as follows....

http://homegrownforums.com/bleet/

Click link, javascript popup appears which redirects to the page which you set it as.

Alternatively, I'll have a fiddle, but I've never seen this done before...


The code for that is...Insert in your main page;

CODE <script language="JavaScript">
 function popup_window() {
   window.open('Link to page with redirection script in here', 'popup', 'width=800,

height=600, menubar=no, scrollbars=no, toolbar=no, location=no, resizable=yes, top=, left=');
 }
</script>
<a href="" onclick="popup_window(''); return false;">Click this link</a>


Then for the redirection just add

CODE <script language="JavaScript">
 window.location = 'http://link to desired location here';
</script>


This probably is not what you want, but whichever

post #5
22 April 2005, 13:13 UTC#5
nope, dont need any of them lol


I need to page to redirct its self, and go into a diffrent target window.............

fuck it ppl will have to press a button to leg them selfs in
post #6
22 April 2005, 13:17 UTC#6
FUCK U IM NOT GONNA PRESS NO FUCKING BUTTON!!!











jk I would love to press your buttons lol