Internet and Programming are not only for the Genius.
Utilize Internet and Programming for Your Own Benefits. Have fun with it.

 
Showing posts with label Website. Show all posts
Showing posts with label Website. Show all posts

Friday, May 18, 2007

How to Redirect Your Website

<meta http-equiv="refresh" content="2; url=http://webdesign.about.com">

Content:
1st arguments = The number is the time, in seconds, until the page should be redirected
2nd arguments = The website where you want your website to be redirected to

Tuesday, May 1, 2007

How to Create a Pop-up on Page Exit

Put this between <HEAD> and </HEAD>:

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function leave(){
window.open('yoururl.com','','toolbar=no,menubar=no,location=no,height=500,width=500');
}
// End
-->
</SCRIPT>

Put this in your <BODY> tag:

<body onunload="leave()">

--
Rm 8 : 28; Is 55 : 8-13

How to Create Pop-up on Timer

Put this between <HEAD> and </HEAD>:
<script language="JavaScript" type="text/javascript">
<!--
var allowpop=1;
function popWin(){
var myWin=window.open('http://code4fun.blogpspot.com',
'info','width=350,height=350,menubar=0,toolbar=0,location=0,scrollbars=yes,
resizable=yes,status=0');
myWin.blur();}
// -->
</script>

Put this in the <BODY> tag:
<body onload="setTimeout('popWin()',10000)" >

--
Rm 8 : 28; Is 55 : 8-13