Las Vegas Website Design and Local SEO
  • Home
  • Website Services
    • Google My Business
    • Local Business Directory Citation Listing (NAP)
    • Social Media Marketing
    • Website Design
  • About
    • Contact Us
    • Shawn Lippert
    • Privacy Policy
    • Terms Of Use

JavaScript Mobile Redirect

5/3/2012

3 Comments

 
I have been into mobile development lately with developing apps and HTML 5, so I get allot of E-mails and people on Linked in Groups asking me about a simple way to implement a Redirection code for mobile devices.

 With mobile devices the trick is with JavaScript is to determine the screen size of Smartphones, cell phones etc. We all know that screen sizes will be less than 700 Pixels. With notepads this will be OK, cause the notepads have higher resolutions and a bigger display screen.

 Here is the Page where you can get the JavaScript code I set up today. JavaScript Mobile Redirect

If you are browsing this site or blog with your mobile device you are already viewing the redirection code in action, there is also a choice to view this website in original mode.
*Update- Mobile Moxie has a Redirection Script Generator that generates a server side script for sites that are Desktop, Tablet, Mobile or WAP and directs your users to the preferred choice.
By "Shawn Lippert"
JavaScript Mobile Redirect
JavaScript Mobile Redirect
3 Comments
JULIANO link
5/16/2012 11:11:30 am

WORKS GREAT THANKS

Reply
Tess link
6/6/2012 09:14:09 am

I have 2 separate mobile sites that I need to be redirected from the same primary domain.
1 is a landing page and the other is a mobile site. Can I just add both urls to the script for it to pick them up? Or do I need to run the script 2x with the different url in each script?

Reply
Shawn Lippert link
6/18/2012 08:01:19 am

I would use the script provided by Mobile Moxie (link above). You want to avoid code bloat, and you can avoid this by not adding the same code twice on the same page.

Reply

Your comment will be posted after it is approved.


Leave a Reply.

    RSS Feed

    Local SEO Guy
    Local SEO Guy
    Local Business Website Design, SEO and Internet Marketing Blog
    By "Shawn Lippert"

    Social

    Follow Me!
    Web Design Blogs
    Web Design sites

    Share!


    Categories

    All
    Adsence
    Adwords
    Affiliate
    Alerts
    All
    Analytics
    Android
    Apps
    Articles
    Authorship
    Backlinks
    Banners
    Blogs
    Box
    Browsers
    Buttons
    Characters
    Charts
    Chill
    Codes
    Colors
    Commercial Marketing
    Content Marketing
    Css
    Css3
    Drop Down Menu
    Dynamic Html
    Effects
    Engage For Agencies
    Facebook
    Flash
    Forms
    Forums
    Free
    Games
    Generators
    Geo Tags
    Goe-Tags
    Google
    Google+
    How To
    Html
    Html 5
    Hyperlinks
    Images
    Infographic
    Ios Phone
    Javascripts
    Jquery
    Keywords
    Link Building
    Link Exchange
    Links
    List
    Local Search
    Local Search
    Long Tail Keywords
    Long-Tail Keywords
    Marketing
    Menus
    Meta Tag Generator
    Mobile
    News
    Pinterest
    Plugins
    Pop Up
    Ranking
    Scroller
    Search Engines
    Sem
    Seo
    Services
    Social
    Social Marketing
    Social Networks
    Software
    Tables
    Text
    Ticker
    Toolbar
    Tools
    Traffic
    Translate
    Video
    Web Development
    Welcome
    Windows Mobile
    Wordpress

    Archives

    December 2014
    May 2014
    March 2014
    January 2014
    November 2013
    October 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    November 2012
    October 2012
    September 2012
    August 2012
    July 2012
    June 2012
    May 2012
    April 2012
    March 2012
    February 2012
    January 2012
    December 2011
    November 2011
    October 2011
    September 2011
    August 2011


    List Once, Be Found Everywhere…Business Profile Syndication from www.UBL.org.
Powered by Create your own unique website with customizable templates.
  • Home
  • Website Services
    • Google My Business
    • Local Business Directory Citation Listing (NAP)
    • Social Media Marketing
    • Website Design
  • About
    • Contact Us
    • Shawn Lippert
    • Privacy Policy
    • Terms Of Use