tp seguinte
queria puxar dentro de um htm, um js externo tp um include, e dentro desse js externo teria um monte de frases, cada linha uma frase, e a cada dia o js puxava uma linha, po html
tem como fazer?
nao precisa ser em ordem
pode pegar qualquer linha alternadamente
valews, uma vez eu vi isso aki no forum, mas eu num posso utilizar busca por causa do firewall
valew
Plis Java
Started By DARKSTONE, 01/08/2003, 07:27
3 replies to this topic
#1
Posted 01/08/2003, 07:27
#2
Posted 01/08/2003, 08:31
Fala Bola de fogo...
ó esse codigo da minha página, aparece uma frase por dia da semana:
ó esse codigo da minha página, aparece uma frase por dia da semana:
function caraca(n) { document.length=n} Frase=new caraca(7); Frase[0]="So Carry On, there's a meaning to life<br>Which someday we'll may find<br>Carry On, it's time to forget<br>Remains of past, to Carry On<p align='right'>Angra</p>"; Frase[1]="Eagle Fly Free, Let people see<br>Just make it your own way<br>Leave time behind, Follow the sign<br>Together we'll fly someday...<p align='right'>Helloween</p>"; Frase[2]="Holy Dragons, Keepers of time<br>Ride brave the blue skies, and spell my eyes<br>Fly beyond these hills, Ride on the wind<br>The Wisdom Of The Kings<p align='right'>Rhapsody</p>"; Frase[3]="I'm Hunting High and Low, diving from the sky above<br>Looking for, more and more, once again<br>I'm Hunting High and Low, sometimes I may win<br>Sometimes I'll lose, it's just a game, there I play<p align='right'>Stratovarius</p>"; Frase[4]="So I say Farewell, I'm yours forever<br>And I always will be<br>Missing you in my heart, You are the one<br>And You Always Will Be<p align='right'>Hammerfall</p>"; Frase[5]="Like the Sun shining down on me<br>Like the breeze on the Ocean<br>You're the path of my Destiny<br>I know you follow me Until Kingdom Come<p align='right'>Kamelot</p>"; Frase[6]="Fly, Fly to the stars, Reach then on high<br>Bring back the answers of the night<br>Roll with the clouds, Sing with the birds<br>'Cause on day we'll have to say Goodbye<p align='right'>Shaman</p>"; dia=new Date(); hh=dia.getDay(); document.write(Frase[hh]);falow darks...
When the dragon flies and cries,
their tears become the tempest..
Visite:
Draco
Come with me....
Future World
their tears become the tempest..
Visite:
Draco
Come with me....
Future World
#3
Posted 01/08/2003, 08:35
ahh. e o arquivo externo vc faz assim:
coloca os scripts(sem as tags<script></script>) num arquivo com extensão .js
ai na página que vc vai puxar o script vc põe assim:
<script src='mukeka.js'></script>
onde mukeka.js é o nome do arquivo com os scripts
coloca os scripts(sem as tags<script></script>) num arquivo com extensão .js
ai na página que vc vai puxar o script vc põe assim:
<script src='mukeka.js'></script>
onde mukeka.js é o nome do arquivo com os scripts
When the dragon flies and cries,
their tears become the tempest..
Visite:
Draco
Come with me....
Future World
their tears become the tempest..
Visite:
Draco
Come with me....
Future World
#4
Posted 01/08/2003, 12:36
valew draco
brigadu
depois a gente se fala via msn, ve se netra
sua bola de fogo
auhua
brigadao
brigadu
depois a gente se fala via msn, ve se netra
sua bola de fogo
auhua
brigadao
0 user(s) are reading this topic
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)