Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
* * * * * 1 votes

Check For Mobile Browser


12 replies to this topic

#11 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 07 March 2010 - 08:51 PM

Check for mobile browsers and display alternative websiteCheck For Mobile Browser

Hi, I have created a mobile friendly web page, and want to have that page displayed on mobile devices rather than the normal index page. I have tried some javascript to make the mobile jump to the different page, but it does not work. Any other suggestions. The page is saved as html headed up with WML in dreamweaver.

-reply by bloohair

#12 mrlynn

    Newbie

  • Kontributors
  • Pip
  • 1 posts

Posted 14 December 2010 - 01:20 PM

I wrote an article on mobile browser detection and redirection. There are downloadable examples as well as a fully functional example implementation.

Perl - http://www.mlynn.org...h-perl-and-cgi/

PHP -
http://www.mlynn.org...ction-with-php/

Live Example: http://www.mlynn.org/uatest/normal/index.php

I hope this helps!

Enjoy,
Mike

#13 Xarex

    Newbie [Level 3]

  • Kontributors
  • PipPipPip
  • 48 posts
  • Gender:Male
  • Location:Israel
  • Interests:Philosophy, Psychology, Women, Music, Psychedelia
  • myCENT:81.32

Posted 11 May 2011 - 11:25 PM

For my website, I had my brother test it on his iPhone. My very first page is a flash video, which is the introduction and/or [after] you click a button to enter the home page. But my brother says the button wasn't working.

So I needed to figure out a way to make Mobile phones automatically be taken to my site:

I found a great site that has all the coding information here: http://www.hand-inte...-javascript.htm

Hope this helps anyone in search.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users