Project

General

Profile

Actions

Support #348

closed

displaying pages for mobile devices

Added by Anonymous almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/06/2010
Due date:
% Done:

0%

Estimated time:

Description

I'd like to have multiple versions of a web app, including access via mobile (small-screen) devices. This can be done by adding

tags with a "viewport" option, such as this example from a commercial website:

This sets a fixed width for the entire page and limits (removes) scalability. Unless I'm missing something basic, I cannot find a way with Wt to insert a

tag in the header of the page; is there a way to add such a tag?

Actions #1

Updated by Koen Deforche almost 14 years ago

  • Status changed from New to InProgress
  • Assignee set to Koen Deforche

Hey,

This is indeed not possible right now. Since we now have the progressive bootstrap mode (which start with a plain HTML version and upgrades to AJAX when possible), we could add support for this, by having an API call WApplication::addMetaHeader() which you should call from within the application constructor. I assume you will only want to do this for specific user agents?

Would that work for you?

Regards,

koen

Actions #2

Updated by Koen Deforche almost 14 years ago

  • Status changed from InProgress to Resolved

Implemented addMetaHeader() in WApplication

Actions #3

Updated by Koen Deforche almost 14 years ago

  • Status changed from Resolved to Closed

Fixed in 3.1.3

Actions

Also available in: Atom PDF