Jump to content


Photo

Verificar Resolução Do Navegador E Trocar Css


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

#16 Rei Lagarto

Rei Lagarto

    Turista

  • Usuários
  • 25 posts
  • Sexo:Não informado

Posted 27/02/2008, 08:39

Oi Bimonti. O IE6 não guarda a resolução escolhida. Qualquer clique e ele volta na resolução default, no caso 1024. Ele não guarda se quiser que fique em 800.

Peguei o JS completo, já com os cookies, mas não funciona.

No IE7, Safari, FF, Opera... tudo beleza, só a encrenca do IE6 que não rola.

Se puder dar uma olhada no arquivo, agradeço.
Peguei no Maujor.

Abraço!

Edição feita por: Rei Lagarto, 27/02/2008, 08:40.


#17 DarkSign

DarkSign

    Doutor

  • Usuários
  • 868 posts
  • Sexo:Masculino
  • Localidade:Brasil
  • Interesses:Tecnologias na área WEB em geral e desenvolvimento.

Posted 27/02/2008, 08:47

olha, eu não entendo muito de JS não... mas se o IE6 não tá aceitando criar por JS, pq você não tenta criar o cookie com uma linguagem tipo ASP ou PHP e recuperar o cookie da mesma forma? Será que o IE6 tem incompatibilidade com essa função?
Não sabe por onde começar? Que tal pelas Regras ?

#18 Rei Lagarto

Rei Lagarto

    Turista

  • Usuários
  • 25 posts
  • Sexo:Não informado

Posted 28/02/2008, 21:20

DarkSign, boa pergunta, não sei se rola com PHP ou ASP. De qualquer forma, vou esperar uma luz do Bimonti, foi ele que sugeriu usar JS, talvez saiba o que está acontecendo.

Abraço!

#19 bimonti

bimonti

    Super Veterano

  • Usuários
  • 2654 posts
  • Sexo:Masculino

Posted 29/02/2008, 07:36

Se você usa windows, vai na sua pasta de temporários e verifique se está salvando os cookies...

Qq coisa depois eu procuro aqui, tenho uma classe para cookies que funciona no IE6 ... pelo menos funcionava ... ^_^
WebFórum - Equipe de Desenvolvimento - Monitor
Posted Image
Yeah I do have some stories, and it's true I want all the glory ...

#20 Rei Lagarto

Rei Lagarto

    Turista

  • Usuários
  • 25 posts
  • Sexo:Não informado

Posted 06/03/2008, 09:18

Bimonti, verifiquei e não está salvando na pasta temporários.

Se puder dar uma olhada no código, eu não manjo nada de JS: maujor.com/tutorial/styleswitcher.js.

Obrigado.

#21 bimonti

bimonti

    Super Veterano

  • Usuários
  • 2654 posts
  • Sexo:Masculino

Posted 06/03/2008, 12:54

ck = {		set : function(valor){			var expire = new Date();				exPlus = expire.getTime() + (7*24*60*60*1000);				expire.setTime(exPlus);								try{					document.cookie = "remember="+valor+"; expires="+expire.toGMTString();				}catch(e){					alert(e);				}				},				get : function(nome){			cookies = document.cookie.split(';');			var valor = "";			for(x=0;x<cookies.length;x++){				if(cookies[x].match(nome)){					valor = cookies[x].replace(nome+'=','');					return valor;				}			}			return false;		},				unset : function(nome){			var valor = this.get(nome);					var expire = new Date();				exPlus = expire.getTime() - (7*24*60*60*1000);				expire.setTime(exPlus);								try{					document.cookie = nome+"="+valor+"; expires="+expire.toGMTString();				}catch(e){					alert(e);				}		}}

Essa classe eu fiz há um bom tempo. "Set" é para criar um novo cookie, "Get" resgata o valor dele, e "Unset" apaga o cookie. Não tem método para substituir. Acho que tem que apagar e criar novamente, ou não lembro se criando um com o mesmo nome ele cria por cima. Você usa assim:
<a href="#" onclick="ck.set('Bimonti')">Setar</a>
<a href="#" onclick="alert(ck.get('remember'))">Ler</a>

O nome do cookie é "remember", você pode trocar ali na classe, ou deixar esse mesmo.Nem me preocupei em modificar nada...
WebFórum - Equipe de Desenvolvimento - Monitor
Posted Image
Yeah I do have some stories, and it's true I want all the glory ...

#22 RonsisM

RonsisM

    Super Veterano

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

Posted 24/09/2017, 18:31

Onlinepharmacy How To Get Viagra Online Acheter Viagra Par Virement Bancaire cialis online Cialis Hermosillo Diazide Buy Tamoxifen Online No Prescription

#23 RonsisM

RonsisM

    Super Veterano

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

