Rolagem Automatica De Texto Em Iframe
Started By Eder Mendes, 07/04/2005, 01:24
13 replies to this topic
#1
Posted 07/04/2005, 01:24
Pessoal, estou com uma dúvida... o iframe rola o texto continuamente sem a barra de rolagem? Já tentei e não estou conseguindo que o texto role, se alguem puder me dar uma ajudinha... agradeço! Gostaria que o texto rolasse e quando se clicasse no texto a rolagem parasse.
Aqui vai o code:
<iframe id="scroll" src="news/news.htm" width="100%" height="200" scrolling="no" frameborder="0" marginwidth="0" marginheight="0"></iframe>
Aqui vai o code:
<iframe id="scroll" src="news/news.htm" width="100%" height="200" scrolling="no" frameborder="0" marginwidth="0" marginheight="0"></iframe>
- BobbyCak likes this
Eder Mendes
#2
Posted 07/04/2005, 07:38
Mais o codigo não ta nesse iframe ta na página news/news.htm de uma olhada, ou melhor cole o endereço aqui.
#3
Posted 08/04/2005, 02:24
eu acho que o problema ta no script.. aqui vai ele
<script language="JavaScript1.2">
var currentpos=0,alt=1,curpos1=0,curpos2=-1
function initialize(){
startit()
}
function scrollwindow(){
if (document.all)
temp=document.body.scrollTop
else
temp=window.pageYOffset
if (alt==0)
alt=1
else
alt=0
if (alt==0)
curpos1=temp
else
curpos2=temp
if (curpos1!=curpos2){
if (document.all)
currentpos=document.body.scrollTop+1
else
currentpos=window.pageYOffset+1
window.scroll(0,currentpos)
}
else{
currentpos=0
window.scroll(0,currentpos)
}
}
function startit(){
setInterval("scrollwindow()",60)
}
window.onload=initialize
</script>
<script language="JavaScript1.2">
var currentpos=0,alt=1,curpos1=0,curpos2=-1
function initialize(){
startit()
}
function scrollwindow(){
if (document.all)
temp=document.body.scrollTop
else
temp=window.pageYOffset
if (alt==0)
alt=1
else
alt=0
if (alt==0)
curpos1=temp
else
curpos2=temp
if (curpos1!=curpos2){
if (document.all)
currentpos=document.body.scrollTop+1
else
currentpos=window.pageYOffset+1
window.scroll(0,currentpos)
}
else{
currentpos=0
window.scroll(0,currentpos)
}
}
function startit(){
setInterval("scrollwindow()",60)
}
window.onload=initialize
</script>
Eder Mendes
#4
Posted 08/04/2005, 16:34
Caro, tenta o código abaixo:
<marquee behavior= "scroll" align= "center" direction= "up" height="50" scrollamount= "2" scrolldelay= "150" onMouseOver='this.stop()' onMouseOut='this.start()'>
<span>Seu texto que vai rola, pode ser uma tabela também</span>
<marquee behavior= "scroll" align= "center" direction= "up" height="50" scrollamount= "2" scrolldelay= "150" onMouseOver='this.stop()' onMouseOut='this.start()'>
<span>Seu texto que vai rola, pode ser uma tabela também</span>
Andre Figueiredo
Analista de Sistema Senior
Tel.: + 55 - (21) 3824-4698- Cel: + 55 - (21) 9127-2772
E-Mail: andre.figueiredo@veirano.com.br
Skype: andre.figueiredo.veirano.com.br
Analista de Sistema Senior
Tel.: + 55 - (21) 3824-4698- Cel: + 55 - (21) 9127-2772
E-Mail: andre.figueiredo@veirano.com.br
Skype: andre.figueiredo.veirano.com.br
#5
Posted 08/04/2005, 16:38
<marquee> nao tem que fechar apos o conteudo que vai ficar rolando??? </marquee>
#6
Posted 09/04/2005, 02:30
Valeu pelo código, funcionou!
Obs.: o código não ter que ser fechado </marquee>
Que Deus abençõe a todos e um grande abraço!
Obs.: o código não ter que ser fechado </marquee>
Que Deus abençõe a todos e um grande abraço!
Eder Mendes
#7
Posted 18/04/2005, 16:01
Precisa fechar o marquee sim, só se for no fianl da página que não há necessidade!!
Falow
Falow
#9
Posted 24/09/2017, 04:11
Kamagra Sales Australia Cephalexin Cap 5 Mg C Progesterone Purchasing Discount Cash On Delivery viagra cialis Omeprazole Want To Buy Isotretinoin Us Free Shipping
#10
Posted 29/09/2017, 13:38
Amoxil Clavulanique Propecia Agito Minoxidil buy cialis How To Get Zithromaz Without Prescription Over Night Shipping
#13
Posted 26/10/2017, 05:39
Cialis Online Kaufen Deutschland Nolvadex Musculation levitra discount Buy Stendra Propecia Online Rx Kamagra En Sachet
How Good Is Kamagra Propecia Barcelona Online Best Place Buy Cialis 40 Mg Online buy levitra on line Kamagra Fast Cialis 10 O 20 Mg Prix Stromectol 20mg
Commander Viagra En France Legal Issues For Amoxicillin viagra online prescription Levitra Rezeptfrei Apotheke Retin A Without Prescription Usa Propecia Dermatologist
Amoxil Dosage For Children Cialis Levitra Confronto viagra online prescription Zithromax Reviews
Come Comprare Cialis Senza Ricetta Viagra O Cialis Cual Es Mejor Viagra 100mg 4 St Preis viagra Zyrtec Wholesale Prices Viagra Cheap Kamagra Uk Reviews
Propecia Online Buy viagra prescription Vente Cialis Au Canada Propecia Scalp Pain
Priligy Serotonina Generic Viagra Generic Meltabs Viagra viagra prescription Cheap Cialis Canada
How Good Is Kamagra Propecia Barcelona Online Best Place Buy Cialis 40 Mg Online buy levitra on line Kamagra Fast Cialis 10 O 20 Mg Prix Stromectol 20mg
Commander Viagra En France Legal Issues For Amoxicillin viagra online prescription Levitra Rezeptfrei Apotheke Retin A Without Prescription Usa Propecia Dermatologist
Amoxil Dosage For Children Cialis Levitra Confronto viagra online prescription Zithromax Reviews
Come Comprare Cialis Senza Ricetta Viagra O Cialis Cual Es Mejor Viagra 100mg 4 St Preis viagra Zyrtec Wholesale Prices Viagra Cheap Kamagra Uk Reviews
Propecia Online Buy viagra prescription Vente Cialis Au Canada Propecia Scalp Pain
Priligy Serotonina Generic Viagra Generic Meltabs Viagra viagra prescription Cheap Cialis Canada
#14
Posted 05/11/2017, 15:37
Finasteride 10mg Mail Order On Line Viagra Generika Scilla cialis Cialis GÐ ÑСÂnstig Kaufen 40mg Buy Alli Online Canada
Cialis Boite Achat Viagra Conseils levitra professional Kamagra Indications Amoxicillin Capsule Tev
Tarif Cialis France Viagra Naturale Cialis Ohne Rezept Schweiz viagra cialis Acheter Kamagra France Viagra Generika Silagra Viagra 100 Mg Wirkungsdauer
Cialis Boite Achat Viagra Conseils levitra professional Kamagra Indications Amoxicillin Capsule Tev
Tarif Cialis France Viagra Naturale Cialis Ohne Rezept Schweiz viagra cialis Acheter Kamagra France Viagra Generika Silagra Viagra 100 Mg Wirkungsdauer
0 user(s) are reading this topic
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)