<'onLoad="detect()"> [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => timspong [ip] => webforumsuser@m [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 3 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> Screen Resolution Detection - Macromedia Flash Sitedesign

Screen Resolution Detection - Macromedia Flash Sitedesign

I was wondering if their was a way to detect screen resolutions so that if a computer say had 800 X 600 or less one flash file would play but if they had 1024 x 728 a different flash file would play. Just a warning I don't know very much code and am mainly just learning the whole website/flashewebsite design. The site I made is for my youthgroup and you could view it [L=here]http://www3.telus.net/lipke/[/L]. It's still in development. Thanks a lot, Jeff...

  1. #1

    Default Screen Resolution Detection

    I was wondering if their was a way to detect screen resolutions so that if a
    computer say had 800 X 600 or less one flash file would play but if they had
    1024 x 728 a different flash file would play. Just a warning I don't know very
    much code and am mainly just learning the whole website/flashewebsite design.
    The site I made is for my youthgroup and you could view it
    [L=here]http://www3.telus.net/lipke/[/L]. It's still in development. Thanks a
    lot,
    Jeff

    ultra canadian Guest

  2. #2

    Default Re: Screen Resolution Detection

    you can try a little bit javascript like this:
    <script language="javascript" type="text/javascript">

    function resolution() {
    if (window.screen.height <605) top.location.assign('flashmoviesmall.swf);
    else
    top.location.assign(flashmoviebig.swf);
    }
    </script>

    GraHam

    "ultra canadian" <webforumsusermacromedia.com> schreef in bericht
    news:c26eri$okf$1forums.macromedia.com...
    > I was wondering if their was a way to detect screen resolutions so that if
    a
    > computer say had 800 X 600 or less one flash file would play but if they
    had
    > 1024 x 728 a different flash file would play. Just a warning I don't know
    very
    > much code and am mainly just learning the whole website/flashewebsite
    design.
    > The site I made is for my youthgroup and you could view it
    > [L=here]http://www3.telus.net/lipke/[/L]. It's still in development.
    Thanks a
    > lot,
    > Jeff
    >

    GraHam Guest

  3. #3

    Default screen resolution detection

    Hi,

    I am trying to create a Dreamweaver web page that when viewed in a web browser
    will alert the user if they do not have enough screen resolution for the size
    of the html page. I have found some java script codes and inserted them but the
    page still does not create an alert. Perhaps I am not inserting it in the
    correct spot.

    Any suggestions

    Thanks!
    Tim



    </head>
    <script language="JavaScript1.2">
    <!--

    /*
    Screen resolution detection and notification Script-
    ? Dynamic Drive ([url]www.dynamicdrive.com[/url])
    For full source code, installation instructions,
    100's more DHTML scripts, and Terms Of
    Use, visit dynamicdrive.com
    */

    var correctwidth=1024
    var correctheight=768
    if (screen.width!=correctwidth||screen.height!=correc theight)
    doent.write("This webpage is bested viewed with screen resolution
    "+correctwidth+"*"+correctheight+". Your current resolution is
    "+screen.width+"*"+screen.height+". If possible, please change the resolution!")
    //-->
    </script>
    <body>
    <'onLoad="detect()">

    timspong Guest

  4. #4

    Default Re: screen resolution detection

    ..oO(timspong)
    > I am trying to create a Dreamweaver web page that when viewed in a web browser
    >will alert the user if they do not have enough screen resolution for the size
    >of the html page.
    And what do you expect the user to do then? Buy a bigger monitor?
    It's more likely that the user will leave your site immediately.
    Such messages are useless and annoying, you shouldn't do that.

    It would be much better to keep the layout more flexible, so that it
    will accomodate for different browser window sizes automatically.

    Micha
    Michael Fesser Guest

  5. #5

    Default Re: screen resolution detection

    No. The alert will ask them to set their monitor to a higher resolution because the content is a demo and needs at least 1024 x 768.

    Tim
    timspong Guest

  6. #6

    Default Re: screen resolution detection

    ..oO(timspong)
    >No. The alert will ask them to set their monitor to a higher resolution
    >because the content is a demo and needs at least 1024 x 768.
    And you really think they will do that or even know how to do it? If a
    monitor is set to let's say 800x600 then there will most likely be a
    reason for that (maybe it's an older one and can't handle a higher
    resolution at an acceptable refresh rate).

    And what about recent machines, high resolutions, but small browser
    windows? The user would still get a scrollbar. Screen resolution is
    rather meaningless in Web context.

    If it really has to be a fixed size of 1024 then go for it, but you
    shouldn't annoy your visitors with useless messages. Or is there a
    special reason for "educating" your visitors instead of just providing
    the content and let them decice what to do with it?

    My point is: I don't see any valid reason to use such scripts, so I
    won't post any code or debug a posted script, sorry. If you still think
    it's necessary, then someone else would have to do it.

    Micha
    Michael Fesser Guest

  7. #7

    Default Re: screen resolution detection

    If it has to be that large, then just let the visitor download a PDF.

    Resizing like that is rude....

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


    "Michael Fesser" <netizengmx.de> wrote in message
    news:rpi3o2pf03avesefdtmf4p15sqfok56hc24ax.com...
    > .oO(timspong)
    >
    >>No. The alert will ask them to set their monitor to a higher resolution
    >>because the content is a demo and needs at least 1024 x 768.
    >
    > And you really think they will do that or even know how to do it? If a
    > monitor is set to let's say 800x600 then there will most likely be a
    > reason for that (maybe it's an older one and can't handle a higher
    > resolution at an acceptable refresh rate).
    >
    > And what about recent machines, high resolutions, but small browser
    > windows? The user would still get a scrollbar. Screen resolution is
    > rather meaningless in Web context.
    >
    > If it really has to be a fixed size of 1024 then go for it, but you
    > shouldn't annoy your visitors with useless messages. Or is there a
    > special reason for "educating" your visitors instead of just providing
    > the content and let them decice what to do with it?
    >
    > My point is: I don't see any valid reason to use such scripts, so I
    > won't post any code or debug a posted script, sorry. If you still think
    > it's necessary, then someone else would have to do it.
    >
    > Micha

    Murray *ACE* Guest

  8. #8

    Default Re: screen resolution detection

    Yikes!

    This and splash pages that open the site in a new window are probably the two
    worst design practices in the known universe.

    Nothing on the internet annoys me more than sites that purposely turn their
    customers away because they have an 800x600 screen size.

    David.Holley Guest

Similar Threads

  1. screen resolution
    By advance scout in forum Macromedia Dynamic HTML
    Replies: 15
    Last Post: January 31st, 01:09 PM
  2. fit to screen resolution
    By tecas in forum Dreamweaver AppDev
    Replies: 1
    Last Post: April 17th, 04:33 PM
  3. Best screen resolution?
    By high on a mountain top in forum Macromedia Director Basics
    Replies: 4
    Last Post: November 5th, 05:39 PM
  4. set screen resolution
    By yolip webforumsuser@macromedia.com in forum Macromedia Director Lingo
    Replies: 5
    Last Post: October 22nd, 10:56 PM
  5. How do I set screen resolution
    By TezS in forum Macromedia Director Basics
    Replies: 0
    Last Post: October 5th, 10:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139