Pegar Resolução Da Tela Automaticamente
Started By rafa-martin, 18/04/2005, 16:22
10 replies to this topic
#1
Posted 18/04/2005, 16:22
galera no site existe uma página inicial que tem uma animção. nela tem um link que é entrar no site.
quando ele clicar vai abrir uma janela que é a default.asp. fiz isso dessa forma.
<a href="" onclick="window.open('Default.asp','Default','toolbar=no,location=yes,status=yes,menubar=no,scrollbars=yes,rezizable=no,width=1014,height=680,top=0,left=0')">Entrar no Site</a></font></div>
só que aí eu vi um problema agora. eu fiz a tela usando a tela usando 1024 x 768.
eu enxergo perfeitamente a página default.asp. só que quem está com resolução 800x600 não enxerga, por exemplo, a barra de rolagem. vi uns scripts no fórum, mais não estão dando certo.
como eu faço para que quando entrar nbo site detecte qual a resolução no monitor do usuário? mesmo ele estando em 800 x 600 ele possa enxergar normalmente, inclusive as barras?
quando ele clicar vai abrir uma janela que é a default.asp. fiz isso dessa forma.
<a href="" onclick="window.open('Default.asp','Default','toolbar=no,location=yes,status=yes,menubar=no,scrollbars=yes,rezizable=no,width=1014,height=680,top=0,left=0')">Entrar no Site</a></font></div>
só que aí eu vi um problema agora. eu fiz a tela usando a tela usando 1024 x 768.
eu enxergo perfeitamente a página default.asp. só que quem está com resolução 800x600 não enxerga, por exemplo, a barra de rolagem. vi uns scripts no fórum, mais não estão dando certo.
como eu faço para que quando entrar nbo site detecte qual a resolução no monitor do usuário? mesmo ele estando em 800 x 600 ele possa enxergar normalmente, inclusive as barras?
#2
Posted 18/04/2005, 16:48
Eu pesquisei pacas e não descobri (eu perguntei para alguns programadores e ele falaram que é impossivel, que o JS ainda não faz isso)eles me aconselharam a usar porcentagem nas tabelas (mas não serviu para o que eu queria)
Enfim é só um comentario
Enfim é só um comentario
NITRØ
--------------------
Foi mau galera
--------------------
Foi mau galera
#3
Posted 18/04/2005, 17:51
Opa...
Isto ajudaria?
Flw's, T+V! Até mais
Isto ajudaria?
<script> document.write("Largura: "+screen.width+"<br />"); document.write("Altura: "+screen.height+"<br />"); document.write("Largura visível: "+screen.availWidth+"<br />"); document.write("Altura visível: "+screen.availHeight+"<br />"); </script>
Flw's, T+V! Até mais
#4
Posted 18/04/2005, 18:38
PERFEITO VALEU CARA!!!!!!!!
Salvopu minha pele
Salvopu minha pele
NITRØ
--------------------
Foi mau galera
--------------------
Foi mau galera
#5
Posted 24/09/2017, 17:14
Amoxicillin And Clavulanate Potassium Eye Infection Cialis Generique Quebec buy cialis Generico Cialis Italia
#6
Posted 15/10/2017, 10:15
Cialis Si Puo Comprare Senza Ricetta viagra online Bentyl Tab Saturday Delivery Does Amoxicillin Affect Depo Provera Cialis Levitra Comment Viagra
#7
Posted 16/10/2017, 18:47
Non Prescription India Pharmacy Buy Cialis C80 online pharmacy Order Acticin Permethrinum Scabies Quick Shipping Australia Cheapeast Cialis E Reflusso
#8
Posted 02/11/2017, 06:36
Cialis Generico Postepay viagra Online Pharmacy Usa Prozac
Viagra Sales Outlets Cialis Que Es cialis online Prezzi Cialis Viagra Aurochem Pharmaceuticals
discount generic accutane viagra Dyazide Without Prescription Cialis Generique Est Viagra Mit Online Rezept
Viagra Sales Outlets Cialis Que Es cialis online Prezzi Cialis Viagra Aurochem Pharmaceuticals
discount generic accutane viagra Dyazide Without Prescription Cialis Generique Est Viagra Mit Online Rezept
#9
Posted 28/11/2017, 13:53
Cephalexin Lifelearn Como Comprar Viagra En Espana En La Farmacia cialis Peut Acheter Kamagra Pharmacie Cheap Suhagra
Keflex Wiki Pharmacy 365 Triameterene For Sale cialis Proscar O Propecia Original Cialis online accutane forum
Viagra Prix France Find Discount Generic Elocon Cheap With Free Shipping generic levitra Comprar Cialis On Line En Espana Sex Mit Viagra Cialis Levitra
Keflex Wiki Pharmacy 365 Triameterene For Sale cialis Proscar O Propecia Original Cialis online accutane forum
Viagra Prix France Find Discount Generic Elocon Cheap With Free Shipping generic levitra Comprar Cialis On Line En Espana Sex Mit Viagra Cialis Levitra
#11
Posted 12/02/2023, 21:48
Pathologic findings from the National Surgical Adjuvant Breast and Bowel Project twelve year observations concerning lobular carcinoma in situ best site to buy cialis online
New, more expensive antibiotics are often less well tolerated than older agents and are unavailable in many countries do they make viagra for women Since PCOS is known as a syndrome it can become very complex to determine what is truly going on
clomid or nolvadex for pct Results obtained were compared with EQD2 values 80 90Gy recommended by the American Brachytherapy Society ABS for LACC
New, more expensive antibiotics are often less well tolerated than older agents and are unavailable in many countries do they make viagra for women Since PCOS is known as a syndrome it can become very complex to determine what is truly going on
clomid or nolvadex for pct Results obtained were compared with EQD2 values 80 90Gy recommended by the American Brachytherapy Society ABS for LACC
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)