View Full Version : How do you make text blink???
QuietMike
07-24-2001, 12:33 PM
?
<blink> </blink> It think that was it, but it only works in netscape...
Angel11
07-24-2001, 12:53 PM
yea thats it and yea it only works in netscape
Groovy
07-24-2001, 01:09 PM
and nearly anyone uses netscape.....
QuietMike
07-24-2001, 01:12 PM
Damn, I will just use a gif..
RockDaddy
07-24-2001, 05:19 PM
Hi,
You can have your blink in different colors.
Put this in the head
<script>
var rate = 500;
var Color1 = "#FFFF00"
var Color2 = "#FF3333"
var Color3 = "#CC66CC"
var ColorX = "#FFFF00"
var DoIt = true
bV = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"
ok = false
var i=0;
function doTriStateRainbowLink(){
ok = true
if ((bNS && bV >= 5) || (bIE && bV >= 4)){
i++;
if (i==1) C = Color1
if (i==2) C = Color2
if (i==3) C = Color3
if (!DoIt) C = ColorX
if (bIE) BlinkLink.style.color=C
if (bNS) document.getElementById('BlinkLink').style.color = C
if (i > 2) i = 0
if (DoIt) timer=setTimeout('doTriStateRainbowLink()', rate)
}
}
function doOnOff(a){
if (ok){
if (a =="off") {DoIt = false}
if ((a =="on")&&(!DoIt)) {
DoIt = true
doTriStateRainbowLink()
}
}
}
</script>
Put this in the body tag
onLoad="doTriStateRainbowLink()"
This is your text link
<a a name="BlinkLink" id="BlinkLink" href="http://www.yoursponsor.com">TEXT LINK HERE</a>
I've used that on a few pages and it looks pretty good.
RD
viper2K1
07-24-2001, 05:57 PM
It's called DHML (dynamic html) http://bbs.adultwebmasterinfo.com/ubb/biggrin.gif
If you want more fancy stuff check this page out:
http://www.dynamicdrive.com/
viper2K1
07-24-2001, 05:58 PM
that should be DHTML
*Kimmykim*
07-24-2001, 06:06 PM
I hate blink.
http://bbs.adultwebmasterinfo.com/ubb/smile.gif
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.