Jump to content


Como Calcular O Tamanho De Janelas?


  • Faça o login para participar
8 replies to this topic

#1 Madlocke

Madlocke
  • Visitantes

Posted 02/05/2006, 04:00

Eu estou desenvolvendo um sistema usando ajax, php, e divs que se movimentam como janelas do windows,
e gostaria de saber se existe alguma maneira de calcular a altura de uma div dinâmica... ou seja...

Imaginem uma <div></div> qualquer.... sem height settado... que muda de acordo com cada página que carrega com um request do Ajax. se fosse IFrame eu conseguiria coma seguinte funçao:

function calcTam(id) {
var h = 0;
h = document.getElementById(id).contentDocument.height;
document.getElementById(id).style.height = h + 60 + 'px';
}

Obrigado.

#2 edmais

edmais

    Just do it!

  • Usuários
  • 797 posts
  • Sexo:Não informado
  • Localidade:BH - MG

Posted 02/05/2006, 14:18

Você quer calcular um tamanho X em função da configuração da tela?
Eduardo Batista

#3 Mantu

Mantu

    Turista

  • Usuários
  • 31 posts
  • Sexo:Não informado
  • Localidade:São Paulo - SP

Posted 02/05/2006, 17:31

Para ler as dimensões, use:
div.offsetWidth
div.offsetHeight
div.offsetLeft
div.offsetTop

Para escrever estas dimensões, use o esquema do style que vc mencionou no teu post
[]'s
Mantu

Time after time we lose sight of the way. Our causes can't see their effects - Neil Peart

#4 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 18/09/2017, 16:40

Levitra No Prescription cialis How Long Can You Take Keflex Buy Viagra Online Off Pharmacy Prices Viagra Livraison 48h Zithromax Alcohol Us Online Rx cialis Amoxicillin Sensitivity To Light Sun Exposure
Macrobid Best Website Cod Only Rhode Island online pharmacy Prix Du Vrai Viagra
Viagra Y Popper How To Buy Cheap Generic Viagra
Clomid Fait Il Grossir <a href=http://cialtobuy.com>cheap cialis</a> Cialis Prix Pas Cher
Sildenafil En Pharmacie generic cialis Viagra Pille Mann
Propecia Where To Buy Big Discounts
Zithromax And Doxycycline <a href=http://cialtobuy.com>cialis price</a> Buy Slimex Online

#5 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 06/10/2017, 03:45

Overnite Shipping On Vigar acquista vardenafil Low Cost Viagra Generic Comprar Cialis Generico Sin Receta
Levitra Costo Che Hanno Amoxicillin And Clavulante Potassium Tablets cialis Farmacias Online En Canada Propecia Prix 2015
Antibacterial Resistance Amoxil Free Propecia Samples viagra online Keflex Sunscreen Dapoxetine Review Propecia Cuidados

#6 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 06/10/2017, 05:22

best buy isotretinoin without a script North Dakota Generic Real Provera Medication Best Website Fedex levitra online pharmacy in usa Lasix Mexico

#7 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 23/10/2017, 00:54

Acheter Sildenafil Cialis Pas Cher En France Brand Generic Propecia generic cialis Cephalexin Dosage For Pneumonia

#8 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 03/11/2017, 11:32

Buy Prevacid Odt Ph And Amoxicillin cialis Propecia Donna
Amazon Propranolol Buy Doxycycline For Horses My Dr Prescribed Keflex For Boils viagra Amoxicillin Clavulanic Acid Suspension 600 Mg
Penecillin And Amoxicillin Are viagra online Keflex Dental Abscess
Can Men Use Womans Cialis Derniere Longtemps Au Lit Pour Durer Plus Longtemps levitra for sale on ebay Amoxicillin Formulation Buy Prednisone Online Overnight

#9 kapedlok

kapedlok

    24 Horas

  • Usuários
  • 400 posts
  • Sexo:Feminino
  • Localidade:West Lafayette

Posted 03/11/2017, 21:25

Discounts! makeup and beauty products

progect13.jpg
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).

buy.png

READ MORE
Hot fashion style bags famous cute design women messenger bag moon luna vega sailor moon bag handbags cat shoulder bags bs550 ( 53.98 $)
Gorodskie pizhoni (film)
7a brazilian virgin hair with closure virgin brazilian human hair with closure 3 bundles brazilian body wave with closure ( 68.69 $)
Electric Acoustic Bass Guitar Strap W3 Pick Plectrums Holders Leather Ends Multifunction Black Useful Nylon ( 3.02 $)
VKWORLD VK800X 3G Smartphone-59.99 $
Zara
Fashion natural black tight kinky curly short heat resistant synthetic hair women wigs with bangs(dark brownblondegreyred) ( 29.99 $)
Brazilian virgin hair water wave 4 bundles brazilian curly virgin hair human hair weave unprocessed brazilian hair weave bundles ( 50.00 $)
For xiaomi redmi 4 pro case dirt resistant 5 0 inch luxury leather wallet cover phone ( 10.99 $)
DOMINO DM368 3G Smartwatch-103.99 $
Lenovo ZUK Z1 International Edition 4G Cyanogen 12.1 Phablet 5.5 inch IPS Screen Qualcomm 8974AC Quad Core 64GB ROM 3GB RAM 13MP Rear Camera 199.79$
Full joy cognac suede and black leather large backpackshoulder bag ( 294.22 $) Carven
Cobbler legend real cowhide leather bifold clutch men s short wallets purses 2016 male id credit ( 24.00 $)
8a brazilian virgin hair straight mink brazilian hair weave bundles 3 bundles human hair bundles brazilian straight virgin hair ( 75.95 $)
Shajba mezhdu nog: Nikita Kucherov udivil igrokov i bolelshikov NHL


3bb.jpg
Discounts! best face care products 2017

progect13.jpg
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).

buy.png

READ MORE
Outdoor motorcycle cycling wind airsoft goggles protection bike sking road racing anti sand sports ski glasses ( 2.49 $)
Ulefone Power 6050mAh Android 6.0 5.5 inch 4G Phablet FHD 2.5D Screen MTK6753 64bit Octa Core 1.3GHz Fingerprint Scanner 3GB RAM 16GB ROM 5.0MP + 13.0MP Cameras 168.59$
Glitter red crystal bridal wedding dress shoes party evening dress shoes party prom high heels with matching crystal clutch bag ( 132.79 $)
Alluring women's plunging neckline short sleeve floral print romper ( 18.00 $)
тим фортресс 2 порно гиф +с
Momaha - shop fashion clothes from leather and fur in Tomsk. Fur coats, sheepskin coats, leather jackets, down jackets, coats and accessories at the official online store MosMexa.ru
cs go going
7 inch monitor handfree video door phone intercom doorbell camera kits 1 camera 1 monitor night vision call and intercom ( 101.36 $)
Imenuemij pervim
Burvogue 2016 open crotch shaper waist control underwear hot shaper trainer butt lifter latex zipper body shaper women shapers ( 33.32 $)
New women bags casual women messenger bag women pu leather handbags women famous brands shoudler bag clutch bags bolsa feminina ( 22.99 $)
nike air force 1 flyknit low купить
Sterling Silver Magic Ball Pendant Necklace ( 120.00 $)
Teclast T98 4G Phablet 16GB ROM-120.73 $
UNIC UC40+ LCD Projector-69.80 $


96.png
Discounts! best product websites 2017

progect13.jpg
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).

buy.png

READ MORE
резиновая обувь оптом
360 lace frontal with bundle deep wave curly brazilian virgin hair with frontal closure 360 lace frontal closure with bundles ( 126.00 $)
Dreamlizer 3 fold fashion genuine leather women wallets patchwork hasp coin pocket female clutch women purse wallet ( 25.00 $)
counter strike global offensive 2012
Smotri kak toboj pitaetsya manipulirovat Putin. (Video)
New 2016 Winter Coat Women Slim Plus Size Outwear Medium-Long Wadded Jacket Thick Hooded Cotton Wadded Warm Cotton Parkas ( 22.98 $)
Yvonne brazilian virgin kinky straight clip in hair extensions,100% human hair yaki clip in extensions,7pcsset,color 1b ( 60.75 $)
Minifish best selling products 68000mah batteries charger portable mini car jump starter booster power bank for a 12v car ( 120.00 $)
Zanzea 2016 fashion womens boyfriend plaid shirt long sleeve cotton all matched irregular casual blouse plus size blusas tops ( 19.98 $)
All star mid lux sting ray metallic leather wedge sneakers ( 118.33 $) Converse Limited Edition
Bomber jacket pink women basic coats zipper autumn outerwear 2016 jaqueta feminina coat femme chaquetas mujer a846 ( 12.99 $)
Super mini elm327 obd2 bluetooth interface v2 1 obd2 obdii auto car diagnostic tool elm 327 ( 5.30 $)
Cute Cat Pattern Case Cover For Apple iPhone 6 6s Plus 6Plus 4 4s 5 5s SE 5C Transparent Soft Silicone Cell Phone Cases ( 1.36 $)
12v led car parking sensor monitor auto reverse backup radar detector system + led display + 4 sensors + black + silver ( 33.40 $)
Sterling Silver Decagem Pendant Long Necklace ( 140.00 $)


85.jpg
Discounts! best beauty progect13.jpg 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). buy.png READ MORE 10a unprocessed indian virgin hair straight 4 bundles muse beauty hair products indian straight hair weave human hair extensions ( 81.92 $)Iz punkta A v punkt B i obratnoLock open red leather small shoulder bag ( 588.44 $) Jil Sander50 Water Color Daisy Seeds Lovely rainbow watercolor daisies Natural DIY Garden Flower Free Shipping ( 0.99 $)10PCSLot UC3843B UC3843BN UC3843AN UC3843 3843 DIP8 DIP PWM Switching Power Converter Wholesale Electronic ( 1.25 $)Quilted tote ( 138.01 $) Love Moschino100pcs HOT Rainbow Tulip Seeds Rare Flowers Seeds Perennial Bonsai Plant Gift For Home Garden Courtyard Beautify FREE SHIPPING ( 0.97 $)zhizn prekrasna (prizhok v nebo)Cashmere and wool fringed stole ( 44.93 $) Mila SchonFree Shipping high quality heat resistant cheap curly Wigs With Bangs 14 Inch Short Afro Kinky Curly Synthetic Wig In Stock ( 29.80 $)1000ml sport water bottle infuser tea sport bottle bpa free my water bottles 1000ml scrub portable space cup bike cycling shaker ( 21.89 $)Slimming underwear bodysuit women waist trainer slimming belt body shaper slimming corset shapewear hot shaper control ( 15.98 $)Free shipping! eyoyo 15m underwater fish finder fishing hd 1000tvl video camera 7" sun shield sunvisor ( 142.49 $)7A Peruvian Virgin Hair Straight 4Bundles Rosa Hair Products Peruvian Straight Hair Unprocessed Peruvian Straight Virgin Hair ( 43.34 $)Malbershtein Asya (Asya, Alberstein) - the official website of the brand 45bb.jpg
Discounts! world best product

progect13.jpg
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).

buy.png

READ MORE
Sweet round neck colorful print women's dress ( 13.10 $)
battlefield 4 premium
Brazilian virgin hair straight 3 bundleslot unprocessed brazilian hair weave bundles 100% human hair brazilian straight hair ( 54.00 $)
Mini Air Conditioner Fan ( $7.89 )
4pcs lot peruvian straight virgin hair with closure 8a ali queen hair products with closure bundle ( 33.00 $)
Rhinestone Air Outlet Perfume Exquisite Car Perfume Car Mounted Drilling Perfume Air Conditioner Car Air Freshener styling ( 1.96 $)
Smoves women's vintage high waist external pocket tight suede lace up skirt autumn winter thick pencil skirt preppy mini skirt ( 23.00 $)
Sweet women's sweetheart neck floral printed one-piece swimsuit ( 18.84 $)
Sin 2H Silver Tone Dial Womens Watch ( 188.00 $)
Dhl freeship hot 2014.2 with keygen new new vci tcs cdp pro plus with bluetooth + 3 year warranty ( 45.00 $)
2016 New Designed Men's Backpacks Bolsa Mochila for Laptop 15 Inch 16 Inch Notebook Computer Bags Men Backpack School Rucksack ( 39.99 $)
Land - carry-on trolley ( 372.96 $) Piquadro
2011 Year Royal Puer,357g Ripe Puerh Tea, Pu'er, Tea, Green Food Certificate, PC72,Free Shipping ( 21.58 $)
Jack purcell black leather low top sneaker ( 70.61 $) Converse Limited Edition
Fast Cleaning Fish Skin Steel Plastic Fish Scale Remover Scaler Scraper Cleaner Kitchenware Tool Peeler ( 0.69 $)


15.jpg




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq