Bem vindo ao PROJECT-HTML
Aprenda mais sobre:
HTML, CSS, JavaScript, webmaster, Imagens, banners, wallpapers, videos aula, windows, utilitários para site/blogs, Jogos, animes e muito mais.
Basta se registrar!
Sistema de noticia para seu site Cadast11
Bem vindo ao PROJECT-HTML
Aprenda mais sobre:
HTML, CSS, JavaScript, webmaster, Imagens, banners, wallpapers, videos aula, windows, utilitários para site/blogs, Jogos, animes e muito mais.
Basta se registrar!
Sistema de noticia para seu site Cadast11
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.



 
InícioProject HTMLGaleriaÚltimas imagensRegistarEntrar
Procurar
 
 

Resultados por:
 
Rechercher Pesquisa avançada
Entrar
Nome de usuário:
Senha:
Entrar automaticamente: 
:: Esqueci-me da senha
Votação
Qual seu navegador favorito?
FireFox
Sistema de noticia para seu site Vote_lcap129%Sistema de noticia para seu site Vote_rcap1
 29% [ 173 ]
Chrome
Sistema de noticia para seu site Vote_lcap160%Sistema de noticia para seu site Vote_rcap1
 60% [ 356 ]
Internet Explorer
Sistema de noticia para seu site Vote_lcap16%Sistema de noticia para seu site Vote_rcap1
 6% [ 36 ]
safari
Sistema de noticia para seu site Vote_lcap11%Sistema de noticia para seu site Vote_rcap1
 1% [ 7 ]
Netscape
Sistema de noticia para seu site Vote_lcap11%Sistema de noticia para seu site Vote_rcap1
 1% [ 3 ]
Opera
Sistema de noticia para seu site Vote_lcap12%Sistema de noticia para seu site Vote_rcap1
 2% [ 11 ]
Avant
Sistema de noticia para seu site Vote_lcap11%Sistema de noticia para seu site Vote_rcap1
 1% [ 3 ]
Total de votos : 589
Quem está conectado?
2 usuários online :: 0 registrados, 0 invisíveis e 2 visitantes

Nenhum

O recorde de usuários online foi de 131 em 9/3/2021, 6:47 pm
Últimos assuntos
» TAG´s (comandos)
Sistema de noticia para seu site Icon_minitime4/8/2014, 10:15 am por robson

» Comandos básico de HTML - body (corpo da home page)
Sistema de noticia para seu site Icon_minitime16/7/2014, 10:10 am por robson

» Apresentações aqui
Sistema de noticia para seu site Icon_minitime15/7/2014, 4:14 pm por robson

» Como colocar "posts recomendados" no sou blog sou site.
Sistema de noticia para seu site Icon_minitime24/3/2014, 8:05 pm por Otome

» Arquivo de ajuda sobre PHP, help para iniciantes e experientes
Sistema de noticia para seu site Icon_minitime24/3/2014, 8:03 pm por Otome

» Imagens Exercício-6
Sistema de noticia para seu site Icon_minitime22/3/2014, 5:19 pm por SY64

» Alinhamento de imagens
Sistema de noticia para seu site Icon_minitime22/3/2014, 4:43 pm por SY64

» Link´s Exercicios-5
Sistema de noticia para seu site Icon_minitime22/3/2014, 12:43 pm por SY64

» Criar um site passo a passo
Sistema de noticia para seu site Icon_minitime1/8/2013, 4:41 pm por marlonsouzajs


 

 Sistema de noticia para seu site

Ir para baixo 
AutorMensagem
Diego
Admin
Admin
Diego


Masculino
Número de Mensagens : 321
Idade : 32
Localização : Aqui no PROJECT-HTML
Pontos : 7837
Reputação : 24
Data de inscrição : 04/07/2008

Sistema de noticia para seu site Empty
MensagemAssunto: Sistema de noticia para seu site   Sistema de noticia para seu site Icon_minitime1/12/2008, 1:23 am

Bem esse sistema é bem facil de usar.. é só exibir o código de fonte que ja vai da pra ver..

Obs:
Onde estiver

/*1*/[ "Primeira Noticia blá blá blá blá blá blá blá blá blá blá " , "http://link1" ] ,
/*2*/[ "Segunda Noticia blá blá blá blá blá blá blá blá blá blá " , "http://www.link2" ] ,
/*3*/[ "Terceira Noticia blá blá blá blá blá blá blá blá blá blá ", "http://www.link3" ] ,
/*4*/[ "Quarta Noticia blá blá blá blá blá blá blá blá blá blá " , "http://link4" ] ,
/*5*/[ "Espero que gostem " , "http://www.projecthtml.tk/" ] ,
/*6*/[ "By: Project-HTML " , "http://www.projecthtml.tk/" ] ,

