|











Member of:
ISOC
IWA
ARTT
RTS
| |
Tips & Tricks
Home Up Gradient Background Image Maps Interactive Site Protect Email Address Rollover Animation Rotating Banners Textlink-shaker Website Navigation
Quick Tips:
1. Refresh/Update the same Page:
Between the <head> and </head> tags in your source code add
<meta http-equiv=refresh content=60> Edit "60" to the number of seconds
you would like to wait before the page reloads.
Another common method of doing this is by placing this meta tag between <head>
and </head> tags in your source code.
<meta http-equiv="Pragma" content="no-cache">
2. Redirecting to another page:
Between the <head> and </head> tags in your source code add
<meta http-equiv="refresh" content="1; url=http://www.anothersite.com/">
Then between the <body> and </body> tags in your source code add
If the new site doesn't load, go here. <a href="http://www.anothersite.com/">Visit
www.anothersite.com</a>
You can also use Javascript for this purpose. Between the <head> and </head>
tags in your source code add
<script language="javascript">
<!--
var time = null
function move()
{
window.location = 'http://www.anothersite.com'
}
//-->
</script>
Then replace the body tag with this
<body onload="timer=setTimeout('move()',3000)"> where 3000 is the time in
milliseconds before the redirect happens.
3. Have you ever opened a link and found the browser window needs to be
maximized? This can be worked around with a simple, but effective
javascript you can place on your page. If you put this code into the <HEAD>
section of your page, whenever the page is loaded, it will automatically force
the browser to open to the maximum available area on a user's screen.
<SCRIPT language="javascript">
top.window.moveTo(0,0);
top.window.resizeTo(screen.availWidth,screen.availHeight);
</SCRIPT>
| |

|