Posted 23/10/2017, 03:23

Low Cost Cialis 2.5mg Daily Cialis 20mg Vs 40mg Best Dosage Online Internet Pharmacy levitra expre delivery Viagra 100mg 12 Tabl Zithromax Active Ingredient Predisone
Cialis Pour Premiere Fois Pharmacy Uk Silagra viagra Xenical Buy
Propecia Comprar Comprare Cialis Senza Ricetta Levitra Espanol viagra Keflex Expansion Compensators Metronidazole For Dogs No Rx Levitra Bayer 5mg
Can You Buy Doxycycline In India Buy Cheap Metronidazole levitra online pharmacy Sale Isotretinoin Low Price
Keflex To Treat Spondylitis gen health levitra Lortab
Amoxicillin 500mg Dose For Ear Infection buy viagra Levitra After Expiry Date Magasin Levitra En Ligne Vendita Viagra On Line Italia
Propecia Erfolg Amoxicillin Aspirin Viagra 50 Mg Tablets viagra online Can I Purchase Elocon 5g

#24 RonsisM

RonsisM

    Super Veterano

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

Posted 04/11/2017, 22:52

Propecia Precio Farmacia Comprar Online Pharmacy Cheap Retin A Levitra Coupons viagra Kamagra 100 Mg Tours Viagra Y Embarazo
Viagra Prezzo Cialis 100mg Online viagra Cialis Ultimas Noticias Cialis Nebenwirkungen Herzinfarkt Cialis Online Con Paypal

#25 hapedlok

hapedlok

    24 Horas

  • Usuários
  • 499 posts
  • Sexo:Feminino
  • Localidade:Brisbane

Posted 04/11/2017, 23:17

Discounts! beats products progect11.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 впускной +и выпускной распредвалCasual solid color and metal design women's sandals ( 27.14 $)50pcs pack cute children elastic hair bands kids hair ties baby rubber band headdress baby girls ( 1.54 $)1m best quality oil hose fuel line hose tube oil pipeline for motorcycle motocross ATV pit dirt bike off road,free shipping ( 1.93 $)Clocolor asymmetric black coat stand collar long sleeve women overcoat elegant single-breasted slim fall winter women coat ( 41.99 $)battlefield 1943 мультиплеерstainless steel necklace men,chain 3mm wide(40-65cm),customized jewelry curb cuban hiphop,wholesale necklaces accessories VN001 ( 1.98 $)sky force reloaded звездыодежда виттShtormovoe preduprezhdenie obyavleno v MoskveWomen pants trousers winter high waisted outer wear women female fashion slim warm thick duck down pants trousers skinny ( 24.56 $)Brazilian virgin hair body wave 6 ( 50.00 $)Hot sale fashion luxury women engagement jewelry 925 sterling silver 5a zc crystal zircon female wedding finger flower rings ( 99.00 $)Trendy bat sleeve round neck pure color cut out t-shirt for women ( 12.00 $)Optical Print Silk Ascot ( 49.00 $) 25bb.jpg
Discounts! amazing beauty products

progect11.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
Brazilian virgin hair straight 7a unprocessed virgin hair weft cheap brazilian hair 4bundles human hair extensions can be curled ( 42.00 $)
Xiaomi MJTD01YL Smart LED Desk Lamp-46.89 $
Autumn fashion s- 6xl high waist jeans high elastic plus size women jeans woman femme washed casual skinny pencil denim pants ( 31.16 $)
new app +on pc
Factory selling ccd hd rearview waterproof night vision 170 degree wide angle luxur car rear view camera reversing backup camera ( 16.46 $)
скачать angry birds star wars полную версию
Big bag2016 women's beach fashion waterproof color kipled handbag large shoulder bag handbag casual female bolsa shopping bags ( 20.74 $)
Slymaoyi genuine leather unisex card holder wallets high quality female credit card holders women pillow organizer ( 9.88 $)
купить battlefield 1 origin
line 6 mobile
Casual checked and pu leather design crossbody bag for women ( 14.51 $)
антицеллюлитный скраб
распредвал шестерня
Monterey Navy Blue Suede Belt ( 178.00 $)
Black Leather 18 kt. Gold Skull Double Wrap Bracelet ( 135.00 $)


69bb.jpg
Discounts! women's best product reviews

