Script Para Mover Janela...
#1
Posted 16/10/2003, 03:10
bem galera..eu to fazendo uma animação em que tem um carinha se debatendo com as bordas de uma parede( que nesse caso , se refere as bordas da janela).. e quando ele da umas pancadas a janela se move de acordo com a intensidade que eu coloco... certo....acho que até ae eu ja vi alguma coisa.. mas queria saber se tem algum script que faz o efeito da janela tombando??
alguém sabe onde encontrar alguma coisa do tipo? tem alguma coisa??
valeu aí..
faloww..
[]'s
#2
Posted 16/10/2003, 05:31
Não sei se vc tem algum conhecimento com JavaScript já.. Mas o "comando" usado para mover uma janela é: moveTo('40','50');..
Onde o 40 equivale à distancia com relação ao lado esquerdo do monitor e 50 equivale à distância com relação à parte superior do monitor..
Vc deve coloca esse comando entre as TAGs <head> e </head>, ex. de um page completa:
É assim q vc vai mover a sua tela, agora é so ir brincando..<html>
<head>
<title>Titulo da page</title>
<script>
moveTo('90','200');
</script>
</head>
<body>
Blablabla
</body>
</html>
Fui..
chinello at gmail dot com
System > Athlon 64 3200+ Mobile | Kubuntu 7.04 Fesity Fawn AMD64 | Kernel 2.6.20-16
Coding @ KDE 3.5.7 | PHP 5.2.1 | Apache 2.2.3 | MySQL 5.0.38
#3
Posted 16/10/2003, 14:39
O comando é window.moveTo( 90, 200 );
Sem as aspas e com o obejto window...
Tudo o que vc tem que fazer é criar uma função que execute essa alternância... utilize window.setTimeout ou window.setInterval para controlar a repetição. O tempo que o carinha bate com a cabeça na parede é inferior a 1 segundo... vc precisa calculá-lo. Como vc precisará de uma precisão, recomendo window.setInterval.
function hitme() {
// Código que move a janela
window.setInterval("hitme", 800);
}
Mas... como ficará um pouco complicado a parte "Código que move a janela", pois você é um tanto quanto complicado capturar a posição da janela na tela... é melhor vc usar 2 funções assim:
function hitme() {
window.moveTo(15,15);
window.setInterval("hitme2", 800);
}
function hitme2() {
window.moveTo(0,0);
window.setInterval("hitme", 800);
}
Espero ter te dado uma noção de como fazer... este naum é o código pronto... é só um jeito que você poderia fazer isso.
[]s,
// Dados:
Nome("Guilherme Blanco");
Localidade("São Carlos - SP/Brasil");
Cargo("Manutenção");
</script>
#4
Posted 16/10/2003, 17:04
ah pode cre.. valeu ae Guilherme e Chinelo.. como sou acostumado com ACtionSript.. o JavaScript num é um bicho de sete cabeças! e vai ajdaur esse toque que vcs me deram aí... vou quebrar a cabeça aqui pra ver se consiguo.
e tipo eu vi um script com window.self.moveBy..... vou testar todos aí..
quando sair alguma coisa eu posto aqui! ( ou bem .,.. na parte de flash! heh)
falowww..
[]'s
#5
Posted 17/10/2003, 00:07
Ow GB..Corrigindo...
O comando é window.moveTo( 90, 200 );
Sem as aspas e com o obejto window...
Pode até não estar correto, mas o q eu postei funfa..
hehe.. Eu até testei antes de postar, pra não postar besteira e talz, aí testei e funfou.. Mas pode haver alguma incompatibilidade com algum browser ou versão, mas aqui funfou..
Fui..
chinello at gmail dot com
System > Athlon 64 3200+ Mobile | Kubuntu 7.04 Fesity Fawn AMD64 | Kernel 2.6.20-16
Coding @ KDE 3.5.7 | PHP 5.2.1 | Apache 2.2.3 | MySQL 5.0.38
#6
Posted 27/09/2017, 21:14
Acheter Le Kamagra Buy Amoxicillin For Pet Without Prescription Priligy Riesgos cialis price Viagra 100mg Price Walmart Viagra Verpackung Original
Zithromax Fatigue Side Effect Becadexamin Buy Accutane 40 Mg Online cheap cialis Generika Viagra Bestpreis Stendra Without Perscription Internet Overseas
#7
Posted 28/09/2017, 08:08
Female Cialis Recomended Dose Where To Buy Tamoxifen Citrate viagra cialis Achat Cialis Livraison Rapide
#8
Posted 28/09/2017, 19:01
Buy Effexor Online No Prescription Buy Orlistat Capsules generic cialis Md Price Pharmacy Discounts
Propecia Shelf Life Canadian Pharmacy online pharmacy Kamagra 25 Mg Zithromax Side Effects Fda Produit 161
250mg Amoxicillin Capsule Propecia Tolerance 1 Mg Sans Ordonnance Amoxicillin Pharmacie En Ligne En Suisse Generique cialis Levitra Usa Mononucleosis Amoxicillin Rash Vad Ar Propecia
#9
Posted 09/10/2017, 22:55
Liquid Amoxicillin Dosage levitra online order Amoxicillin Allergic
Conseguir Viagra Buy Prescription Levitra Viagra Prezzo Migliore online pharmacy Zpack Online
#11
Posted 25/10/2017, 14:21
Discounts! best hair products
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).
READ MORE
Trumpet Cleaning Brush - 3Pcs ( $3.21 )
Luminaire water pipe lamp retro loft style lampe vintage industrial pendant lighting fixtures iron painting american country ( 110.98 $)
New Fashion Solid Color Warm Wool Winter Women Girl Beret French Artist Beanie Hat Ski Cap For Female CL0053 ( 2.07 $)
Professional 48 w ccfl led lamp nail dryer for nail gel polish curing nails lamp dryers art manicure automatic sensor us eu plug ( 88.88 $)
Antique white leather unlined saddle bag ( 262.12 $) Rebecca Minkoff
Jet set travel large crossbody clutch ( 131.06 $) Michael Kors
Yotaphone 2 5.0 inch 4G Smartphone-118.89 $
Practical Stainless Steel Fruit Pineapple Slicer Peeler Creative Kitchen Tool-4.16 $
Retail bearking professional fishing tackle only for promotion fishing lures bear king 128mm 14 8g minnow ( 5.00 $)
Frisky tame 10 pcs bdsm bondage set leather fetish adult games sex toys for couples slave game sm product erotic toys handcuffs ( 22.28 $)
Feitong 2017 summer dresses women ladies sexy strappy v neck lace party bodycon bandage knee length ( 8.24 $)
14 5g 9cm 1pcs lot winter fishing hard bait vib with lead inside ice sea fishing ( 1.43 $)
100 Pair Touch Flex Cable Foam with LCD Flex Cable Foam for iPhone 5S ( $2.66 )
Stainless Steel Cross Pendant Necklace ( 118.40 $)
Full hd 2.7 ( 25.99 $)
Discounts! new beauty awards
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).
READ MORE
Vipusknikam o zhizni
Deep wave brazilian hair 3 bundles brazilian curly virgin hair brazillian deep curly virgin hair 8a grade unprocessed human hair ( 80.90 $)
Drevnie (Zvyozdnie vrata)
Black Necklace ( 76.80 $)
Mobile terminal, mPOS payment terminal the ability to accept payments by credit cards - 2can.ru
Flower seeds blue lotus seeds aquatic plants water plants midnight blue lotus 10pcs aa ( 0.89 $)
Maxi Plus Size Women Floor-Length Black White Autumn Lace Dress Adjust Waist Sexy See Through Floral Vestido DR5046 ( 11.90 $)
Hot ! high quality new winter fashion men's coat, men's jackets, men's leather jacket free shipping ( 83.72 $)
7a brazilian body wave frontal closure with bundles 13x4 ear to ear lace frontal closure with bundles virgin human hair closure ( 24.75 $)
Student writing posture corrective braces to hold a pen device, dolphin fish gel pencil hold a pen device Color Randomly Z34801 ( 0.65 $)
16pcslot wholesale razor high quality men's razor blades shaver blades shaving blades for mache 3 standard for ru&eu us ( 7.35 $)
Stylish floral print halter high waist women's bikini set ( 11.35 $)
Bluboo Picasso 3G Smartphone 5.0 inch IPS Screen Android 5.1 MTK6580 Quad Core 1.3GHz 2GB RAM 16GB ROM 8.0MP Front Camera Bluetooth 4.0 GPS 94.39$
Rogesi 2016 new casual women t shirts hooded long sleeve round neck short shirt women's clothing american apparel ( 22.90 $)
ONKE New Listing Hot Sale fashion brand Breathable canvas Men & women casual shoes women men shoes jx0031 ( 47.99 $)
Discounts! best beauty products for women
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).
READ MORE
500Pcs Water Balloon Summer Toy for Kid Beach Party Fun ( $2.80 )
Mens Sky Blue Hand Painted Italian Leather Belt ( 150.00 $)
Sexy 34 sleeve plunging neck leopard print women's club dress ( 13.74 $)
1pcs nail art hand wash remover soak bowl diy salon nail spa bath treatment manicure tools ( 1.76 $)
2Pcs Extra Spare Landing Skid for JXD 509G 509W Remote Control Quadcopter ( $2.39 )
Ethics issues resurface as new Trump tower opens
JJRC Mini H20 2.4G 6-Axis Gyro Remote Control 4 Channel Hexacopter Headless Mode RTF 17.49$
Glison, Dzhejms
Brazilian virgin hair body wave 3 bundles 7a brazilian body wave human hair tissage bresilienne brazilian hair weave bundles ( 45.33 $)
2016 autumn t shirt women long sleeve slim fit fashion ladies top hollow out tops tee solid lj4515r ( 7.84 $)
Horn smooth leather shoulder bag ( 748.93 $) Roberto Cavalli
Elastic waist u pouch men's briefs ( 9.34 $)
Apofis (Zvyozdnie vrata)
Spring Newborn Baby Girl Clothing Set 3 PCS Cotton Sets Headband+T-shirt+Leggings Bebe Casual Floral Lace Infant Clothes ( 22.40 $)
Magic union high quality school bags for boys girls children backpacks primary students backpack waterproof school bag book bag ( 37.98 $)
Discounts! great design products
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).
READ MORE
Oslamp hi-lo beam cob chips h4 plug 6500k 2pcs led car headlight kits 2wd 4wd led auto head lamp suv led bulbs with bulit-in fan ( 32.99 $)
Handmade genuine leatwher rhinestone wedding shoes white pearl bridal dress shoes women high heels for homecoming size 34-43 ( 105.83 $)
Professional 2000w w car inverter dc 12v to ac 220v power inverter charger converter transformer vehicle power supply switch ( 38.99 $)
Zenbefe linen small backpack unisex school bag for teenage school backpack for students backpacks rucksack bookbags travel bag ( 27.88 $)
Black Silicone iPhone 6 Cover ( 68.00 $)
Real Beauty Brazilian Virgin Hair Body Wave 4 Bundles 8A Human Hair Queen Mink Brazilian Hair Weave Bundle Brazilian virgin hair ( 68.73 $)
Serpent black leather and gold tone metal necklace ( 636.59 $) Roberto Cavalli
2016 New Korean Winter Women Coat Elegant Pure color Thick Warm Hooded Down Cotton Jacket High quality Large size Women Coat ( 49.00 $)
Mongolian afro kinky curly virgin hair 3 bundles kinky curly afro curl mongolian kinky curly hair natural afro kinky human hair ( 51.00 $)
Fengrise wedding decoration events 5 pcs 20 25 30 cm pom pom tissue paper pompom ball ( 1.99 $)
5000pcs 5.0mm aluminium micro ring silicone lined links beads tube for feather human hair extension tools accessories ( 35.00 $)
Hot Sale Free shipping Size Unisex Orthotic Arch Support Sport Shoe Pad Sport Running Gel Insoles Insert Cushion for Men Women ( 4.98 $)
Stylish simple cadet blue 6cm width tie for men ( 4.86 $)
2016 New Fashion Car Play Dead Rabbit Key Chain Fur Pom Pom Keychain Rex Rabbit Bag Car Hanging Pendant Jewelry 18 Colors KC003 ( 10.00 $)
Vkworld T1 Plus 4G Phablet-144.36 $
#12
Posted 07/11/2017, 06:37
Comprare Cialis In Germania Rezeptfrei Viagra Ausland Order Cialis Online In Usa vardenafil 20 mg.no prescription Priligy Belgie Canandian Cialis For Sale
#13
Posted 05/12/2017, 23:43
Cialis Prezzo Al Pubblico In Farmacia Cialis Soft Delivery Can I Buy Synthroid Online cialis Xenical 120 Mg Acheter
Mifepristone En Ligne Prezzo Levitra In Medicina cost of levitra 20mg Amoxicillin Information Sheet Vente Sildenafil 200 Mg
#14
Posted 08/02/2023, 15:16
accutane effects 9 NaCl during the ESWL in patients with renal stones
Femtosecond lasers have undergone a number of improvements since their introduction including smaller and more tightly packed cavitation bubbles to enable almost resistance free stromal bridges, thinner and more predictable flaps with smoother interfaces, and algorithms for the creation of elliptical flaps or flaps with everted edges to enable mechanical stability 25 29 clomid success stories All participants provided written informed consent that was reviewed and approved by the National Cancer Institute and the institutional review boards of all participating institutions
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)