| Duello- PoRtaL & ForuM ™ 2009-2010 |
Would you like to react to this message? Create an account in a few clicks or log in to continue.

| Duello- PoRtaL & ForuM ™ 2009-2010 |


 
AnasayfaAnasayfa  GaleriGaleri  AramaArama  Latest imagesLatest images  Giriş yapGiriş yap  Kayıt OlKayıt Ol  
Dynamic Feed Control
Yükleniyor ...

 

 Multiple News Scroller v3.0 (ing)

Aşağa gitmek 
YazarMesaj
Admin
DueLLoYöneticisi

DueLLoYöneticisi
Admin


<b>Mesaj Sayısı</b> Mesaj Sayısı : 928
<b>Doğum tarihi</b> Doğum tarihi : 06/07/90
<b>Yaşı</b> Yaşı : 34
<b>Nerden</b> Nerden : Antalya
<b>İş/Hobiler</b> İş/Hobiler : Webtasarım - Öğrenci
<b>Lakap</b> Lakap : Site sahibi
<b>Rep Puanı</b> Rep Puanı : 735008

Multiple News Scroller v3.0 (ing) Empty
MesajKonu: Multiple News Scroller v3.0 (ing)   Multiple News Scroller v3.0 (ing) I_icon_minitimeCuma Ara. 04, 2009 8:11 pm

Kod:
<HTML><HEAD>
<TITLE>MULTIPLE NEWS SCROLLER V3.0</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="News Scroller,Vertical Scroller,News Ticker,Scroller,DHTML Cross-Browser JavaScripts,DHTML Cross-Browser JScripts">
<meta name="keywords" content="Vertical Scroller,News Scroller,News Ticker,Scroller,DHTML Cross-Browser JavaScripts,DHTML Cross-Browser JScripts">
<meta name="author" content="Vasile Barsan">
<meta name="Distribution" content="Global">
<meta name="Robots" content="All">
<style type="text/css">
A { text-decoration:none;}
A:link    {color:blue;}
A:visited{color: blue;}
A:hover    {color: red;}
 .tabc { font-weight:bold; font-size:12px; text-align:center; font-family:Arial,Helvetica;color:navy;}
 .tabb { font-weight:bold; font-size:12px; font-family:Arial,Helvetica;}
 .tan {FONT-SIZE: 12px; COLOR: navy; FONT-FAMILY: Arial,Helvetica; TEXT-ALIGN: center;}
 .tann {FONT-SIZE: 14px; COLOR: navy; FONT-FAMILY: Arial,Helvetica; TEXT-ALIGN: center;}
.tabt { font-weight:bold; font-size:18px; font-family:Arial,Helvetica;color:red;TEXT-ALIGN: center;}
</style>
<script language="JavaScript">

//If using any portion of this DEMO script,
//one must insert along this notice too:

/*******************************
*  http://geocities.com/vbarsan
* This notice may not be removed
********************************/

var swidth=300;var sheight=20;var sspeed=1;var restart=sspeed;var rspeed=sspeed;sbcolor="#ccffcc";
var singletext=new Array();
singletext[0]='<nobr class=tabb>JavaScripts.com The home of free scripts '+
'<a class=tabb href="#" onClick=\'window.top.location.href="http://forums.webdeveloper.com"\'><u>Check out WebDeveloper Forums. The place where your questions get answered!</u></a></nobr>';
singletext[1]='<nobr align="center" class=tann><B>Multiple News Scroller V3.0</B> - Once a message left, the next one comes in. Adjust: Size, Speed and Background. Any message may use <b><u>Hyperlinks</u></b></nobr>';
singletext[2]='<nobr align="center" class=tan><b>Cross-Browser:</b> IE4+ OPERA7+ NS4+ NS6+ MOZILLA</nobr>';
singletext[3]='<nobr align="center" class=tan>Any message may be <b><i>as large as desired.</i></B> === ... === One may use <b><i>most basic HTML code.</i></B></nobr>';
singletext[4]='<nobr align="center" class=tabb><u>Multiple Message Vertical SCROLLER v6.0 + Multiple Message Belt CONVEYER v6.0 + Multiple Message TICKER v4.0</u></nobr>';
var operbr=navigator.userAgent.toLowerCase().indexOf('opera');
if (singletext.length>1)ii=1;else ii=0;
function goup(){if(sspeed!=rspeed*8){sspeed=sspeed*2;restart=sspeed;}}
function godown(){if(sspeed>rspeed){sspeed=sspeed/2;restart=sspeed;}}
function start(){if (document.all){iens6div.style.left=swidth;iens6div.innerHTML=singletext[0];iescroll(iens6div);}
else if (document.layers){document.ns4div.document.ns4div1.left=swidth;document.ns4div.document.ns4div1.document.write(singletext[0]);document.ns4div.document.ns4div1.document.close();ns4scroll(document.ns4div.document.ns4div1);}
else if (document.getElementById){document.getElementById('iens6div').style.left=swidth;document.getElementById('iens6div').innerHTML=singletext[0];ns6scroll(document.getElementById('iens6div'));}}
function iescroll(whichdiv){iediv=eval(whichdiv);sizeup=iediv.offsetWidth;if(iediv.style.pixelLeft>0&&iediv.style.pixelLeft<=sspeed){iediv.style.pixelLeft=0;setTimeout("iescroll(iediv)",100);}if(iediv.style.pixelLeft>=sizeup*-1){iediv.style.pixelLeft-=sspeed;setTimeout("iescroll(iediv)",100);}else{iediv.style.pixelLeft=swidth;iediv.innerHTML=singletext[ii];if(ii==singletext.length-1)ii=0;else ii++;}}
function ns4scroll(whichlayer){ns4layer=eval(whichlayer);sizeup=ns4layer.document.width;if(ns4layer.left>0&&ns4layer.left<=sspeed){ns4layer.left=0;setTimeout("ns4scroll(ns4layer)",100);}if (ns4layer.left>=sizeup*-1){ns4layer.left-=sspeed;setTimeout("ns4scroll(ns4layer)",100);}else{ns4layer.left=swidth;ns4layer.document.write(singletext[ii]);ns4layer.document.close();if(ii==singletext.length-1)ii=0;else ii++;}}
function ns6scroll(whichdiv){ns6div=eval(whichdiv);sizeup=ns6div.offsetWidth;if(parseInt(ns6div.style.left)>0&&parseInt(ns6div.style.left)<=sspeed){ns6div.style.left=0;setTimeout("ns6scroll(ns6div)",100);}if (parseInt(ns6div.style.left)>=sizeup*-1){ns6div.style.left=parseInt(ns6div.style.left)-sspeed;setTimeout("ns6scroll(ns6div)",100);}else{ns6div.style.left=swidth;ns6div.innerHTML=singletext[ii];if(ii==singletext.length-1)ii=0;else ii++;}}
function handleUnload(){if(secwin!=null&&!secwin.closed) secwin.close();return;}
</script></HEAD><BODY onLoad='start();' bgcolor="#ffffcc"><div class=tabt align="center"><u>MULTIPLE NEWS SCROLLER V3.0</u></div>
<div align="center" class=tabc>Scrolls left any number of messages as large as desired.
<div align="center" class=tabc>Adjustable: Size, Background and SPEED (LIVE too).
<div align="center" class=tabc>Allows most basic HTML code, including Hyperlinks.
<div align="center" class=tabc>Cross-Browser: IE4+ OPERA7+ NS4+ NS6+ MOZILLA.</div></div></div></div>
<table align="center" border="2"><tr>
<script language="JavaScript">document.write('<td width='+swidth+'>');
if(document.layers){document.write('<ilayer id="ns4div" width='+swidth+' height='+sheight+' bgcolor='+sbcolor+'><layer id="ns4div1" width='+swidth+' height='+sheight+' onmouseover="sspeed=0;" onmouseout="sspeed=restart"></layer></ilayer>')}
if(document.getElementById||document.all){document.write('<div style="position:relative;overflow:hidden;width:'+swidth+';height:'+sheight+';clip:rect(0 '+swidth+' '+sheight+' 0);background-color:'+sbcolor+';" onmouseover="sspeed=0;" onmouseout="sspeed=restart">');if(operbr==-1)document.write('<div id="iens6div" style="position:relative;height:'+sheight+';"></div></div>');else document.write('<div id="iens6div" style="position:absolute;height:'+sheight+';"></div></div>');}</script>
</td><td bgcolor="#ffffcc"><div><a class=tabb href="#" onClick="goup();">UP</a></div><div class=tan>-</div><div><a href="#" class=tabb onClick="godown();">DN</a></div></td></tr></table>
<script language="JavaScript">
function ctrlA0(corp) {
with(corp){
focus(); select()
}
if(document.all){
txt=corp.createTextRange()
txt.execCommand("Copy")
window.status='Text copied to clipboard'
}
else window.status='Press ctrl-c to copy the text to the clipboard'
setTimeout("window.status=''",5000)
}
</script>
<center>
<form metod="post" name="clipost0">
<div align="center" class="tabc"><input type="button" value="Select" onclick="ctrlA0(document.clipost0.SC0)"> Use 'Select' to copy the whole box (then Ctrl C)</div>
<textarea rows="20" name="SC0" cols="50" wrap="virtual" style="width:80%">
<html>
<head>
<title>Multiple News Scroller V3.0</title>

<!-- STEP I: Goes between <HEAD> & </HEAD> tags
    You may keep it, change or ignore it!-->
<style type="text/css">
A.tabb:link    {color:blue;}
A.tabb:visited{color: blue;}
A.tabb:hover    {color: red;}
 .tabb { font-weight:bold; font-size:12px; font-family:Arial,Helvetica;}
 .tan {FONT-SIZE: 12px; COLOR: navy; FONT-FAMILY: Arial,Helvetica; TEXT-ALIGN: center}
 .tann {FONT-SIZE: 14px; COLOR: navy; FONT-FAMILY: Arial,Helvetica; TEXT-ALIGN: center}
</style>

<!-- STEP II: Goes between <HEAD> & </HEAD> tags-->
<SCRIPT LANGUAGE="JavaScript">

/*******************************
*  http://geocities.com/vbarsan
* This notice may not be removed
********************************/

//-- Begin Scroller's Parameters and messages -->
//scroller's width
var swidth=300;

//scroller's height
var sheight=20;

//scroller's speed
var sspeed=1;
var restart=sspeed;
var rspeed=sspeed;

//scroller's background
sbcolor="#ccffcc";

//messages: change to your own; use as many as you'd like; set up Hyperlinks to URLs as you normally do: <a target=... href="... URL ...">..message..</a>
var singletext=new Array();
singletext[0]='<nobr align="center" class=tabb><a target=anew class=tabb href="http://geocities.com/vbarsan/"><u>Multiple Message Vertical SCROLLER v6.0 + Multiple Message Belt CONVEYER v6.0 + Multiple Message TICKER v4.0</u></a></nobr>';
singletext[1]='<nobr align="center" class=tann><B>Multiple News Scroller V3.0</B> - Once a message left, the next one comes in. Adjust: Size, Speed and Background. Any message may use <b><u>Hyperlinks</u></b></nobr>';
singletext[2]='<nobr align="center" class=tan><b>Cross-Browser:</b> IE4+ OPERA7+ NS4+ NS6+ MOZILLA</nobr>';
singletext[3]='<nobr align="center" class=tan>Any message may be <b><i>as large as desired.</i></B> === ... === One may use <b><i>most basic HTML code.</i></B></nobr>';
//singletext[...]='...';
//-- end Parameters and message -->

