ANA SAYFA | FORUM | BLOG | SİTENİZ İÇİN | İÇERİK EKLE | EN YENİLER | EN POPÜLERLER | EN BEĞENİLENLER | REKLAM | İLETİŞİM
Arama:
Tüm kategorilerde Google Forumda JAVAScript Araçlar
// ÖZELLEŞTİR
E-posta:
Şifre:
Üye Ol
|
Şifremi Unuttum
>> ARŞİVİMİZ FORUM AÇILDI! (0 yorum)>> Ramazan Bayramınız kutlu olsun (2 yorum)>> Kurban Bayramı (0 yorum)>> 10 Kasım (1 yorum)>> CUMHURİYET BAYRAMI (0 yorum)
// EN YENİLER
// EN POPÜLER
// Anasayfa » JAVASCRIPT» Linkler
Oy:
>> Arşivimiz Forum'da Link Hint Scroller v2.0 (ing) ile ilgili açılmış konuları ara>> Veya bu içerik ile ilgili yeni bir konu aç
<script language="javascript"> // Location of this script: // http://www.qiksearch.com/javascripts/link_hint_scroller20.htm //********************************************* //* Link Hint Scroller 2.0 * //* Modified 18/04/02 * //* This script when you move your mouse over * //* displays a scrolling hint * //* (c) Premshree Pillai, * //* http://www.qiksearch.com * //* E-mail : premshree@hotmail.com * //* Use the script freely as long as this * //* message is intact * //********************************************* window.onerror = null; var bName = navigator.appName; var bVer = parseInt(navigator.appVersion); var NS4 = (bName == "Netscape" && bVer >= 4); var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4); var NS3 = (bName == "Netscape" && bVer < 4); var IE3 = (bName == "Microsoft Internet Explorer" && bVer < 4); //----------------------------------------------------------- var scroll_length = 150; //The scroll length var time_length =50; //Scroll delay in milliseconds var begin_pos = 260; //Start position of scroll hint var i=begin_pos; var j=i; var scroll_dir = "right"; // To scroll left use "left" // To scroll right use "right" //----------------------------------------------------------- if (NS4 || IE4) { if (navigator.appName == "Netscape") { layerStyleRef="layer."; layerRef="document.layers"; styleSwitch=""; }else{ layerStyleRef="layer.style."; layerRef="document.all"; styleSwitch=".style"; } } //SCROLL function Scroll(layerName) { if (NS4 || IE4) { if(scroll_dir=="right") { if(i<(begin_pos+scroll_length)) { eval(layerRef+''["''+layerName+''"]''+ styleSwitch+''.visibility="visible"''); eval(layerRef+''["''+layerName+''"]''+ styleSwitch+''.left="''+(i)+''"''); i++; j++; } } if(scroll_dir=="left") { if(i>(begin_pos-scroll_length)) { eval(layerRef+''["''+layerName+''"]''+ styleSwitch+''.visibility="visible"''); eval(layerRef+''["''+layerName+''"]''+ styleSwitch+''.right="''+(-i)+''"''); i--; j--; } } if(i==j) { setTimeout("Scroll(''"+layerName+"'')",time_length); } } } //STOP SCROLLING function StopScroll(layerName) { if(scroll_dir=="right") { i=begin_pos+scroll_length; eval(layerRef+''["''+layerName+''"]''+ styleSwitch+''.left="''+(i)+''"''); hideLayer(layerName); } if(scroll_dir=="left") { i=begin_pos-scroll_length; eval(layerRef+''["''+layerName+''"]''+ styleSwitch+''.right="''+(-i)+''"''); hideLayer(layerName); } } function reset() { i=begin_pos; j=i; } // HIDE HINT function hideLayer(layerName) { if (NS4 || IE4) { eval(layerRef+''["''+layerName+''"]''+ styleSwitch+''.visibility="hidden"''); } } </script> <!--BEGIN REQUIRED--> <a href="#" class="link" onmouseover="javascript:reset();Scroll(''prem_hint'');" onmouseout="javascript:StopScroll(''prem_hint'');">Move your mouse over</a> </center> <div id="prem_hint" style="position:relative; visibility:hidden" class="prem_hint"> <b>This is the hint or description for the above link!</b> </div> <!--END REQUIRED-->
Kodu Kopyala
Hata Bildir | Tavsiye Et
Bu içeriğe oy verin:
Yorumlar / Yeni Yorum Yaz
ANA SAYFA | İÇERİK EKLE | YENİ EKLENENLER | EN POPÜLERLER | EN BEĞENİLENLER | REKLAM | DESTEKLEYENLER | İLETİŞİM
JAVAScript İndir © 2004 - 2008Web Tasarımı: Emir Emiroğlu | Kodlama: Can "FiNaRFiN" HANHAN , Korkut TAHAOĞLU, Göktuğ İÇÖZ