Gente eu gostaria de novamente pedir uma ajuda a vocês. Tenho o seguinte Ticker
<div class="ticki"><a class="tickl" id="tickerAnchor"
href="http://vassourasurgente.50webs.com/ticker_arquivos"
target=_top></a></div>
<script language="JavaScript" type="text/javascript">
<!--
// Ticker startup
function startTicker()
{
// Define run time values
theCurrentStory = -1;
theCurrentLength = 0;
// Locate base objects
if (document.getElementById) {
theAnchorObject = document.getElementById("tickerAnchor");
runTheTicker();
}
else {
document.write("<style>.ticki{display:none;}.ticko{border:0px; padding:0px;}</style>");
return true;
}
}
// Ticker main run loop
function runTheTicker()
{
var myTimeout;
// Go for the next story data block
if(theCurrentLength == 0)
{
theCurrentStory++;
theCurrentStory = theCurrentStory % theItemCount;
theStorySummary = theSummaries[theCurrentStory].replace(/"/g,'"');
theTargetLink = theSiteLinks[theCurrentStory];
theAnchorObject.href = theTargetLink;
thePrefix = "<span class=\"tickls\">" + theLeadString + "</span>";
}
// Stuff the current ticker text into the anchor
theAnchorObject.innerHTML = thePrefix +
theStorySummary.substring(0,theCurrentLength) + whatWidget();
// Modify the length for the substring and define the timer
if(theCurrentLength != theStorySummary.length)
{
theCurrentLength++;
myTimeout = theCharacterTimeout;
}
else
{
theCurrentLength = 0;
myTimeout = theStoryTimeout;
}
// Call up the next cycle of the ticker
setTimeout("runTheTicker()", myTimeout);
}
// Widget generator
function whatWidget()
{
if(theCurrentLength == theStorySummary.length)
{
return theWidgetNone;
}
if((theCurrentLength % 2) == 1)
{
return theWidgetOne;
}
else
{
return theWidgetTwo;
}
}
// -->
</script>
<script language="JavaScript" type="text/javascript">
<!--
var theCharacterTimeout = 50;
var theStoryTimeout = 5000;
var theWidgetOne = "_";
var theWidgetTwo = "-";
var theWidgetNone = "";
var theLeadString = "Aviso: ";
var theSummaries = new Array();
var theSiteLinks = new Array();
var theItemCount = 4;
theSummaries[0] = "O Vassouras Urgente tornou a sair na frente e agora já tem seu espaço de mensagens na internet, para você relatar o que lhe for mais propicio e como quiser.";
theSiteLinks[0] = "/2/hi/europe/7643612.stm";
theSummaries[1] = "Uma nova maneira de poder soltar a lingua e falar o que realmente pensa a respeito de alguma coisa em especial. ";
theSiteLinks[1] = "/2/hi/asia-pacific/7645523.stm";
theSummaries[2] = "O local não podia ter outro nome, Lingua Solta.";
theSiteLinks[2] = "/2/hi/americas/7645524.stm";
theSummaries[3] = "O seu espaço de falar o que pensa, a hora que auiser quando quiser e aonde quiser.";
theSiteLinks[3] = "/2/hi/south_asia/7645368.stm";
startTicker();
//-->
</script>
E não estou conseguindo mexer nele não, Ele ate funciona, mais azul com uma linha embaixo apontando para um link que não existe e cai na pagina de erro do host que não tem nada haver.
Para funcionar tem que ter esse codigo em uma pasta no host ou no pc, se não não vai funcionar.
Ele funciona como esta no rodapé dessa pagina----> www.vassourasurgente.com/politica/
Pergunta
Añd®é™
Gente eu gostaria de novamente pedir uma ajuda a vocês. Tenho o seguinte Ticker
E não estou conseguindo mexer nele não, Ele ate funciona, mais azul com uma linha embaixo apontando para um link que não existe e cai na pagina de erro do host que não tem nada haver. Para funcionar tem que ter esse codigo em uma pasta no host ou no pc, se não não vai funcionar. Ele funciona como esta no rodapé dessa pagina----> www.vassourasurgente.com/politica/Obs: Terá que por esse codigo em um documento de folha de estilos em cascata dentro da pasta.
Se alguém souber como resolver favor me dar um auxilio!!!
Forte Abraço a Todos!!!!!
Editado por Añd®é™Link para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.