progect11.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
Princess Goldtone Brass Bangle wCrown ( 132.00 $)
топ шоп официальный сайт интернет магазин
New arrival europe knitting pu leather women backpack preppy fashion rivet school bags 4 color metal bag ( 27.80 $)
Brazilian Virgin Hair Loose Wave 3pcslot Natural Color 100% Unprocessed Brazilian Virgin Hair Cheap Brazilian loose wave ( 75.60 $)
Herringbone pure cashmere mens scarf wfringes ( 141.54 $) Lanvin
K13 Cree XML T6 600Lm Rechargeable LED Headlamp ( $8.15 )
JISIWEI S+ Smart Robotic Vacuum Cleaner-399.00 $
нексия затяжка гбц
Malwarebytes AdwCleaner 6.043
7A Brazilian Blonde Hair Weave Bundles 1pcslot Platinum Blonde Virgin Hair Extensions Unprocessed Human Hair Weave ( 55.39 $)
10a brazilian body wave 4 bundles mink brazilian virgin hair queen hair products 100% unprocessed remy human hair bundles ( 55.50 $)
направляющие клапанов ваз
Multicolor manga print flat clutch ( 109.12 $) DSquared2
Peruvian virgin hair straight 3 bundle deals peruvian straight virgin hair 8 ( 58.00 $)
Denim Slip On Sneaker ( 135.00 $)


54bb.jpg
Discounts! makeup releases summer 2017

progect11.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
транспортир грм змз 405
Large Paisley Print Silk Ascot ( 58.80 $)
New brand ski helmet ultralight and integrally-molded professional snowboard helmet men skatingskateboard helmet multi color ( 29.99 $)
120pcs - Soft Nail Caps for Cats + 6x Adhesive Glue + 6x Applicator XS, S, M, L, paw, claw, cover, lot, cat ( 5.64 $)
360 Lace Frontal With Bundles 360 Lace Frontal Band With 3 Bundles Body Wave Brazilian Virgin Hair With 360 Lace Frontal Closure ( 155.00 $)
300 pcs climbing strawberry seeds big strawberry delicious fruit and vegetable seeds for home garden NO-GMO strawberry tree ( 0.51 $)
Blue s Shirt ( 49.00 $)
момент затяжки гбц змз
2016 new genuine leather bag rivet patchwork women messenger bags crossbody fashion designer handbags shoulder bag l037 ( 34.00 $)
Yueqi YQ8008 216pcs LED Programmable Bicycle Spoke Light DIY-85.14 $
Bronzino blue lagoon cotton book clutch ( 930.81 $) Olympia Le-Tan
Rectangle Crystal Style SD Card Slot MP3 Player with Universal 3.5mm Jack Back Clip ( $1.89 )
Ru br cute cartoon printed short purses dollar price card holder carteira feminina pu leather zipper ( 6.17 $)
grand theft auto википедия серия игр
TOKUYI TO - EPD Wine Cider Electric Decanter Pump for Home Bar Party Travel - Wooden Barrel Design-21.95 $


144bb.jpg
Discounts! best makeup and skin care products

progect11.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
SKYRC MC3000 Smart Bluetooth Charger-89.99 $
+чем отличаются впускной +и выпускной распредвал
DOOGEE X6 Pro 4G Phablet Android 5.1 MTK6735 64bit Quad Core 5.5 inch HD Screen 16GB ROM OTA GPS Cameras 93.39$
AULA F2012 Wired Mechanical Keyboard for Gaming-44.00 $
F68 Smart Sports Watch-26.87 $
DAIMI 9-10mm Baroque Pearl Leather Bracelet, Pearl Bracelet, Casual Style Summer Beach Jewelry, DIY Can be Long ( 99.20 $)
30pcs 5cm silk leaf shaped green leaves artificial flower for wedding decoration diy wreath gift scrapbooking ( 0.70 $)
Brand MTB Cycling Gloves Full Finger Sport Mountain Bike Bicycle Gloves Men Women Motocross Gloves Cycling Glove ( 11.19 $)
змз 405
Sterling Silver Charm Bracelet ( 120.00 $)
Elephone Elecam 360 WiFi Action Camera Dual Lens-200.15 $
1pcs New Head Face Mask Skull Balaclava Head Mask Gator Black Hood Wholesale ( 2.46 $)
шоп 24 официальный сайт
Belaya ptica
Original ZOPO HERO 2 Cell Phone Android 6.0 Fingerprint 5.5 inch HD IPS Smartphone MTK6737 Quad Core 1GB+16GB 8MP 2300mAh OTG ( 68.89 $)


45.jpg

#26 RonsisM

RonsisM

    Super Veterano

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

Posted 27/11/2017, 15:30

Mail Order Pharmacy For Nexium 40 Mg Pilule Viagra Unite Propecia Gewichtszunahme viagra 24 Hr Canadian Pharcemy Zithromax Solution Dosage Keflex To Treat Spondylitis
isotretinoin cheap internet with free shipping over night viagra Faux Viagra Inde Medicament Cialise Cialis E Gravidanza
Cephalexin For Dogs No Perscription cialis Propecia With Testosterone Online Apotheke Viagra Ohne Rezept




0 user(s) are reading this topic

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

IPB Skin By Virteq