Ir para conteúdo
Fórum Script Brasil
  • 0

ResoluÇÃo


Guest Paulo A.

Pergunta

GALERA PRECISO DE UMA GRANDE AJUDA, GOSTÁRIA DE FAZER UM SITE QUE IDENTIFICASSE A RESOLUÇÃO DO USUÁRIO E SE AJUSTACE AUTOMATICAMENTE, TIPO CONSTRUO MEU SITE EM 1024X768, MAS QUERIA Q O PESSOAL QUE USA 800X600, VISUALIZA-SE ELE SEM PROBLEMAS, INCLUINDO AS IMAGENS TEXTOS, TUDO NO MESMO LUGAR DA RESOLUÇÃO ORIGINAL

Link para o comentário
Compartilhar em outros sites

2 respostass a esta questão

Posts Recomendados

  • 0

Cara por que você não faz tudo em 800x600 da menos trabalho e todos vão visualizar normalmente

se você preferir fazer em duas resolução de uma olhada nesse wink.gif

https://www.scriptbrasil.com.br/?class=2.3&...ategoria=Vários

é o mesmo

<script>
var site="http://www.SEU*SITE.com/"

var alerta="desliga" 

if (screen.width==1280 && screen.height==1024)
{this.location=site + '1280x1024.html'}

if (screen.width==1280 && screen.height==960)
{this.location=site + '1280x960.html'}

if (screen.width==1280 && screen.height==768)
{this.location=site + '1280x768.html'}

if (screen.width==1280 && screen.height==720)
{this.location=site + '1280x720.html'}

if (screen.width==1152 && screen.height==864)
{this.location=site + '1152x864.html'}

if (screen.width==1024 && screen.height==768)
{top.location=site + '1024x768.html'}

if (screen.width==848 && screen.height==480)
{this.location=site + '848x480.html'}

if (screen.width==800 && screen.height==600)
{this.location=site + '800x600.html'}

if (screen.width==640 && screen.height==480)
{this.location=site + '640x480.html'}

if (alerta=='liga'){
alert ('Suas configurações de vídeo foram detectadas com êxito: '+screen.width+'×'+screen.height+' pixels\n\nRedirecionando ...')}
else {}

</script>

Editado por setokaiba
Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152k
    • Posts
      651,8k
×
×
  • Criar Novo...