Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

TiagoMaker

Código JavaScript não funciona

Recommended Posts

<HTML>
<HEAD>
<TITLE>..::: Solucao Informatica - RS :::..</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
<link href="main.css" rel="stylesheet" type="text/css">
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<style type="text/css">
<!--
.style1 {
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}
body {
	background-image: url(imagens/bgb.gif);
}
.style4 {
	font-size: 14px;
	font-weight: bold;
}
-->
</style>
</HEAD>
<BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<table width="778" border="0" cellspacing="0" cellpadding="0">
  <tr> 
	<td></td>
  </tr>
</table>
<table width="781" border="0" cellspacing="0" cellpadding="0">
  <tr> 
	<td width="781" height="0" valign="top"> 
	  <table width="79%" border="0" cellspacing="0" cellpadding="0">
		<tr> 
		  <td height="184"><table width="778" border="0" cellpadding="0" cellspacing="0">
			<tr>
			  <td width="778" height="28"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','778','height','184','align','top','title','SolucaoRS','src','logo','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','logo' ); //end AC code
			  </script>
				<noscript>
				<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="778" height="184" align="top" title="SolucaoRS">
				  <param name="movie" value="logo.swf">
				  <param name="quality" value="high">
				  <embed src="logo.swf" width="778" height="184" align="top" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
				</object>
				</noscript>				</td>
			</tr>
		  </table>		  </td>
		</tr>
	  </table>
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr> 
		  <td><img src="../../images/11_40.gif" width=241 height=1 alt=""></td>
		</tr>
	  </table>
	</td>
  </tr>
</table>
<table width="782" border="0" cellpadding="0" cellspacing="0" bgcolor="#9a9899">
  <tr>
	<td width="21" height="475" background="imagens/col.gif"> </td>
	<td width="241" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
		  <td></td>
		</tr>
	  </table>
<table width="241" border="0" cellpadding="0" cellspacing="0" bgcolor="9a9899">
		  <tr>
			<td width="241" colspan="2" bgcolor="9a9899"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','241','height','155','title','SolucaoRS','src','marcas','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','marcas' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="241" height="155" title="SolucaoRS">
			  <param name="movie" value="marcas.swf">
			  <param name="quality" value="high">
			  <embed src="marcas.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="241" height="155"></embed>
			</object></noscript></td>
		  </tr>
		  <tr>
			<td width="20" background="imagens/col_bg.gif"><div align="center"></div></td>
			<td width="221" bgcolor="#E5E5E5"> </td>
		</tr>
		</table>
	<table width="241" border="0" cellpadding="5" cellspacing="0" background="imagens/col_bg.gif">
<tr>
			<td height="25" colspan="2" valign="top"><img src="imagens/ponto.gif" width=15 height=12 alt="dfgd"><em><strong><font color="#000099" size="2" face="Geneva, Arial, Helvetica, san-serif">Promoções Solução Informática</font></strong></em></td>
		</tr>
		  <tr>
			<td width="112" height="138" align="right" valign="middle"><img src="imagens/produtos/celerond.gif" alt="Celeron D 1.6ghz" width="112" height="112"></td>
			<td width="108" align="left" valign="middle"><table width="100" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td><p class="style1">INTEL CELERON 1.6GHZ</p>				</td>
			  </tr>
			  <tr>
				<td width="100" valign="middle"><p><br>
					<img src="imagens/produtos/saibamais.gif" alt="Saiba Mais" width="87" height="30" border="0" usemap="#Map2"></p></td>
			  </tr>
			</table></td>
		</tr>
		  <tr>
			<td height="138" align="right" valign="middle"><img src="imagens/produtos/acer3050.gif" alt="Acer 3050" width="112" height="112"></td>
			<td align="left" valign="middle"><table width="87" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td width="109"><p align="center" class="unnamed1"><span class="style4"> ACER 3050</span></p>				</td>
			  </tr>
			  <tr>
				<td width="109" height="0" valign="top"><p align="center"><br>
				  <img src="imagens/produtos/saibamais.gif" alt="Saiba Mais" width="87" height="30" border="0" usemap="#Map3"></p>
				</td>
			  </tr>
			</table></td>
		</tr>
	</table>	  </td>
	<td width="21" background="imagens/col.gif"> </td>
	<td width="495" valign="top" bgcolor="f0eeee"><table width="100%" height="297" border="0" cellpadding="0" cellspacing="0">
		<tr>
		  <th height="32" bgcolor="9a9899" scope="col"><img src="imagens/menu.gif" alt="Menu" width="495" height="32" border="0" usemap="#Map"></th>
		</tr>
		<tr>
		  <th bgcolor="f0eeee" scope="col"><iframe src="news.html" name="frame" id="frame" target="_self" frameborder="0" style="position:absolute; z-index:1; width: 493px; top: 219px; height: 437px; left: 285px;">Sorry, your browser doesn't support IFRAMEs</iframe></th>
		</tr>
	</table></td>
	<td width="10"> </td>
  </tr>
  <tr>
	<td colspan="4" background="../../images/11_19.gif"><table width="778" border="0" cellspacing="0" cellpadding="0">
		<tr>
		  <td height="57"><img src="imagens/rodape.gif" alt="" width="778" height="57"></td>
		</tr>
		</table></td>
	<td> </td>
  </tr>
</table>


<map name="Map"><area shape="rect" coords="42,11,106,24" href="aempresa.html" target="frame" alt="A Empresa">
<area shape="rect" coords="132,9,204,24" href="localizacao.html" target="frame" alt="Localizacao">
<area shape="rect" coords="231,10,288,23" href="produtos.html" target="frame" alt="Produtos">
<area shape="rect" coords="319,9,372,24" href="servicos.html" target="frame" alt="Servicos">
<area shape="rect" coords="407,9,458,23" href="e-mail/index.php" target="frame" alt="Contato">
</map>
<map name="Map2"><area shape="rect" coords="7,6,80,23" href="produtos/celerond.html" target="frame" alt="Celeron D 1.6ghz">
</map>
<map name="Map3"><area shape="rect" coords="5,6,80,24" href="produtos/acer3050.html" target="frame" alt="Notebook Acer 3050">
</map></BODY>
</HTML>
<script language=JavaScript>
<!-- made by: TiagoMaker



var current = 0

var x = 0

var speed = 100

var speed2 = 2000



function initArray(n) {

  this.length = n;

  for (var i =1; i <= n; i++) {

	this[i] = ' '

  }

}



typ = new initArray(4)

typ[0]="Assitência técnica"

typ[1]="Venda de computadores, impressoras e notebooks"

typ[2]="Projetos de redes e criação de websites"

typ[3]="..::: Solução Informática - RS :::.."



function typewrite() {

var m = typ[current]



window.status = m.substring(0, x++) + "_"



if (x == m.length + 1) {

x = 0

current++



if (current > typ.length - 1) {

current = 0

}



setTimeout("typewrite()", speed2)

}



else {

setTimeout("typewrite()", speed)

}

}



typewrite()

//-->



</SCRIPT>

Este é o código da minha página principal, no fim da página tem um código que gera mensagens na barra de status, quando testo no localhost funciona tudo bem, mas quando coloco no servidor ele não funciona, será que isso tem solução?

Compartilhar este post


Link para o post
Compartilhar em outros sites

Verifique os caminhos relativos do arquivo:

 

<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>

 

E veja se subiu os mesmos pro servidor.

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.