Redirecting those viewing with a MAC

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Re: Redirecting those viewing with a MAC

    <script language="javascript">
    <!--
    var agt = navigator.userAgent.toLowerCase();
    var is_mac = (agt.indexOf("mac") != -1);

    if (is_mac) self.location = default_mac.htm;
    // -->
    </script>
    This will redirect the user if they are using a mac. Just place the code
    between the <head></head> tags.

    Kappy

    "Javo_UK" <webforumsuser@macromedia.com> wrote in message
    news:bdk01p$o68$1@forums.macromedia.com...
    > Is it possible to redirect those people viewing a site on a MAC, to a MAC
    version of a site.
    > I know it is possible based on browser-type, browser-version and
    resolution but was uncertain on platform type.
    >
    > If so :
    >
    > - how do you do it
    > - is there a DW extension for it
    >
    >

    Kappytown Guest

  2. Similar Questions and Discussions

    1. redirecting
      what is wrong with <?php if(!stristr($_SERVER, 'www')) { Header("Location: http://www.theSpear.net" . $_SERVER); exit(); } ?> I am trying to...
    2. Redirecting via LWP
      Hi I've written a script which performs some background authentication to control access to a files directory on the web server. The final action...
    3. Redirecting in PHP
      Good Morning, I am in need of some help regarding re-directs. We have just replaced our old Webiste that was manily PHP with a new ASP.NET...
    4. [PHP] redirecting to a url..
      yes, got it working. thanks a lot.. i did use header -- Thank you, Louie Miranda (louie@axishift.ath.cx) ----- Original Message -----...
    5. redirecting to a url..
      I have this form with 2 values under 1 name ColTemplate. I was hoping if i can redirect it to another url? on the ?? if templateone or templatetwo....
  3. #2

    Default Re: Redirecting those viewing with a MAC

    OOPS. Make sure that you put defualt_mac.html in quotes!
    self.location = "default-mac.htm"

    Kappy

    "Javo_UK" <webforumsuser@macromedia.com> wrote in message
    news:bdk01p$o68$1@forums.macromedia.com...
    > Is it possible to redirect those people viewing a site on a MAC, to a MAC
    version of a site.
    > I know it is possible based on browser-type, browser-version and
    resolution but was uncertain on platform type.
    >
    > If so :
    >
    > - how do you do it
    > - is there a DW extension for it
    >
    >

    Kappytown Guest

  4. #3

    Default Re: Redirecting those viewing with a MAC

    Javo:

    The real question is - why do you want to double the work for yourself?
    It's more than possible to make a single site that works on the Mac as well
    as on the PC.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Javo_UK" <webforumsuser@macromedia.com> wrote in message
    news:bdk01p$o68$1@forums.macromedia.com...
    > Is it possible to redirect those people viewing a site on a MAC, to a MAC
    version of a site.
    > I know it is possible based on browser-type, browser-version and
    resolution but was uncertain on platform type.
    >
    > If so :
    >
    > - how do you do it
    > - is there a DW extension for it
    >
    >

    Murray *TMM* Guest

  5. #4

    Default Re: Redirecting those viewing with a MAC

    Hi Murray,
    Unfortunately the client wants popups and iframe functionality on THEIR DESIGN ...... and their wish is my command.
    BUT unfortunately Macromedia popups and iFrames fail to work on MAC IE 5 for some reason (to which i havent got an answer from the forums) Hence the need to build two site versions.

    But if you can suggest a version with the specified design and functionality which works on both platforms effectively please let me know.

    The client was presented with design alternatives but rejected them and knows the implications of the extra work on the budget.



    JAVO



    Javo_UK webforumsuser@macromedia.com Guest

  6. #5

    Default Re: Redirecting those viewing with a MAC

    Javo:

    Popups and Iframe work OK on the Mac.

    Please post a URI to the pages.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Javo_UK" <webforumsuser@macromedia.com> wrote in message
    news:bdrufs$p47$1@forums.macromedia.com...
    > Hi Murray,
    > Unfortunately the client wants popups and iframe functionality on THEIR
    DESIGN ...... and their wish is my command.
    > BUT unfortunately Macromedia popups and iFrames fail to work on MAC IE 5
    for some reason (to which i havent got an answer from the forums) Hence the
    need to build two site versions.
    >
    > But if you can suggest a version with the specified design and
    functionality which works on both platforms effectively please let me know.
    >
    > The client was presented with design alternatives but rejected them and
    knows the implications of the extra work on the budget.
    >
    >
    >
    > JAVO
    >
    >

    Murray *TMM* Guest

  7. #6

    Default Re: Redirecting those viewing with a MAC

    None of your links bring up pages for me - they are all 404's....

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    news:bdsj9g$87e$1@forums.macromedia.com...
    > Nevermind - I found your post.
    >
    > --
    > Murray --- ICQ 71997575
    > Team Macromedia Volunteer for Dreamweaver MX
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    > [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    > ANSWERS
    > ==================
    > [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    > [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    > [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    > [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    > ==================
    >
    > "Javo_UK" <webforumsuser@macromedia.com> wrote in message
    > news:bdrufs$p47$1@forums.macromedia.com...
    > > Hi Murray,
    > > Unfortunately the client wants popups and iframe functionality on THEIR
    > DESIGN ...... and their wish is my command.
    > > BUT unfortunately Macromedia popups and iFrames fail to work on MAC IE 5
    > for some reason (to which i havent got an answer from the forums) Hence
    the
    > need to build two site versions.
    > >
    > > But if you can suggest a version with the specified design and
    > functionality which works on both platforms effectively please let me
    know.
    > >
    > > The client was presented with design alternatives but rejected them and
    > knows the implications of the extra work on the budget.
    > >
    > >
    > >
    > > JAVO
    > >
    > >
    >
    >

    Murray *TMM* Guest

Posting Permissions

  • You may not post new threads
  • You may 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