Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 7 of 7 total |
Scaling on a mobile device |
Thu, Sep 5 2013 12:11 PM | Permanent Link |
Uli Becker | When I run an application created with EWB, I cannot zoom it in a browser on a tablet e.g.
How can I achieve that? Thanks Uli |
Mon, Sep 9 2013 11:00 AM | Permanent Link |
Claudia Borsel | The culprit seems to be the generated html-file header:
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"> It does what it is said to do. Hand-editing after "compiling" may work, until elevate sw makes this customizable per project. |
Mon, Sep 9 2013 11:23 AM | Permanent Link |
Claudia Borsel | Because I handled resolution issues by code, I actually had to remove the viewport completely in an automated way, to keep my code working properly, using this tiny python script:
fil = open("index.html", "rb") cont = fil.read() fil.close() splitcont = cont.split('<meta name="viewport"') part2 = splitcont[1].split('maximum-scale=1">')[1] fil = open("index_noViewport.html", "wb") fil.write(splitcont[0] + part2) fil.close() |
Mon, Sep 9 2013 4:19 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Uli,
<< When I run an application created with EWB, I cannot zoom it in a browser on a tablet e.g. How can I achieve that? >> You can't, at least not right now. I'm going to have to add a project option for that. Tim Young Elevate Software www.elevatesoft.com |
Tue, Sep 10 2013 4:57 AM | Permanent Link |
Uli Becker | Claudia,
thanks a lot - works fine. Uli |
Tue, Sep 10 2013 4:58 AM | Permanent Link |
Uli Becker | Tim,
> You can't, at least not right now. I'm going to have to add a project > option for that. That would be fine, since using tablets is getting more and more popular. Uli |
Wed, Sep 11 2013 1:06 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Uli,
<< That would be fine, since using tablets is getting more and more popular. >> Yes, I know - that's why I specifically added that tag to the output. It was mentioned in the release notes. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Saturday, January 18, 2025 at 07:39 AM | Privacy PolicySite Map © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |