Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

how recognize the viewers screen resolution

New Here ,
Apr 17, 2007 Apr 17, 2007
hello,
I need to recognize automatically the viewers screen resolution to send them, automatically again, the proper html archive

is possible to identify this information,and make the browser choose between this two html archives : 800x600, or 1024x768 ?

please send me this code,

please help me, thank you very much!!!!


teddy

TOPICS
Server side applications
462
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 17, 2007 Apr 17, 2007
Why would you want to complicate your life?

Do your design that is flexible and will adjust itself to what ever
resolution the user has. Also, browsers don't have to be running at full
screen... I have 1280x1024 and rarely run my browser at full screen. What
would happen when I visited your site in that scenario?

Good luck.

"teddyramirez" <webforumsuser@macromedia.com> wrote in message
news:f02nrq$eau$1@forums.macromedia.com...
> hello,
> I need to recognize automatically the viewers screen resolution to send
> them,
> automatically again, the proper html archive
>
> is possible to identify this information,and make the browser choose
> between
> this two html archives : 800x600, or 1024x768 ?
>
> please send me this code,
>
> please help me, thank you very much!!!!
>
>
> teddy
>
>
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 20, 2007 Apr 20, 2007
thanks for your answer

my client wants her site in 1024x768 screen, its a big foto mooving with flash and i need all the screen to enjoy the design 100%
but the 800x600 viewers are going to miss the experience
I will do two versions of the site... a little more work.... but I cant see better solution
thats why I ask for that help
is to avoid that first page that you put the viewer to choose between two links to enter the site , I want this automatically
thanks for answering again, and please forgive my espanglish way of writing

teddy
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 17, 2007 Apr 17, 2007
Resolution doesn't tell you what you want. The real concern is browser
dimensions. My 1680x1050 screen may only have a 750px wide browser viewport
on it, and I sure wouldn't want it wider than that. Give this notion a
'discard' please! 8)

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"teddyramirez" <webforumsuser@macromedia.com> wrote in message
news:f02nrq$eau$1@forums.macromedia.com...
> hello,
> I need to recognize automatically the viewers screen resolution to send
> them,
> automatically again, the proper html archive
>
> is possible to identify this information,and make the browser choose
> between
> this two html archives : 800x600, or 1024x768 ?
>
> please send me this code,
>
> please help me, thank you very much!!!!
>
>
> teddy
>
>
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 20, 2007 Apr 20, 2007
Simple:

<SCRIPT language="JavaScript">
<!--
if ((screen.width>=1024) && (screen.height>=768))
{
window.location="highres.html";
}
else
{
window.location="lowres.html";
}
//-->
</SCRIPT>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 23, 2007 Apr 23, 2007
LATEST
thanks envision3d for your help
I wiil try your sugestion
and about 760px wide browser, I"ll center the image...

thanks for your time, again

my site: www.teddyramirez.com

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 20, 2007 Apr 20, 2007
But what about my 760px wide browser viewport on my 1680 width screen. I
get the huge image page and have to scroll to see it. That's probably NOT
what your client wants, either.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"envision3d" <webforumsuser@macromedia.com> wrote in message
news:f0b5mm$bal$1@forums.macromedia.com...
> Simple:
>
> <SCRIPT language="JavaScript">
> <!--
> if ((screen.width>=1024) && (screen.height>=768))
> {
> window.location="highres.html";
> }
> else
> {
> window.location="lowres.html";
> }
> //-->
> </SCRIPT>
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines