Minimum ve Maksimum Fonksiyonları
<P><CODE><BR><script src="rssticker.js" type="text/javascript"> <BR><BR>/*********************************************** <BR>* Advanced RSS Ticker (Ajax invocation)- © Dynamic Drive DHTML code library (www.dynamicdrive.com) <BR>* This notice MUST stay intact for legal use <BR>* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more <BR>***********************************************/ <BR><BR></script> <BR><BR><<FONT color=#0000ff>style type=</FONT><FONT color=#dd0000>"text/css"</FONT><FONT color=#0000bb>></FONT> <BR><BR>/*Sample CSS to style the two tickers in the demo*/ <BR><BR>.cnnclass{ <BR>width: 190px; <BR>padding: 5px; <BR>background-color: #fff4f4; <BR>border: 0px; <BR>margin-bottom: 1em; <BR>filter:progid:DXImageTransform.Microsoft.alpha(opacity=80); /*Specify fade effect in IE. Remove if desired.*/ <BR>-moz-opacity: 0.8; /*Specify fade effect in Firefox. Remove if desired.*/ <BR>font-size:8pt; <BR>font-family:tahoma; <BR>} <BR><BR>.cnnclass a{ <BR>text-decoration: none; <BR>} <BR><BR>.bbcclass{ <BR>width: 400px; <BR>padding: 6px; <BR>background-color: lightyellow; <BR>border: 1px solid #004A00; <BR>} <BR><BR>.rsstitle{ /*shared class for all title elements in an RSS feed*/ <BR>font-weight: bold; <BR>} <BR><BR>.rssdate{ /*shared class for all date elements in an RSS feed*/ <BR>color: gray; <BR>font-size: 85%; <BR>} <BR><BR>.rssdescription{ /*shared class for all description elements in an RSS feed*/ <BR>} <BR><BR></style> <BR><BR></head> <BR><body> <BR><!-- Çektiğiniz haberin gösterileceği alanın uzunluğunu aşağıdan belirleyiniz --> <BR><div style="height: 100px"> <BR><BR><FONT color=#0000bb><script type=</FONT>"<FONT color=#dd0000>text/javascript</FONT>"<FONT color=#0000bb>></FONT> <BR>//rssticker_ajax(RSS_id, cachetime, divId, divClass, delay, optionalswitch) <BR>//1) RSS_id: "Array key of RSS feed in PHP script" <BR>//2) cachetime: Time to cache the feed in minutes (0 for no cache) <BR>//3) divId: "ID of DIV to display ticker in. DIV dynamically created" <BR>//4) divClass: "Class name of this ticker, for styling purposes" <BR>//5) delay: delay between message change, in milliseconds <BR>//6) optionalswitch: "optional arbitrary" string to create additional logic in call back function <BR><BR>document.write("<font style=\"color:navy;font-weight:bold;\">HABER7 SON DAKİKA</font>") <BR>new rssticker_ajax("AA", 600, "cnnbox", "cnnclass", 3000, "date") <BR><BR>/* diğer kaynakların eklenmesi için <BR>document.write("<br />BBC News: (Title+date+description shown)") <BR>new rssticker_ajax("BBC", 1200, "ddbox", "bbcclass", 3500, "date+description") <BR>*/ <BR><BR><FONT color=#0000bb></script></FONT> <BR></div> </CODE></P></BLOCKQUOTE>