Para adicionar uma nova mensagem é simplesmente adicionar
/*7*/[ "Primeira Noticia blá blá blá blá blá blá blá blá blá blá " , "http://link1" ] ,

com o numero da ordem... e pronto escreva oque você kiser que vai sair la.. presizar de alguma ajuda para configurar alguma parte deste sistema de noticia é só avisar. Pegue o código abaixo:

Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<body bgcolor="#F0F0F0" onload="funcao_noticias()" topmargin="3" leftmargin="3">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="Mon, 23 Oct 2006 16:41:43 GMT">
<meta http-equiv="Cache-Control" content="no-store">
<meta http-equiv="Refresh" content="300">
<title>Sistema de Noticias  -  By PROJECT-HTML</title>


<!--inicio do letreiro de notícias-->
<SCRIPT language=JavaScript type=text/javascript><!--
var news = new Array(

/*1*/[ "Primeira Noticia blá  blá  blá  blá  blá  blá  blá  blá  blá  blá " , "http://link1" ] ,
/*2*/[ "Segunda Noticia  blá  blá  blá  blá  blá  blá  blá  blá  blá  blá " , "http://www.link2" ] ,
/*3*/[ "Terceira Noticia  blá  blá  blá  blá  blá  blá  blá  blá  blá  blá  ", "http://www.link3" ] ,
/*4*/[ "Quarta Noticia  blá  blá  blá  blá  blá  blá  blá  blá  blá  blá " , "http://link4" ] ,
/*5*/[ "Espero que gostem " , "http://www.projecthtml.tk/" ] ,
/*6*/[ "By: Project-HTML " , "http://www.projecthtml.tk/" ] ,


[]
) ;

var ticker_layer = false ;
var step_time = 25 ;
var freeze_time = 2000 ;
var news_index = 0 ;
var title_index = 0 ;
var end_title = "_" ; //caracter responsavel em 'formar' outros caracteres
var title_max_size = 75 ;

for (var i=0;i<news.length-1;i++){
   t=news[i][0].replace(/\&quot;/gi,'"');
   if (t.length>title_max_size){
      t = t.substring( 0 , title_max_size ) ;
      t=t.substring(0,t.lastIndexOf(' '));
      t+='...';
   }
   news[i][0]=t;
}

function funcao_noticias(){
   window.setTimeout( "roll_ticker()" , step_time ) ;
}

function roll_ticker(){
   var title ;
   if ( title_index == 0 ){
      while ( document.getElementById('noticias').lastChild != null ){
         child = document.getElementById('noticias').lastChild ;
         document.getElementById('noticias').removeChild( child ) ;
      }
   }

   if ( news.length > news_index + 1 && news[news_index][0].length >= title_index ){
      title = news[ news_index ] ;
      document.getElementById('sistema_noticias').setAttribute( "href" , title[1] ) ;

      s_text = title[0].substring( title_index  , title_index + 1 ) ;
      title_index++ ;

      if ( document.getElementById('noticias').lastChild != null ){
         if ( document.getElementById('noticias').lastChild.nodeValue == "_" ){
            child = document.getElementById('noticias').lastChild ;
            document.getElementById('noticias').removeChild( child ) ;
         }
      }

      txt = document.createTextNode( s_text ) ;
      document.getElementById('noticias').appendChild( txt ) ;

      if ( title[0].length > title_index ) {
         if ( title_index % 10 != 0 ){
            txt = document.createTextNode( "_" ) ;
            document.getElementById('noticias').appendChild( txt ) ;
         }
      }
      window.setTimeout( "roll_ticker()" , step_time ) ;
   }
   else{
      news.length == news_index + 2 ? news_index = 0 : news_index++ ;
      title_index = 0 ;
      window.setTimeout( "roll_ticker()" , freeze_time ) ;
   }
}

//-->
</SCRIPT>
<!--fim do letreiro de notícias-->


<style type="text/css">
<!--
A {
   FONT-SIZE: 20px; COLOR: #000080; LINE-HEIGHT: 20px; FONT-FAMILY: arial, verdana; TEXT-DECORATION: none
}

-->
</style>

</head>


<!--Configura o Target--->
<A id=sistema_noticias href="#" target=new name=sistema_noticias> _________________________________________________ <DIV id=noticias></DIV></A>

</body>
</html>
Ir para o topo Ir para baixo
http://www.projecthtml.tk
 
Sistema de noticia para seu site
Ir para o topo 
Página 1 de 1
 Tópicos semelhantes
-
» Enquetes Gratis para seu site.
» Estatisticas para seu blog ou site
» Crie um letreiro digital para o seu site/blog
» G1 - Noticias 24 horas em tempo real para seu site.
» Que posso fazer para tornar meu site mais movimentado ?

Permissões neste sub-fórumNão podes responder a tópicos
 :: UTILITARIOS :: Ferramentas e Utilitarios para sites/blogs/ e outros Códigos-
Ir para: