Ir para conteúdo
Fórum Script Brasil
  • 0

Noticias


dhyeggo

Pergunta

6 respostass a esta questão

Posts Recomendados

  • 0

Tem um sistema do Naufragos q é bem legal e só inserir:

<script language="Javascript">
nova_janela='sim'
veiculo='não'
tamanho='grande'
fonte='Verdana'
cor='#000099'
tamanho_fonte='1'
</script>
<script language="Javascript" src="http://www.naufragos.com.br/noticias/noticias.js"></script>

e configurar do jeito q você achar melhor.

obs: recomendo utilizar um IFRAME

Link para o comentário
Compartilhar em outros sites

  • 0
Tem um sistema do Naufragos q é bem legal e só inserir:

<script language="Javascript">
nova_janela='sim'
veiculo='não'
tamanho='grande'
fonte='Verdana'
cor='#000099'
tamanho_fonte='1'
</script>
<script language="Javascript" src="http://www.naufragos.com.br/noticias/noticias.js"></script>

e configurar do jeito q você achar melhor.

obs: recomendo utilizar um IFRAME

valeu era o que eu queria... brigadao

Link para o comentário
Compartilhar em outros sites

  • 0

tenta com esse

eu uso ele


largura = 475
altura = 150
continuo = 1
canais = 'todos'

width1 = largura >= 217 ? largura : 217;
width2 = width1 - 6;
height1 = altura >= 50 ? altura : 50;
height2 = height1 - 25;

var assuntos = canais;
if (document.layers) {
    document.writeln('<style type="text/css">');
    document.writeln('#mainDiv {position:relative; left:0; top:0; width:'+width2+'; height:'+height2+'; clip:rect(0,'+width2+','+height2+',0); background-color:#FFFFFF; layer-background-color:#FFFFFF;}');
    if (continuo) {
        document.writeln('#childDiv {position:absolute; left:0; top:0; width:'+width2+'; background-color:#FFFFFF; layer-background-color:#FFFFFF;}');
        document.writeln('#brotherDiv {position:absolute; left:0; top:0; width:'+width2+'; background-color:#FFFFFF; layer-background-color:#FFFFFF;}');
    }else {
        document.writeln('#childDiv {position:absolute; left:0; top:0; width:'+width2+'; height:'+height2+'; clip:rect(0,'+width2+','+height2+',0); background-color:#FFFFFF; layer-background-color:#FFFFFF;}');
    }
    document.writeln('#ResultsDiv {position: absolute; left: 0; top: 0; width:0; height:0}');
    document.writeln('</style>');
}

document.writeln('<table cellspacing=0 cellpadding=0 border=0 bgcolor=#FFFFFF>');
document.writeln('  <tr height=1>');
document.writeln('    <td width='+width1+' height=1 bgcolor=#000000><img src="http://image.ig.com.br/ultimosegundo/usflash/transp.gif" width=1 height=1></td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td width='+width1+'>');
document.writeln('      <table cellspacing=0 cellpadding=0 border=0 bgcolor=#deebff>');
document.writeln('      <tr height=22>');
document.writeln('          <td width=1 bgcolor=#000000><img src="http://image.ig.com.br/ultimosegundo/usflash/transp.gif" width=1 height=1></td>');
document.writeln('          <td width=2></td>');
document.writeln('          <td width='+width2+' height=22>');
document.writeln('           <embed border="0" src="images/noticias.swf" wmode="transparent" height=24>');
document.writeln('          </td>');
document.writeln('          <td width=2></td>');
document.writeln('          <td width=1 bgcolor=#000000><img src="http://image.ig.com.br/ultimosegundo/usflash/transp.gif" width=1 height=1></td>');
document.writeln('        </tr>');
document.writeln('        <tr height=1>');
document.writeln('          <td width=1 height=1 bgcolor=#000000><img src="http://image.ig.com.br/ultimosegundo/usflash/transp.gif" width=1 height=1></td>');
document.writeln('          <td width=2 height=1></td>');
document.writeln('          <td width='+width2+' height=1 bgcolor=#000000><img src="http://image.ig.com.br/ultimosegundo/usflash/transp.gif" width=1 height=1></td>');
document.writeln('          <td width=2 height=1></td>');
document.writeln('          <td width=1 height=1 bgcolor=#000000><img src="http://image.ig.com.br/ultimosegundo/usflash/transp.gif" width=1 height=1></td>');
document.writeln('        </tr>');
document.writeln('      <tr height='+height2+'>');
document.writeln('          <td width=1 bgcolor=#000000><img src="http://image.ig.com.br/ultimosegundo/usflash/transp.gif" width=1 height=1></td>');
document.writeln('          <td width=2></td>');
if (document.layers) {
    if(continuo == 1){
        document.writeln('          <td width='+width2+' height='+height2+' valign=top><div id="mainDiv"><div id="childDiv"><center><font size=2 face="verdana">Aguarde, carregando...</font></center></div><div id="brotherDiv">&nbsp;</div></div><div id="resultsDiv"></div></td>');
    }else {
  document.writeln('          <td width='+width2+' height='+height2+' valign=top><div id="mainDiv"><div id="childDiv"><center><font size=2 face="verdana">Aguarde, carregando...</font></center></div></div><div id="resultsDiv"></div></td>');
    }
}else {
    document.writeln('    <td width="'+width2+'" height="'+height2+'"><iframe name="NewsTicker" width="'+width2+'" height="'+height2+'" scrolling="no" frameborder="no" src="http://ultimosegundo.ig.com.br/usflash/newsticker-ie.html?'+width2+','+height2+','+continuo+','+canais+'"></iframe></td>');
}
document.writeln('          <td width=2></td>');
document.writeln('          <td width=1 bgcolor=#000000><img src="http://image.ig.com.br/ultimosegundo/usflash/transp.gif" width=1 height=1></td>');
document.writeln('        </tr>');
document.writeln('      </table>');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr height=1>');
document.writeln('    <td width='+width1+' height=1 bgcolor=#000000><img src="http://image.ig.com.br/ultimosegundo/usflash/transp.gif" width=1 height=1></td>');
document.writeln('  </tr>');
document.writeln('</table>');


if (document.layers) {
    document.writeln('<script language="JavaScript" src="js/dynlayer.js"></script>');
    document.writeln('<script language="JavaScript" src="js/dynlayer-common.js"></script>');
    if (continuo) {
        document.writeln('<script language="JavaScript" src="js/ultimo_segundo_vertical.js"></script>');
    }else {
        document.writeln('<script language="JavaScript" src="js/ultimo_segundo.js"></script>');
    }
}

ele vem do ULTIMOS SEGUNDOS

Link para o comentário
Compartilhar em outros sites

  • 0

não é não é que você deve ter clicado em uma notícia da GLOBO.COM esse script do naufragos solta notícias de todos as agências de notícias GLOBO, ULTIMA HORA, UOL, TERRA, CNN, ESTADÃO...

Link para o comentário
Compartilhar em outros sites

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.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,2k
    • Posts
      651,9k
×
×
  • Criar Novo...