BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 10-05-2007, 10:54 AM   #1 (permalink)
New Member
 
Join Date: Aug 2007
Model: 8300
PIN: N/A
Carrier: T-mobile
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to Detect CSS setting?

Please Login to Remove!

Since the Blackberry browser has style sheets and html tables disabled by default, we wanted to figure out a way to detect those settings so on our mobile site we could display a link to a help file withinfo on how to set the settings. I noticed the browser user agent displays the same information regardless of the configuration.

I saw this on the ESPN mobile site for blackberry but I am not sure how they detected that the style sheets setting was off.

So what can we do on our mobile site to detect if CSS or HTML Tables are already enabled?
Offline  
Old 10-05-2007, 11:18 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Perfect Storm's Avatar
 
Join Date: Dec 2006
Location: Ottawa
Model: 8900
OS: 4.6.1.114
Carrier: Rogers
Posts: 2,467
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not sure, but css maybe possible by making an object with the instruction link hidden using css (set its display: none) that way it only shows up if css is off.
__________________
www.petermac.ca - Photo wallpapers only in BlackBerry Internet Browser
www.BBeXtras.com - Photo wallpapers sent to your BlackBerry
BlackBerry Themes
Offline  
Old 11-30-2007, 02:35 PM   #3 (permalink)
New Member
 
Join Date: Nov 2007
Model: 7130e
PIN: N/A
Carrier: Verizon
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

In my testing, display:none doesn't work, but visibility:hidden will produce an effect similar to what is seen on ESPN's WAP site.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Thermal Engineering Co #4501 Vak-Check vacuum electronic pressure gauge gage
$35.0
Thermal Engineering Co #4501 Vak-Check vacuum  electronic pressure gauge gage pictureORION DRY-PUMP KHA750A-301-G1 220V 3 Phase 0.75 kw induction Motor
$275.0
ORION DRY-PUMP KHA750A-301-G1 220V 3 Phase 0.75 kw induction Motor pictureFPZ SCL 15 DH MOR USA Regenerative Blower Vacuum Pump
$299.99
FPZ SCL 15 DH MOR USA Regenerative Blower Vacuum Pump  pictureWelch 8907A W Series Direct Drive Vacuum Pump High Rotary Vane 2.6cfm
$1475.0
Welch 8907A W Series Direct Drive Vacuum Pump High Rotary Vane 2.6cfm  pictureweller power vacuum desoldering station
$119.0
weller power vacuum desoldering station picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.