jqtouch

Sencha Touch Vs JQTouch

↘锁芯ラ 提交于 2019-11-27 09:40:12
问题 My startup and I are deciding which mobile touch framework to use to build our mobile web application. I'm having trouble figuring out the difference between Sencha Touch and JQTouch. I understand that both products licensed by Sencha and that Sencha Touch requires a paid license to use it commercially. Besides legal and financial issues, what are the differences, pros and cons between both frameworks. Thanks. 回答1: Sencha touch is a little more complicated for those used to web design to use,

iWebkit vs. JQTouch vs. iUI

▼魔方 西西 提交于 2019-11-27 09:18:03
问题 I am going to develop a content rich application that ideally should have been an iPhone-app, but since I'm short on time, I will stick with technologies that I can, such as JQuery, CSS and HTML. The more mobile devices my site runs on besides iPhone, the better. A brief search on the web leaves me with the impression that there are three tools I may use: iWebkit, JQTouch and iUI. I have toyed about with JQTouch, which I find impressive and simple to use. With simplicity comes lack of

Preventing an <input> element from scrolling the screen on iPhone?

对着背影说爱祢 提交于 2019-11-27 05:30:36
问题 I have several <input type="number"> elements on my webpage. I'm using jQTouch, and I'm trying to stay fullscreen at all times; that is, horizontal scrolling is bad. Whenever I click an <input> element, the page scrolls right, showing a black border on the right of the screen and de-centering everything. The inputs are offset from the left of the screen, and they begin somewhere toward the middle of the page. How can I prevent this scrolling on focus? 回答1: I just found the solution to this

jQuery UI sliders on touch devices

孤人 提交于 2019-11-27 04:58:26
问题 I'm developing a website using jQuery UI, and there are several elements on my site that appear to be incompatible when viewed on touchscreen devices; they don't cause any errors, but the behavior is not what it should be. The elements in question are sliders and rangesliders as defined by jQuery UI; on the touch screen, instead of registering a touch as picking up a handle and a drag as dragging the handle across the slider, it just slides the whole webpage to the side of the screen. It does

how many div's can you have before the dom slows and becomes unstable?

不羁的心 提交于 2019-11-26 21:48:10
问题 I am developing a jQtouch app and each request done via ajax creates a new div in the document for the loaded content. Only a single div is shown at any one time. How many div's can I have before the app starts getting unresponsive and slow? Anyone have any ideas on this? EDIT: Its an iPad app running on Safari, and it would be less than 1000 div's with very basic content 回答1: To be honest, if you really need an absolute answer to this question, then you might want to reconsider your design.

Knockout JS mapping plugin without initial data / empty form

只愿长相守 提交于 2019-11-26 15:57:58
问题 We are using knockout and the knockout mapping plugin to facilitate databinding in our jQTouch web application. The reason we use the mapping plugin, is to be able to use knockout without the need to define/change viewmodels manually in javascript. The mapping plugin works great when you have an initial load of data from the server/client side database. The problem we are having is that we have some screens/views which have a form in which it is possible that there isn't any initial data.

How to overwrite SCSS variables when compiling to CSS

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-26 13:44:35
I'm trying to use jqtouch theming which is based on SASS and COMPASS. I have a file custom.scss with the most simple code, one import and one variable to overwrite: @import 'jqtouch'; // Override variables $base-color: #fe892a;/* The default base which is later used for toolbar, list, and button backgrounds.*/ When I now compile the scss file to css, it will basically just generate the jqtouch css with my filename. The color specification is nowhere to be seen, although the variable is definitley correct per documentation ( Official Guide ) and in the jqtouch.scss file, which I import for

How to overwrite SCSS variables when compiling to CSS

我与影子孤独终老i 提交于 2019-11-26 03:42:46
问题 I\'m trying to use jqtouch theming which is based on SASS and COMPASS. I have a file custom.scss with the most simple code, one import and one variable to overwrite: @import \'jqtouch\'; // Override variables $base-color: #fe892a;/* The default base which is later used for toolbar, list, and button backgrounds.*/ When I now compile the scss file to css, it will basically just generate the jqtouch css with my filename. The color specification is nowhere to be seen, although the variable is

How do I correctly detect orientation change using Phonegap on iOS?

冷暖自知 提交于 2019-11-26 01:04:26
问题 I found this orientation test code below looking for JQTouch reference material. This works correctly in the iOS simulator on mobile Safari but doesn’t get handled correctly in Phonegap. My project is running into the same issue that is killing this test page. Is there a way to sense the orientation change using JavaScript in Phonegap? window.onorientationchange = function() { /*window.orientation returns a value that indicates whether iPhone is in portrait mode, landscape mode with the

How do I correctly detect orientation change using Phonegap on iOS?

瘦欲@ 提交于 2019-11-25 23:43:43
I found this orientation test code below looking for JQTouch reference material. This works correctly in the iOS simulator on mobile Safari but doesn’t get handled correctly in Phonegap. My project is running into the same issue that is killing this test page. Is there a way to sense the orientation change using JavaScript in Phonegap? window.onorientationchange = function() { /*window.orientation returns a value that indicates whether iPhone is in portrait mode, landscape mode with the screen turned to the left, or landscape mode with the screen turned to the right. */ var orientation =