AcasaTutorial-eFAQCautareInregistrareMembriGrupuriConectare

Distribuiți | 
 

 Blinking Text Effect

In jos 
AutorMesaj
MasterMd32
Administrator
Administrator
avatar

Mesaje : 119
Data de înscriere : 01/03/2008

MesajSubiect: Blinking Text Effect   1/3/2008, 20:58

<HEAD>
<script LANGUAGE="JavaScript">
/*malicious javascript is not allowed.*/ 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 blink_speed=100;
var i=0;
if (NS4 || IE4) {
if (navigator.appName == "Netscape") {
layerStyleRef="layer.";
layerRef="document.layers";
styleSwitch="";
}else{
layerStyleRef="layer.style.";
layerRef="document.all";
styleSwitch=".style";
}}//BLINKING
function Blink(layerName){
if (NS4 || IE4) {
if(i%2==0)
{ eval(layerRef+'["'+layerName+'"]'+
styleSwitch+'.visibility="visible"');
} else { eval(layerRef+'["'+layerName+'"]'+
styleSwitch+'.visibility="hidden"'); } } if(i<1) { i++; }
else { i-- } setTimeout("Blink('"+layerName+"')",blink_speed);}
// End -->
</script>
</HEAD>
<BODY>
<div id="prem_hint" style="position:relative; left:0; visibility:hidden" class="prem_hint">
<font color="#FF0000"><b>Textul Tau Aici</b></font>
</div>
<script language="javascript">Blink('prem_hint');</script>
Sus In jos
Vezi profilul utilizatorului http://tutorial-e.forumz.ro
 
Blinking Text Effect
Sus 
Pagina 1 din 1

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
 :: Tutoriale Diverse :: Html-
Mergi direct la: