Blogger sitenizde veya diğer sitelerde kullanabileceğiniz farklı şekilde butonlar sitenize ayrı bir özellik kadar,ve yazılarınızın daha kısa düzenli,karmaşıklığın ortadan kalkmasına yardımcı olabilecek,kolay ve ilgi çekici butonlarla işinizi halledebilirsiniz.
JavaScript kodlarını aşağıda verecem ve tek yapmanız gereken istediğiniz butonun javascript kodunu kopyalarak daha sonra düzenledikden sonra kullanabilirsiniz.
Farklı farklı efektler sergileyen buton scripti,
Örnek Görüntü İçin Altta ki Butona Tıklayın,
Göster Gizle Kodu
-->
! & Lt; --- KAYNAK: http://etralibela-61.blogspot.com/ --- & gt;
-lt, VÜCUT Onload = StartHeadliner () onunload = StopHeadliner () & gt;
& lt; script language = JavaScript & gt;
growWait = 90
expandWait = 120
scrollWait = 100
scrollWidth = 40
lineMax = 4
hat = new Array (lineMax)
hatları [1] yeni Hattı ("= Bilgi Cafem 61 "," http://etralibela-61.blogspot.com/ ", genişletin 2000)
hatları [2] yeni Hattı ("= SİTEMİZDEN YARARLANMANIZ ıcın, , Scroll, 1000) "," http://etralibela-61.blogspot.com/ "
hatları [3] yeni Hattı (= " SİTEMİZE katilin. ", "http://etralibela-61.blogspot.com/", Statik, 2500)
hatları [4] yeni Hattı = (" Şikayetleriniz Click Here For ettik öneri istek @ "," mailto: Posta Adresiniz buraya ", büyütün
Hattı (metin, url, tip, bekle) {
this.text = metin
this.url = url
this.Display = yazın
= beklemeye this.wait
}
fonksiyonu StringFill (c, n) {
s = ""
ise (-N & gt ; = 0) {
s + = c
}
return s
}
fonksiyonu Statik () {
document.formDisplay.buttonFace.value = this.text
TimerID = setTimeout ("ShowNextLine ()", this.wait)
}
fonksiyonu) (Büyümek {
lineText = this.text
lineWait = this.wait
charMax = lineText.length
TextGrow ()
}
işlevi TextGrow () {
(Charno ^ O charMax) halinde {
document.formDisplay.buttonFace.value = lineText.substring (0, Charno)
Charno ++
TimerID = setTimeout ("TextGrow ()", growWait)
}
else {
Charno = 0
TimerID = setTimeout ("ShowNextLine ()", lineWait)
}
}
function (Expand) {
lineText = this.text
charMax = lineText.length
charMiddle = Math.round (charMax / 2)
= lineWait this.wait
TextExpand ()
}
işlevi TextExpand () {
ise (Charno ^ O charMiddle) {
document.formDisplay.buttonFace.value = lineText.substring (charMiddle - Charno, charMiddle + Charno)
Charno ++
TimerID = setTimeout ("TextExpand ()", expandWait)
}
else {
Charno = 0
TimerID = setTimeout ("ShowNextLine ()", lineWait)
}
}
fonksiyonu Scroll () {
alanlarda = StringFill ("",
TextScroll () {
{(= charMax Charno & lt) ise
document.formDisplay.buttonFace.value = lineText.substring (Charno, scrollWidth + Charno)
Charno ++
TimerID = setTimeout ("TextScroll ()", scrollWait)
}
else {
Charno = 0
TimerID = setTimeout ("ShowNextLine ()", lineWait)
}
}
fonksiyonu StartHeadliner () {
StopHeadliner ()
TimerID = setTimeout ("ShowNextLine ()", 1000)
timerRunning = true
}
fonksiyonu StopHeadliner () {
(timerRunning) {if
clearTimeout ( TimerID)
timerRunning = false
}
}
fonksiyonu ShowNextLine () {
(LINENO & lt; lineMax) LINENO ++:? LINENO = 1
hatları [LINENO] .Display ()
}
fonksiyonu GotoUrl (url)
{
top.location.href = url
}
// sonu hide - & gt;
& lt; / SCRIPT & gt;
& lt; FORMU name = formDisplay & gt;
& lt; div align = center & gt;
& lt; ORTA & gt;
-lt P & gt; & lt; GİRİŞ class = stHeadLiner name = buttonFace onclick = GotoUrl (hatları [LINENO]. url) type = butonu value = " MERHABA. "& gt; & lt; / P & gt; & lt; / MERKEZİ & gt; & lt; / div & gt; & lt; / FORM & gt;
& lt; --- KAYNAK: http: //etralibela-61.blogspot com / --- & gt;
Kod içerisinde kırmızı ile belirtilmiş yerleri siz kendinize göre düzenleyin.
Bizi Takip Edin
Pinterest Facebook Twitter
© by bilgicafem61
Aşağıda Yorum ve Sorularınızı Bırakın.
Yorum Gönder Blogger Facebook