Tutorial De Camadas (divs)
#31
Posted 02/01/2006, 11:02
yorrany@msn.com
#32
Posted 19/06/2007, 20:46
Eu já tentie mil vezes entender o código dessa página, mas não consegui.
Everton
Você tem que ir setando via JS a posição a cada X milisegundos.
algo do tipo:
[...]
Espero ter respondido sua dúvida... isso aki é só um exmeplo rápido de como se pode fazer.
[]s,
#33
Posted 11/01/2008, 16:07
Peço desculpas se essa pergunta já foi respondida. caso positivo, por favor, me indiquem onde achá-la.
Eu fiz uma animação em flash (expandable banners - daqueles que a altura é X e pode crescer quando clicada) e coloquei numa camada numa página HTML.
A transparência funciona tanto no FF e no IE, o problema é que no FF (Firefox) o texto, botão ou qualquer campo abaixo da camada (com transparência) não pode ser acessado (selecionado, clicado, preenchido e etc). Já mexi no z-index de tudo quanto é jeito e não consigo resolver o problema.
Ps.: Se o z-index da camada for menor que 0 no FF a camada some. (Claro né?!)
Espero ansiosamente.
#34
Posted 24/01/2008, 19:42
vlw
"Living to learn... learning to live!"
Useful links: Rules | Search
#35
Posted 10/02/2008, 17:58
Você tem que ir setando via JS a posição a cada X milisegundos.
algo do tipo:
function move_layer( sId ) {
// Capturando valores atuais
var posTop = parseInt(document.getElementById(sId).style.top);
var posLeft = parseInt(document.getElementById(sId).style.left);
// Incrementando novos valores
posTop += 5;
posLeft += 5;
// Setando novas posições para a camada
document.getElementById(sId).style.top = posTop;
document.getElementById(sId).style.left = posLeft;
// Criando a animação
window.setTimeout("move_layer("+sId+")", 500);
}
window.onload = function () {
move_layer("logotipo");
}
Espero ter respondido sua dúvida... isso aki é só um exmeplo rápido de como se pode fazer.
[]s,
Olá,
Já fazia algum tempo que procurava este código
se não me engano deve ter sido isso que usaram na luminária verde deste site:
alexbuga.com
Mas, uma dúvida:
eu insiro este código direto na div?
Obrigada ^^
#36
Posted 11/02/2008, 17:06
posta o codigo ai pra gente analisar, porque sem ele num da pra ir muito longe nao.
vlw
Então, segue abaixo o código que estou usando. No IE funciona tranquilo, mas no FF não.
O HTML está em anexo.
Estilo do Layer/b]
<style type="text/css">
<!--
#Banner {
position:absolute;
width:380px;
height:380px;
z-index:200;
left: 282px;
top: 36px;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
visibility: visible;
}
#Layer1 {
position:absolute;
width:200px;
height:115px;
z-index:2;
left: 684px;
top: 9px;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script> => javascript gerado pelo dreamweaver para que no IE o flash seja ativado automaticamente.
[b]javascript/b]
<script type="text/javascript">
<!--
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
var obj = null; with (document){ if (getElementById)
obj = getElementById(objId); }
if (obj){
if (theValue == true || theValue == false)
eval("obj.style."+theProp+"="+theValue);
else eval("obj.style."+theProp+"='"+theValue+"'");
}
}
//-->
</script>
[b]entre "body" - corpo da tela
====
<div id="Banner">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','380','height','380','title','Marcadores UFG','src','BannerMarcadores','quality','high','pluginspage','http://www.adobe.com...annerMarcadores' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macr...rsion=9,0,28,0" width="380" height="380" title="Marcadores UFG">
<param name="movie" value="BannerMarcadores.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="BannerMarcadores.swf" width="380" height="380" quality="high" pluginspage="http://www.adobe.com...ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</noscript>
</div>
<p>ruiewhriwehriwhei rhwiue hriuwe hcriuwe hciuw ehcruwecruw ehiuwe ciuweciuwhrweu chuwe crw ecr hweiuch rweiu cwe hcrw.</p>
<p>ruiewhriwehriwhei rhwiue hriuwe hcriuwe hciuw ehcruwecruw ehiuwe ciuweciuwhrweu chuwe crw ecr hweiuch rweiu cwe hcrw.</p>
<p>ruiewhriwehriwhei rhwiue hriuwe hcriuwe hciuw ehcruwecruw ehiuwe ciuweciuwhrweu chuwe crw ecr hweiuch rweiu cwe hcrw.</p>
<p>ruiewhriwehriwhei rhwiue hriuwe hcriuwe hciuw ehcruwecruw ehiuwe ciuweciuwhrweu chuwe crw ecr hweiuch rweiu cwe hcrw.</p>
<p>ruiewhriwehriwhei rhwiue hriuwe hcriuwe hciuw ehcruwecruw ehiuwe ciuweciuwhrweu chuwe crw ecr hweiuch rweiu cwe hcrw.</p>
<p>ruiewhriwehriwhei rhwiue hriuwe hcriuwe hciuw ehcruwecruw ehiuwe ciuweciuwhrweu chuwe crw ecr hweiuch rweiu cwe hcrw.</p>
<p>ruiewhriwehriwhei rhwiue hriuwe hcriuwe hciuw ehcruwecruw ehiuwe ciuweciuwhrweu chuwe crw ecr hweiuch rweiu cwe hcrw.</p>
<p>ruiewhriwehriwhei rhwiue hriuwe hcriuwe hciuw ehcruwecruw ehiuwe ciuwec
<input type="submit" name="Submit" value="Submit" />
iuwhrweu chuwe crw ecr hweiuch rweiu cwe hcrw.</p>
<p>ruiewhriwehriwhei rhwiue hriuwe hcriuwe hciuw ehcruwecruw ehiu<a href="#">we ciuweciuwhrweu chuwe crw ecr hweiuch r</a>weiu cwe hcrw.</p>
<p>ruiewhriwehriwhei rhwiue hriuwe hcriuwe hciuw ehcruwecruw ehiuwe ciuweciuwhrweu chuwe crw ecr hweiuch rweiu cwe hcrw.</p>
==
Attached Files
#37
Posted 18/09/2017, 12:47
Viagra 24h cialis buy online Cialis Uso Diario Manyfacturing Amoxicillin Donde Comprar Cialis Generico Kamagra Oral Jelly Buono cialis A
Cialis 10mg Posologie cialis Cialisis Medicamentos
Buy Silagra Online Viagra Serios Bestellen
Keflex For Infants <a href=http://cialtobuy.com>cialis</a> Viagra En Ligne Livraison Express
#38
Posted 02/10/2017, 03:03
Buy Tamoxifen Citrate Uk cialis Buying Real Provera Cycrin
#39
Posted 02/10/2017, 07:50
Levitra Non Funziona Misoprostol Retained Placenta viagra online pharmacy Viagra Doping
Nausea And Amoxicillin Bentyl Real No Prescription Cialis 20 Mg Precio Farmacia cheap vardenafil 20mg Novolog Flexpen Cost Without Insurance
#41
Posted 03/10/2017, 21:13
Meningitis Mite Amoxicillin viagra Keflex With Probenecid Misoprostol Over The Counter Cialis Sans Ordonnance
Zelande Discount Generic Worldwide Stendra Legally Visa Next Day Delivery Isotretinoin For Sale viagra Cialis Vente Au Canada Kamagra Cheap Uk
Children'S Dosage For Amoxicillin Cheap Tretinoin Discount Elocon With Free Shipping Cod Only cialis online Au Revoir Clomid
#42
Posted 04/10/2017, 10:07
Kamagra Pills Paypal cheap levitra canada Cephalexin Cap 500 Mg C
Viagra O Cosa Cialis Entrega 24 Horas price of levitra in canada Levitra Original En Ligne Aggrenox Competencia De Kamagra
Propecia Topical Hair Loss generic viagra Priligy Approuve Pays Propecia Low Testosterone Drug
#43
Posted 05/10/2017, 06:56
Amoxicillin Synthesis Cialis Precio Mercadolibre viagra Discount Finasteride Tablets Finasteride 1 Mg No Prescription Needed
Prix Xenical where to buy tab isotretinoin visa Allergic To Penicillin Amoxicillin viagra prescription Cephalexin Alcohol Use Fast Shipping Of Viagra Amoxicillin With Astma
#44
Posted 06/10/2017, 14:49
Vendo Kamagra Bilbao Viagra Proffesional Online Australia online pharmacy Buy Tadacip 20 Propecia Sueno
Order Effexor Without Perscription Low Dose Viagra Supremesuppliers viagra Sale Bentyl Dibent With Free Shipping Online Secure Progesterone Quick Shipping Maine Can I Purchase Generic Pyridium
Viagra Prezzo Migliore Levitra Drug Test Dividere Levitra generic viagra Finasteride 20mg Internet Low Price Buy Combivent In Mexico
Kamagra Plus Cialis Cialis Generico Viagra Plus Priligy cialis Levitra Wechselwirkung Antibiotika
Acquistare Beni Kamagra On viagra Buy Wellbutrin Online Without Rx Is Acne A Reaction To Amoxicillin
Finasteride Irreversible Sexual Side Effects Propecia viagra Is Ampicillin The Same As Amoxicillin
#45
Posted 07/10/2017, 19:36
Info Cephalexin 250mg Baclofene Mylan low cost levitra Amoxicillin False Positive Drug Test Cocaine
Zithromax One viagra Cialis Generico Pagamento In Contrassegno Viagra Online Shop In Uk Viagra Nebenwirkungen Alkohol
Propecia Cotizacion cheapest levitra 20mg Zithromax Herpes Propecia Dosage Hair Loss Finasteride
Canadianphamarcy24 viagra online Cialis 5 Mg Quelle Est Le Prix Viagra Online 25 Mg Buy Doxycycline In The Uk
Achat Viagra Veritable Is Viagra Available Otc In Spain Levitra 40mg Best Price cialis online Comprar Cialis Generico Paypal Chaque Cachet Jaune Contient Soit 10mg Pharmaonline
0 user(s) are reading this topic
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)