Solved

Mobile Phone Website

Posted on 2010-08-13
2
446 Views
Last Modified: 2013-11-19
I have a site that I use css and a little javascript to show a mobile version of it. The css and javascript strip out the page elements and show a hidden div if a mobile device is viewing the site.

http://www.metromalls.com 

My problem is the Blackberry, it still shows the rest of the content when it is not supposed to.
 
Is there a way to do this with a blackberry?
0
Comment
Question by:vrmetro
2 Comments
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 33436691
I guess it would be helpful to see the code that you use to detect the mobile device.  But absent that, please see if any of these help...
http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/
http://stackoverflow.com/questions/2662940/detecting-blackberry-and-iphone-browsers-in-javascript-or-php

Best regards, ~Ray
0
 
LVL 13

Expert Comment

by:Onthrax
ID: 33444207
Javascript is not always enabled by default on blackberry devices.

Check this to turn it on:
http://docs.blackberry.com/en/smartphone_users/deliverables/1487/Turn_on_JavaScript_support_26108_11.jsp
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now