Solved

Mobile Phone Website

Posted on 2010-08-13
2
452 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 110

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
website rewamp 5 51
Deploy updates to Firefox settings 6 23
PDF Download Error - Operation or data is too complex. 4 45
help thx 6 24
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

730 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