HİT-CENTER

TopList

Hareketli Banner

Kod : 



<script type="text/javascript">
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Jeroen Haan | http://www.haan.net/ */
/* -----------------------------------------------
Streaming banners - v.1
(c) 2006 www.haan.net
You may use this script but please leave the credits on top intact.
Please inform us of any improvements made.
When usefull we will add your credits.
------------------------------------------------ */
<!--

function clip() {
// width of the banner container
var contWidth = 425;
// height of the banner container
var contHeight = 90;

var id1 = document.getElementById('slideA');
var id2 = document.getElementById('slideB');

id1.style.left = parseInt(id1.style.left)-1 + 'px';

document.getElementById('slideCont').style.width = contWidth + "px";
document.getElementById('slideCont').style.clip = 'rect(auto,'+ contWidth +'px,' + contHeight +'px,auto)';
id2.style.display = '';
if(parseFloat(id1.style.left) == -(contWidth)) {
id1.style.left = '0px';
}
setTimeout(clip,25)
}

// Multiple onload function created by: Simon Willison
// http://simonwillison.net/2004/May/26/addLoadEvent/
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
if (oldonload) {
oldonload();
}
func();
}
}
}

addLoadEvent(function() {
clip();
});
</script>

<style>
#slideCont {
border:solid 1px #000;
text-align:center;
}

#slideCont img {
margin: 5px;
}
</style>


<div id="slideCont" style="position:relative;z-index:1;width:425px;height:90px;top:0px;overflow:hidden;">
<div id="slideA" style="position:absolute;z-index:1;top:0px;left:0px;width:850px;height:90px;overflow:hidden;">
<div style="float:left" id="innerSlideA">
<a href="http://www.apache.org/"><img src="apache.gif" width="126" height="44" border="0"></a>
<a href="http://www.haan.net"><img src="banner_haan_net_en.gif" width="120" height="60" border="0"></a>
<a href="http://www.mysql.com/"><img src="mysql.gif" width="126" height="44" border="0"></a>
</div>
<div id="slideB" style="position:relative;z-index:1;top:0px;left:0px;width:425px;height:90px;overflow:hidden;">
<a href="http://www.apache.org/"><img src="apache.gif" width="126" height="44" border="0"></a>
<a href="http://www.haan.net"><img src="banner_haan_net_en.gif" width="120" height="60" border="0"></a>
<a href="http://www.mysql.com/"><img src="mysql.gif" width="126" height="44" border="0"></a>
</div>
</div>
</div></textarea></p>
<p style="margin-top: 0; margin-bottom: 0"> <a href="javascript:Sec()"><font class="yazirenksiz"><span style="background-color: #FFFF00">Kodu Kopyala</span></font></a></td>

</tr>
<tr>
<td width="50%" style="padding-top: 5; padding-bottom: 5">

<div align="center">
<center>
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0">
<script type="text/javascript"><!--
google_ad_client = "pub-2677060074857660";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2006-10-11: JS_GOSTER_468X60
google_ad_channel ="3351928685";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "FF3300";
google_color_text = "333333";
google_color_url = "FF3300";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

</table>
</center>
</div>
<textarea name="KodText" id="KodText" style="visibility:hidden;" rows="1" cols="20">