<html><head>
<style type="text/css">
<!--
BODY { margin:0px; }
TABLE { color: #000000; font: 11px arial, sans-serif; font-weight: normal }
.title { color: #0033FF; font: 12px arial, sans-serif; font-weight: bold; }
a:link { color: #0033FF; text-decoration: underline; }
a:visited { color: #6633FF; text-decoration: underline; }
a:active { color: #0033FF; text-decoration: underline; }
a:hover { color: #6699FF; text-decoration: none; }
-->
</style>
</head>
<body bgcolor="#F0F0F0" text="#000000" onMouseover="speed=0" onMouseout="speed=normal">
<script language="JavaScript" type="text/javascript">
var speed = 1 // SCROLL SPEED [1 = THE SLOWEST]
var delay = 2 // SCROLL DELAY AT START IN SECONDS
var padding = "2px" // SCROLL WINDOW PADDING
var scrollheight = "250px" // THIS HEIGHT MUST BE THE SAME AS YOUR FRAME HEIGHT
window.onload=Start_Scrolling
normal = (speed)
function Start_Scrolling(){
marqueeheight=document.all? parent.document.all.Display_News.height : parent.document.getElementById("Display_News").getAttribute("height")
dataobj=document.all? document.all.News_Div : document.getElementById("News_Div")
dataobj.style.top=padding
AreaHeight=dataobj.offsetHeight
setTimeout("Scroll_Div()",( delay * 1000 ))
}
function Scroll_Div(){
dataobj.style.top=parseInt(dataobj.style.top)-(speed)
if (parseInt(dataobj.style.top)<AreaHeight*(-1)) {
dataobj.style.top=scrollheight
setTimeout("Scroll_Div()",( 0 ))
}
else {
setTimeout("Scroll_Div()",30)
}
}
</script>
<table cellpadding="5" cellspacing="0" border="0" width="100%"><tr>
<td>
<!-- ADD YOUR NEWS BELOW HERE -->
<p>
<span class="title"> Scrolling News</span><br>
Add scrolling news to your website quickly and easily with this simple news scrolling script<br>
</p>
<p>
<span class="title"> Scrolling News</span><br>
Add scrolling news to your website quickly and easily with this simple news scrolling script<br>
</p>
<p>
<span class="title"> Scrolling News</span><br>
Add scrolling news to your website quickly and easily with this simple news scrolling script<br>
</p>
</td>
</tr></table>
</body>
</html>
1.667 views
Hey ik ben bezig met een nieuw systeem. Maar nu wilde ik eerst een scroller window maken waarin ik het systeem ga maken. Maar nu werkt de scroller dus niet. Wie kan mij helpen. Dit uiteindelijk script post ik voor phphulp :) alvast bedankt heb al veel geprobeerd namelijk.