Bom Dia Pessoal,
Estou com um banner rotativo de imagens msm, mas só q ele nao funciona no IE !!!
No FireFox ele fuciona perfeito ...
Lembrete *Meu IE está todo atualizado na ultima versão*
Segue o codigo:
<script language="JavaScript">
var how_many_ads = 14;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
txt="";
url="firewall.html";
alt="";
banner="rotativo/debian.gif";
width="";
height="";
}
if (ad==2) {
txt="";
url="antivirus.html";
alt="";
banner="rotativo/macaffe.gif";
width="";
height="";
}
if (ad==3) {
txt="";
url="servidoresdemensagens.html";
alt="";
banner="rotativo/officialpenguin_mini.gif";
width="";
height="";
}
if (ad==4) {
txt="";
url="aplicacoes.html";
alt="";
banner="rotativo/vmware.gif";
width="";
height="";
}
if (ad==5) {
txt="";
url="servidoresdeaplicacao.html";
alt="";
banner="rotativo/window-embedded.gif";
width="";
height="";
}
if (ad==6) {
txt="";
url="roteadores.html";
alt="";
banner="rotativo/3com.jpg";
width="";
height="";
}
if (ad==7) {
txt="";
url="telefoniaip.html";
alt="";
banner="rotativo/asterisk.jpg";
width="";
height="";
}
if (ad==8) {
txt="";
url="areasdeatividade.html";
alt="";
banner="rotativo/avaya.jpg";
width="";
height="";
}
if (ad==9) {
txt="";
url="acessoremoto.html";
alt="";
banner="rotativo/citrix1.jpg";
width="";
height="";
}
if (ad==10) {
txt="";
url="thinclient.html";
alt="";
banner="rotativo/connec.jpg";
width="";
height="";
}
if (ad==11) {
txt="";
url="thinclient.html";
alt="";
banner="rotativo/dnthin.jpg";
width="";
height="";
}
if (ad==12) {
txt="";
url="servidores.html";
alt="";
banner="rotativo/ibm.jpg";
width="";
height="";
}
if (ad==13) {
txt="";
url="areasdeatividade.html";
alt="";
banner="rotativo/intelbras.jpg";
width="";
height="";
}
if (ad==14) {
txt="";
url="cabeamentoestruturado.html";
alt="";
banner="rotativo/furukawa.jpg";
width="";
height="";
}
document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_blank\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0><br>');
document.write('<small>' + txt + '</small></a>');
document.write('</center>');
</script>
Alguem sabe como posso fazer pra funcionar no IE ?
Agradeço desde já
Obrigado
o/
Estou com um banner rotativo de imagens msm, mas só q ele nao funciona no IE !!!
No FireFox ele fuciona perfeito ...
Lembrete *Meu IE está todo atualizado na ultima versão*
Segue o codigo:
<script language="JavaScript">
var how_many_ads = 14;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
txt="";
url="firewall.html";
alt="";
banner="rotativo/debian.gif";
width="";
height="";
}
if (ad==2) {
txt="";
url="antivirus.html";
alt="";
banner="rotativo/macaffe.gif";
width="";
height="";
}
if (ad==3) {
txt="";
url="servidoresdemensagens.html";
alt="";
banner="rotativo/officialpenguin_mini.gif";
width="";
height="";
}
if (ad==4) {
txt="";
url="aplicacoes.html";
alt="";
banner="rotativo/vmware.gif";
width="";
height="";
}
if (ad==5) {
txt="";
url="servidoresdeaplicacao.html";
alt="";
banner="rotativo/window-embedded.gif";
width="";
height="";
}
if (ad==6) {
txt="";
url="roteadores.html";
alt="";
banner="rotativo/3com.jpg";
width="";
height="";
}
if (ad==7) {
txt="";
url="telefoniaip.html";
alt="";
banner="rotativo/asterisk.jpg";
width="";
height="";
}
if (ad==8) {
txt="";
url="areasdeatividade.html";
alt="";
banner="rotativo/avaya.jpg";
width="";
height="";
}
if (ad==9) {
txt="";
url="acessoremoto.html";
alt="";
banner="rotativo/citrix1.jpg";
width="";
height="";
}
if (ad==10) {
txt="";
url="thinclient.html";
alt="";
banner="rotativo/connec.jpg";
width="";
height="";
}
if (ad==11) {
txt="";
url="thinclient.html";
alt="";
banner="rotativo/dnthin.jpg";
width="";
height="";
}
if (ad==12) {
txt="";
url="servidores.html";
alt="";
banner="rotativo/ibm.jpg";
width="";
height="";
}
if (ad==13) {
txt="";
url="areasdeatividade.html";
alt="";
banner="rotativo/intelbras.jpg";
width="";
height="";
}
if (ad==14) {
txt="";
url="cabeamentoestruturado.html";
alt="";
banner="rotativo/furukawa.jpg";
width="";
height="";
}
document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_blank\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0><br>');
document.write('<small>' + txt + '</small></a>');
document.write('</center>');
</script>
Alguem sabe como posso fazer pra funcionar no IE ?
Agradeço desde já
Obrigado
o/