|
-
Jun 26th, 2005, 03:59 AM
#1
Thread Starter
Hyperactive Member
default web page? resolved
Hi, how can I make a html page that once people open it, it will load a specfic webpage without even redirecting to the page?
Last edited by abcat; Jun 27th, 2005 at 10:14 AM.
Reason: resolved
-
Jun 26th, 2005, 08:55 AM
#2
Fanatic Member
Re: default web page?
do you mean in a different window? do you have an example? are you talking about frames?
-
Jun 26th, 2005, 09:17 AM
#3
Thread Starter
Hyperactive Member
Re: default web page?
its on the main page, not frame.
-
Jun 26th, 2005, 10:43 AM
#4
Fanatic Member
Re: default web page?
do you mean like this:
HTML Code:
<html>
<head>
<meta http-equiv="Refresh" content="0;url=http://www.vbforums.com">
</head>
</html>
-
Jun 26th, 2005, 10:47 AM
#5
Thread Starter
Hyperactive Member
Re: default web page?
Ya, I try that before, because there is a "Refresh" there so I not sure whehther this is the correct and actual coding or not? So is there any other coding for that? Thanks for your help anyway :-)
-
Jun 26th, 2005, 10:52 AM
#6
Fanatic Member
Re: default web page?
well, you can use that to redirect, but if you want it to be a little bit faster you can use javascript:
HTML Code:
<html>
<body onload="Javascript: window.location='http://www.vbforums.com';">
</body>
</html>
-
Jun 26th, 2005, 10:55 AM
#7
Thread Starter
Hyperactive Member
Re: default web page?
Ya, that is cool. btw, you have any idea to redirect a fixed website to another website? I mean like for the coding I ask above, when user click it, it will open vbforum website, after 5 seconds, it will redirect to yahoo website?
-
Jun 26th, 2005, 03:34 PM
#8
Fanatic Member
Re: default web page?
here, pay around with this:
HTML Code:
<html>
<head>
<script type="text/javascript">
function wait(delay){
setTimeout("parent.frame1.location='http://www.vbforums.com';",delay);
}
</script>
</head>
<body>
<iframe name="frame1" width="100%" height="100%" src="http://www.google.com" frameborder="0" onload="wait(5000);"></iframe>
</body>
</html>
-
Jun 27th, 2005, 10:13 AM
#9
Thread Starter
Hyperactive Member
Re: default web page?
Thanks ALL, that seems cool, I will play around with it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|