jqtouch

Google Map V3 not centering, displays only part of map

只愿长相守 提交于 2019-12-12 09:35:42
问题 I'm developing a jQTouch-based app for the iPhone and part of it uses the Google Maps API (V3). I want to be able to pass the geolocation coordinates to the map and have it center the location with a marker. What I'm getting now is the map at the proper zoom level but the desired center-point appears in the upper-righthand corner. It's also showing only about a third of the map area (the rest is gray) and it behaves somewhat erratically when you pan or zoom. Here's the code: var coords = {

JQTouch - links in li not working after scrolling

帅比萌擦擦* 提交于 2019-12-12 05:58:39
问题 I have a sorted list using JQTouch. The list contains about 20 li-elements containing different links. The first li's that are on the screen without scrolling are working just fine. But after I scrolled down on my iPhone the links are no longer working. Here is a snippet of the code: <ul class="rounded"> <li class="arrow"><a id="1" href="#opdracht">1. Typical Amsterdam</a></li> <li class="arrow"><a id="2" href="#opdracht">2. Route</a></li> <li class="arrow"><a id="3" href="#opdracht">3.

trying to make navigation bar for tablet site

泄露秘密 提交于 2019-12-12 04:17:39
问题 I'm designing a navigation bar for a tablet website. The navigation bar holds elements displayed horizontally, and I want to be able to display new elements with a swipe (kind of like a cover flow) without the window moving. This is the code I'm using now (jQuery Mobile): //Tablet Features $('#navHolder').bind('swipe', function(e) { $('#navHolder').animate({left:thisLeft - 100}); } ); I dont think I can trigger a swipe without first disabling scroll, but I'm open to all suggestions. Please

JQuery Image load fails on MobiOne iPhone simulator

社会主义新天地 提交于 2019-12-12 03:49:16
问题 I dynamically update an image on a JQTouch site using the following code: $('#sv_map') .one('load', function() { $(this).fadeIn(); }) .attr('src', imgURL); Got the basics of this from here. sv_map is an image, and imgURL points to a valid, existing JPG file. This code works as expected on all major browsers (Chrome, Safari, Firefox, IE) as well as on actual devices (several iPhones and iPods). I don't want to conclude that the simulator has a bug (it seems like such a trivial issue). What

jqtouch mobile app ajax loading issue

╄→гoц情女王★ 提交于 2019-12-11 17:51:41
问题 I simplified this question at SIMPLIFIED: jqtouch mobile app ajax loading issue But am leaving this post for details. Thanks. I have an RSS Reader app I use as a playground to learn. It's current incarnation is for learning about jqtouch/mobile app stuff. I'm having a problem dynamically loading the posts because jqtouch takes over the 'a' and does stuff with it. Here's the general process: - Page loads general html (this is very basic, a couple of empty divs between the body tags) and a link

Any disadvantages of using JQTouch/Phonegap over Android API?

浪子不回头ぞ 提交于 2019-12-10 23:19:22
问题 Are there any main disadvantages of using JQTouch/Phonegap to put together Android Apps / Tablet Apps rather than using the Android API. I basically want to program an app for a client that will sell music (connect to existing PHP site) and use geographical info to show bands/gigs close by - again via interrogation of their current PHP site. I have years of Jquery experince and good HTML5/css3 knowledge so JQtouch/Phonegap would be the most straightforward option, but just wanted to make sure

Screen Scrolls while typing Using JQTouch in an Android PhoneGap app?

孤者浪人 提交于 2019-12-10 12:59:50
问题 I have made an app using JQtouch, Jquery, and PhoneGap. When you type in a form's field, the entire page scrolls up or down each time you enter a character. I have searched everywhere for solutions but cannot find one. There was a similar problem here: https://github.com/jquery/jquery-mobile/issues/638 but his solution did not solve my issue. Does anyone have an idea why the page would scroll up and down with each added character in a textbox? Because the page is so small, it scrolls up and

How to stop the swipe event in jQTouch whilst a slide transition is occuring?

☆樱花仙子☆ 提交于 2019-12-08 06:15:30
问题 I've almost finished a hybrid site and theres one issue I cant resolve (many due to the deliberate lack of documention on the now Sencha library). I have a binded event on the swipe, left and right, proper animations, its just when I swipe quickly, or I swipe - the page starts to transition (slide) - whilest transisitoning I swipe again. I throws jQtouch and results in a black page. $('div.touch').swipe(function(event, info){ switch(info.direction){ case 'left': jQT.goTo('#test', 'slide');

Google Maps API 3 & jQTouch

青春壹個敷衍的年華 提交于 2019-12-07 12:28:58
问题 I'm having a problem displaying a map (API 3) in jQTouch. In a browser when first loaded it only shows part of the map but if I resize the window it is fine. I'm trying to use the google.maps.event.trigger(map_canvas, 'resize'); function but don't think I am putting it in the right place or is there something else wrong with my code? All help would be much appreciated. <div id="locations"> <div class="toolbar"> <h1>Locations</h1> <a class="back" href="#">Home</a> </div> <div id="map_canvas"

How to stop the swipe event in jQTouch whilst a slide transition is occuring?

Deadly 提交于 2019-12-06 21:52:30
I've almost finished a hybrid site and theres one issue I cant resolve (many due to the deliberate lack of documention on the now Sencha library). I have a binded event on the swipe, left and right, proper animations, its just when I swipe quickly, or I swipe - the page starts to transition (slide) - whilest transisitoning I swipe again. I throws jQtouch and results in a black page. $('div.touch').swipe(function(event, info){ switch(info.direction){ case 'left': jQT.goTo('#test', 'slide'); break; I'm thinking 'pageAnimationEnd' will probably be the event I need to use and tie in somehow. But