Old 10-28-2005   #1 (permalink)
Registered User
 
mmjosh1010's Avatar
 
Join Date: Oct 2005
Location: Devon, England
Posts: 26

Send a message via ICQ to mmjosh1010 Send a message via AIM to mmjosh1010 Send a message via MSN to mmjosh1010 Send a message via Yahoo to mmjosh1010
Redirect into new window

Hello, does anyone know how I can redirect a page but get the new page to open in a new window? I know I could just make it pop-up but I want there to be a 3 second delay between the page being loaded and the new page opening. Thanks.

__________________

Email - mmjosh1010@aol.com
mmjosh1010 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-28-2005   #2 (permalink)
Invicible Snake
 
ParaSnake's Avatar
 
Join Date: Sep 2004
Location: Ho Chi Minh City,Vietnam
Posts: 668

Send a message via MSN to ParaSnake Send a message via Yahoo to ParaSnake
try to use this,i`m not sure because i havent tried it yet
Code:
<META http-equiv="refresh" content="3;URL=http://ursite.com" target="_blank">
Tell me if it works or not,i need to know too,and sorry if it cant work
__________________
ParaSnake is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-28-2005   #3 (permalink)
hmmmmmmm......
 
Join Date: Sep 2005
Posts: 22

Quote:
Originally Posted by ParaSnake
Code:
<META http-equiv="refresh" content="3;URL=http://ursite.com" target="_blank">
i think it should work
but is it href="" or url=""?
jumbosheep is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-29-2005   #4 (permalink)
Registered User
 
mmjosh1010's Avatar
 
Join Date: Oct 2005
Location: Devon, England
Posts: 26

Send a message via ICQ to mmjosh1010 Send a message via AIM to mmjosh1010 Send a message via MSN to mmjosh1010 Send a message via Yahoo to mmjosh1010
No it didnt work any other ideas?
__________________

Email - mmjosh1010@aol.com
mmjosh1010 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-29-2005   #5 (permalink)
Registered User
 
Join Date: Oct 2005
Posts: 25

Well.... this "<META http-equiv="refresh" content="3;URL=http://ursite.com" target="_blank">" is the way to refresha a page with meta.. but it doesnt support 'target' or i didnt know something like this.... but you can use some javascripts ....


<script>

//refresh time is in "minutes:seconds"
var timer="0:03"

if (document.images){
var something=timer.split(":")
something=something[0]*60+something[1]*1
}
function refreshtime(){
if (!document.images)
return
if (something==1){
window.location.reload()
//HERE's The call of the popup function....
}
else{
something-=1
currentminutes=Math.floor(something/60)
currentsec=something%60
if (currentminutes!=0)
currenttime=currentminutes+" minutes and "+currentsec+" seconds until page refresh!"
else
currenttime=currentsec+" seconds left until page refresh!"
window.status=currenttime
setTimeout("refreshtime()",1000)
}
}

window.onload=refreshtime
//-->
</script>


This is a Javascrpit that refreshs your page 3 sec's later when you open the page.... maybe you'll need something like "javascript:window.close();" to close the window.... or maybe not.... and now it's time for the popup you have mentioned... I'll let you to do it yourself so you can make it work how yo u want... but... i'm not sure you'll want to make it so complicated and unreliable way.... Maybe if you say some more information about what's the site and why you have to do something like this we'll find better way to do it...

Respect ! ! !
__________________
The Impossible Takes Me Time....
AnachroNia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-29-2005   #6 (permalink)
code anyone?
 
scrowler's Avatar
 
Join Date: Feb 2004
Location: New Zealand
Posts: 590

Send a message via MSN to scrowler Send a message via Skype™ to scrowler
Code:
<script>
window.open("redirectpage.html", "_blank", "");
</script>
?
scrowler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-29-2005   #7 (permalink)
Invicible Snake
 
ParaSnake's Avatar
 
Join Date: Sep 2004
Location: Ho Chi Minh City,Vietnam
Posts: 668

Send a message via MSN to ParaSnake Send a message via Yahoo to ParaSnake
seem like scrowler got the point,i forgot that little function lolz
__________________
ParaSnake is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-29-2005   #8 (permalink)
Registered User
 
mmjosh1010's Avatar
 
Join Date: Oct 2005
Location: Devon, England
Posts: 26

Send a message via ICQ to mmjosh1010 Send a message via AIM to mmjosh1010 Send a message via MSN to mmjosh1010 Send a message via Yahoo to mmjosh1010
Yep thanks scrowler!!!!! its worked
__________________

Email - mmjosh1010@aol.com
mmjosh1010 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-29-2005   #9 (permalink)
code anyone?
 
scrowler's Avatar
 
Join Date: Feb 2004
Location: New Zealand
Posts: 590

Send a message via MSN to scrowler Send a message via Skype™ to scrowler
cool. no problem. .
__________________
BioRUST Tutorials - the birthplace
scrowler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Centering In Window GoldNetX HTML / PHP / ASP / JS 2 07-12-2004 03:29 AM


All times are GMT +1. The time now is 02:33 AM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT