SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    Does anyone know of any good perl or java scripts that allow you to redirect visitors based on their screen resolution??
    Thanks,
    Ted ANgel

    ------------------
    <A HREF="http://www.slaphappyrecords.com
    http://www.theknockoffs.com" TARGET=_blank>http://www.slaphappyrecords.com
    http://www.theknockoffs.com</A>

  2. #2
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    This can only be done using JavaScript, since Perl has no access to that sort of information.

    Here's a script to do what you want: http://www.wsabstract.com/script/cut162.shtml

    Let me warn you in advance, though: if you intend to present a different Website for each common screen resolution, you're making a lot of work for yourself. Consider a different page layout that is less resolution-dependant. Large, screen-filling background images are an especially bad idea.


    ------------------
    -Kevin Yank.
    http://www.SitePoint.com/
    Helping Small Business Grow Online!

  3. #3
    SitePoint Guru CJ's Avatar
    Join Date
    Apr 2000
    Location
    Mechelen, Belgium, Europe
    Posts
    684
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah... Better invest your time in making a site which fits in every resolution cause have to set up 4 different sites and than later add content to all 4 of them takes a lot of time. And time is money

    Christophe

    ------------------
    Freesources.net - the ultimate webmaster resources site
    WebmasterCJ design - opening new worlds for small prices


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
  •