keifer 0 Report post Posted December 27, 2004 Im not sure if this is the correct palce to post this but anyway. I was wondering if there was a way to control the time your original page is displayed before it redirects to the site. eg. Like say i want site1.html to redirect to site2.html but i want site1.html to display 5 seconds instead of going directly to site2.htmlIf C-Panel cant do that does anyone know how i can do this? I know javascript can do it but i dont know how to write javascipt.Thanx in advancekeifer Share this post Link to post Share on other sites
serverph 0 Report post Posted December 27, 2004 well... i use the meta tag refresh. you can try that. sample code below is set for a 10 second delay before redirection to another page. just change tag settings accordingly. just remember to place the meta tag refresh anywhere BETWEEN the <head></head> tags. example: SITE1.HTML <html> <head> <meta http-equiv="Refresh" Content="10;URL=http://forums.xisto.com/no_longer_exists/; <title>your site title goes here</title> </head> <body> ....etcetera Share this post Link to post Share on other sites
keifer 0 Report post Posted December 27, 2004 well... i use the meta tag refresh. you can try that. sample code below is set for a 10 second delay before redirection to another page. just change tag settings accordingly. just remember to place the meta tag refresh anywhere BETWEEN the <head></head> tags. That didnt work. It redirected it ok but there was no delay. I set it for 30 to make sure and still didnt work. Share this post Link to post Share on other sites
serverph 0 Report post Posted December 27, 2004 post your code and we'll see if there is any error. my code works fine on my end. Share this post Link to post Share on other sites
keifer 0 Report post Posted December 28, 2004 Here is the code of the whole page. <html>[br][/br]<head>[br]<meta http-equiv="Content-Language" content="en-us">[/br]<meta name="GENERATOR" content="Microsoft FrontPage 5.0">[br]<meta name="ProgId" content="FrontPage.Editor.Document">[/br]<meta http-equiv="Refresh" Content="30;URL=http:///www.yahoo.com/ you work</title>[/br]</head>[br][/br]<body>[br][/br]<p align="center"><font size="7"><b>Do you work?</b></font></p>[br][/br]</body>[br][/br]</html> Share this post Link to post Share on other sites
serverph 0 Report post Posted December 28, 2004 well, the code you posted works just fine as well. it stays for 30 seconds showing "Do you work?", then gets redirected to yahoo.com the html and the meta tag works as you've set it based on the redirect code i posted earlier. Share this post Link to post Share on other sites
keifer 0 Report post Posted December 28, 2004 Well DUH on me! I didnt delete the redirect i made in c-panel. Thats why it wasnt working. I deleted that and it works fine now. Thanx for the help. Share this post Link to post Share on other sites