//-- begin: Scroller's Algorithm -->
var operbr=navigator.userAgent.toLowerCase().indexOf('opera');
if (singletext.length>1)ii=1;else ii=0;
function goup(){if(sspeed!=rspeed*8){sspeed=sspeed*2;restart=sspeed;}}
function godown(){if(sspeed>rspeed){sspeed=sspeed/2;restart=sspeed;}}
function start(){if (document.all){iens6div.style.left=swidth;iens6div.innerHTML=singletext[0];iescroll(iens6div);}
else if (document.layers){document.ns4div.document.ns4div1.left=swidth;document.ns4div.document.ns4div1.document.write(singletext[0]);document.ns4div.document.ns4div1.document.close();ns4scroll(document.ns4div.document.ns4div1);}
else if (document.getElementById){document.getElementById('iens6div').style.left=swidth;document.getElementById('iens6div').innerHTML=singletext[0];ns6scroll(document.getElementById('iens6div'));}}
function iescroll(whichdiv){iediv=eval(whichdiv);sizeup=iediv.offsetWidth;if(iediv.style.pixelLeft>0&&iediv.style.pixelLeft<=sspeed){iediv.style.pixelLeft=0;setTimeout("iescroll(iediv)",100);}if(iediv.style.pixelLeft>=sizeup*-1){iediv.style.pixelLeft-=sspeed;setTimeout("iescroll(iediv)",100);}else{iediv.style.pixelLeft=swidth;iediv.innerHTML=singletext[ii];if(ii==singletext.length-1)ii=0;else ii++;}}
function ns4scroll(whichlayer){ns4layer=eval(whichlayer);sizeup=ns4layer.document.width;if(ns4layer.left>0&&ns4layer.left<=sspeed){ns4layer.left=0;setTimeout("ns4scroll(ns4layer)",100);}if (ns4layer.left>=sizeup*-1){ns4layer.left-=sspeed;setTimeout("ns4scroll(ns4layer)",100);}else{ns4layer.left=swidth;ns4layer.document.write(singletext[ii]);ns4layer.document.close();if(ii==singletext.length-1)ii=0;else ii++;}}
function ns6scroll(whichdiv){ns6div=eval(whichdiv);sizeup=ns6div.offsetWidth;if(parseInt(ns6div.style.left)>0&&parseInt(ns6div.style.left)<=sspeed){ns6div.style.left=0;setTimeout("ns6scroll(ns6div)",100);}if (parseInt(ns6div.style.left)>=sizeup*-1){ns6div.style.left=parseInt(ns6div.style.left)-sspeed;setTimeout("ns6scroll(ns6div)",100);}else{ns6div.style.left=swidth;ns6div.innerHTML=singletext[ii];if(ii==singletext.length-1)ii=0;else ii++;}}
//-- end Algorithm -->
</script>
<!-- End of Script between <head> & </head> tags-->
</HEAD>

<!-- STEP III: Make sure start() is loaded -->
<BODY onLoad="start()">

<!-- STEP IV: Goes between <BODY ... > & </BODY> tags
              begin: body code  -->

<!-- You may remove first cell below (<td> ... </td>) to get rid of Speed-change -->
<table align="center" border="1"><tr><td bgcolor="#ffffcc"><div class=tan><b><u><a class=tabb href="#" onClick="goup();">UP </a></u>-<u><a href="#" class=tabb onClick="godown();"> DN</a></u></b></div></td><script language="JavaScript">document.write('<td width='+swidth+'>');
if(document.layers){document.write('<ilayer id="ns4div" width='+swidth+' height='+sheight+' bgcolor='+sbcolor+'><layer id="ns4div1" width='+swidth+' height='+sheight+' onmouseover="sspeed=0;" onmouseout="sspeed=restart"></layer></ilayer>')}
if(document.getElementById||document.all){document.write('<div style="position:relative;overflow:hidden;width:'+swidth+';height:'+sheight+';clip:rect(0 '+swidth+' '+sheight+' 0);background-color:'+sbcolor+';" onmouseover="sspeed=0;" onmouseout="sspeed=restart">');if(operbr==-1)document.write('<div id="iens6div" style="position:relative;height:'+sheight+';"></div></div>');else document.write('<div id="iens6div" style="position:absolute;height:'+sheight+';"></div></div>');}</script>
</td></tr></table>
<!-- end -->
</body></html>
Kayan yazının hızını menü içerisinde bulunan linkler ile değiştirebiliyorsunuz.
Sayfa başına dön Aşağa gitmek
http://duello.goalsoccer.net
 
Multiple News Scroller v3.0 (ing)
Sayfa başına dön 
1 sayfadaki 1 sayfası
 Similar topics
-
» Alert It Scroller (ing)
» Multiple Users (ing)

Bu forumun müsaadesi var:Bu forumdaki mesajlara cevap veremezsiniz
| Duello- PoRtaL & ForuM ™ 2009-2010 |  ::    Duello Webmaster :: Hazır Kodlar :: Js (JavaScript)-
Buraya geçin: