
02-04-2006, 05:43 PM
|
|
|
Join Date: Aug 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Thanks! That worked.
Quote:
Originally Posted by Logician
<blink> tag does not work with IE.
Not tested but this should work:
Put this javascript into your headinclude template:
PHP Code:
<script language="JavaScript">
var on_color = "#FF0000";
var off_color = "#000000";
var blink_onoff = 1;
var blinkspeed= 500;
function blink()
{
if( blink_onoff == 1) {
document.all.blink.style.color = on_color;
blink_onoff = 0;
}
else {
document.all.blink.style.color = off_color;
blink_onoff = 1;
}
}
</script>
Then use this in your announcement:
PHP Code:
<font id=blink>My announcement</font><script>document.all.blink.style.color = off_color;setInterval('blink()',blinkspeed);</script>
You can google for "blink + IE" for more info about blinking effect in IE.
|
|