Skip to main content
Inspiring
May 9, 2006
Question

Mobile Computers

  • May 9, 2006
  • 1 reply
  • 302 views
Anybody have any experience with mobile computers ? we are using Intermec mobile computer/scanners in our warehouse operation and I am able to access my coldfusion web application using wireless connection. However, the screen does no fit on the mobile computer screen and I have to scroll to see the entire screen. Do I have to redesign my coldfusion application with small font to try and make it fit or is there a setting ? Also, how do I get javascript on the mobile computer. The coldfuison web app uses java to automate some functions but when I bring it up in the mobile computer, none of these functions work.
    This topic has been closed for replies.

    1 reply

    May 9, 2006
    I believe the CGI variable HTTP_USER_AGENT will tell you whether you are running on your mobile computer or on a standard desktop. You can have two CSS scripts - one for the mobile computer and one for standard size monitors - and load the appropriate one based on HTTP_USER_AGENT.
    trojnfnAuthor
    Inspiring
    May 9, 2006
    Thanks jdeline for the response.

    Unfortunatley, I have never done this before. How would the css be setup ? I only have it setup for h1, h2, body, links etc., but not for http.
    May 9, 2006
    One way to do it is to have two css files - one for the mobile form factor and the other for the desktop. Initially, read and output the HTTP_USER_AGENT (see below) when accessing the page from each platform. Find some distinctive text that differentiates the two and use it in your CFIF statement.