Results 1 to 5 of 5
Thread: ?
Hybrid View
-
7th November 2005 17:36 #1
-
7th November 2005 17:38 #2
, :
Automatic Page Change
An automatic page forwarding can fulfill many functions. For example an automatic slide show to display products or even to simply walk a user through the reporting application. The following example loads our home page, www.all-BI.com, automatically into the browser after five seconds. By the way, it also accentuates the function principle that is key in good JavaScript structure.
<script language="Javascript">
function forward(){
location.href="http://www.all-BI.com";
}
</script>
The above snippet goes in the <head> tag.
In the <body> tag, you need to set the following:
<body onload=setTimeout('forward()',5000)">
It does not get much simpler.
Sarcasm is just one more service I ffer.
Me, mad? Haha... quite likely.There is life. There is death. And then there is me.
-
7th November 2005 17:57 #3
Mirchev, META ,
:
<meta http-equiv="refresh" content="0;URL=http://NEWPAGE.com" />PHP Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="refresh" content="0;URL=http://NEWPAGE.com" />
<title>Redirection</title>
</head>
<body>
Please, use <a href="http://NEWPAGE.com">http://NEWPAGE.com</a>
</body>
</html>
Content=0 - , .
-
-
7th November 2005 17:58 #4
-
7th November 2005 23:38 #5




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in