Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 12-20-2003, 09:20 AM   #1
Member (9 bit)
 
Join Date: Oct 2003
Location: CFB Greenwood, NS
Posts: 392
Send a message via AIM to cdnref Send a message via MSN to cdnref
Redirect Page not working

All, please view the source code and tell me what went wronge? It won't redirect.

here is how I want it to work.

http://ironcrosscomputers.5u.com/main.html
wait 3 secs then
http://ironcrosscomputers.5u.com/main2.html

Please EMAIL me. for the solution

Both *.html files are in my main folder
cdnref is offline   Reply With Quote
Old 12-21-2003, 04:57 AM   #2
Member (9 bit)
 
MulderMan's Avatar
 
Join Date: Dec 2003
Location: England
Posts: 362
Send a message via AIM to MulderMan
try and use this javascript- im not sure bout the 3 sec fing tho.



put tht in the head tag and you should be sorted

PHP Code:
<script language="JavaScript">
window.location "URL to real main page";
</script> 

Last edited by MulderMan; 12-21-2003 at 05:00 AM.
MulderMan is offline   Reply With Quote
Old 12-21-2003, 05:01 AM   #3
Member (9 bit)
 
MulderMan's Avatar
 
Join Date: Dec 2003
Location: England
Posts: 362
Send a message via AIM to MulderMan
sorry i didnt see the email thing
MulderMan is offline   Reply With Quote
Old 12-23-2003, 10:04 AM   #4
Member (9 bit)
 
MulderMan's Avatar
 
Join Date: Dec 2003
Location: England
Posts: 362
Send a message via AIM to MulderMan
i found the delay script on the net put it in the head tag


where 3 is the delay and the url is the site its goin too


Admin Edit: removed redirection tag.

Last edited by M. A. Dockter; 12-23-2003 at 10:56 AM.
MulderMan is offline   Reply With Quote
Old 12-23-2003, 12:08 PM   #5
Member (9 bit)
 
Join Date: Oct 2003
Location: CFB Greenwood, NS
Posts: 392
Send a message via AIM to cdnref Send a message via MSN to cdnref
Dock no I didn;t have a chance to see it. O well
cdnref is offline   Reply With Quote
Old 12-23-2003, 12:55 PM   #6
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Here is how to do it. Add a metatag to our site in the head section like so:
<META HTTP-EQUIV="refresh" CONTENT="3" URL="main2.html">

Mulderman's post was edited because it was redirecting anyone that viewed this page to your page.
mairving is offline   Reply With Quote
Old 12-23-2003, 12:58 PM   #7
Member (9 bit)
 
MulderMan's Avatar
 
Join Date: Dec 2003
Location: England
Posts: 362
Send a message via AIM to MulderMan
sorry i didnt realise lol, mine was basically the same as mairvings anyway.
MulderMan is offline   Reply With Quote
Old 12-23-2003, 01:08 PM   #8
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally posted by MulderMan
sorry i didnt realise lol, mine was basically the same as mairvings anyway.
Yes it was. The problem is that it parses the HTML. To get it to show like I did, use & lt; with no space between the & and l, for < and & gt; with no space between the & and g, for > and it will show the <>.
mairving is offline   Reply With Quote
Old 12-23-2003, 01:13 PM   #9
Member (9 bit)
 
MulderMan's Avatar
 
Join Date: Dec 2003
Location: England
Posts: 362
Send a message via AIM to MulderMan
ill take a note of that, i didnt know it parses it
MulderMan is offline   Reply With Quote
Old 12-23-2003, 02:15 PM   #10
Member (9 bit)
 
Undead_Rider's Avatar
 
Join Date: Nov 2003
Location: Canada ontario
Posts: 342
ya so ur tags are dis regarded but it looks like they should work because u used w/e for > and in html it translates that but before that the tag trys to be rececnised but cant. its kinda kool
Undead_Rider is offline   Reply With Quote
Old 12-23-2003, 05:24 PM   #11
Member (9 bit)
 
Join Date: Oct 2003
Location: CFB Greenwood, NS
Posts: 392
Send a message via AIM to cdnref Send a message via MSN to cdnref
Great thanks guys
cdnref is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:43 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2