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?
Printable View
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?
do you mean in a different window? do you have an example? are you talking about frames?
its on the main page, not frame.
do you mean like this:
HTML Code:<html>
<head>
<meta http-equiv="Refresh" content="0;url=http://www.vbforums.com">
</head>
</html>
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 :-)
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>
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?
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>
Thanks ALL, that seems cool, I will play around with it :)