...

View Full Version : How to make hier a vertical scrolling ?!



france1000
12-24-2007, 10:04 AM
THE SCRIPT POSTED FROM "SAD69" IS PHANTASTIC (URL SWITCHER) BUT HOW TO MAKE THIS:

I WANT EACH SITE TO OPEN AUTOMATICALLY LIKE IN THE SCRIPT AND TO BEGIN TO SCROLL AUTOMATICALLY AFTER OPENING DURING 20 SEC... THAN SWITCHING TO A NEW PAGE, SCROLLING VERTICALY DURING 20 SECONDS... AND SO FOR EACH SWITCHING WEBPAGE...

Here the script:
<html>
<head>
<title>URL Switcher</title>
<script language="JavaScript" src="url_switcher.js">
</script>

<script language="JavaScript">
var i = 0;
var url_array = new Array();
url_array[0] = "http://www.google.com";
url_array[1] = "http://www.codingforums.com";
url_array[2] = "http://www.ebay.com";
url_array[3] = "http://wm2.uvic.ca";

function changeURL(ms) {
document.frames['my_frame'].location.replace(url_array[i]);
i = (i+1)%url_array.length;
setTimeout("changeURL("+ms+")", ms);
}
</script>
</head>
<body style="margin:0px; overflow-y:hidden" onLoad="changeURL(20000);">
<iframe name="my_frame" width="100%" height="100%" border="0" frameborder="0"></iframe>
</body>
</html>

HOW TO MAKE THIS ADDITIONALLY BROWSER VERTICALY SCROLLING ???
Thank you for your help...:)

france1000
12-24-2007, 11:22 AM
MAYBE THIS SCRIPT IN COMBINATION WITH "URL SWITCHER":

<SCRIPT LANGUAGE=JavaScript>
Scrolling = 0;
function ScrollWin() {
while(Scrolling != 700) {
this.scroll(1,Scrolling)
Scrolling++;
}
}
</SCRIPT>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum