{"issue":{"title":"Problem with Jquery mobile","user":{"login":"patriklund","id":1218911,"url":"https://api.github.com/users/patriklund","avatar_url":"https://secure.gravatar.com/avatar/2153d9499eac682cc5e867c0ddeef7f9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"2153d9499eac682cc5e867c0ddeef7f9"},"created_at":"2011-11-24T21:02:44Z","milestone":null,"state":"open","updated_at":"2011-12-24T18:57:47Z","labels":[],"id":2344923,"html_url":"https://github.com/bradbirdsall/Swipe/issues/16","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"Hi! I'm working on a mobile html5 app for my company and have found your swipe script the absolute best.\r\n\r\nThere seems to be one problem though. I'm using Jquery mobile and the swipe function won't work so good. I have noticed the problem may have something to do with the display:block.\r\n\r\nFor example:\r\n\r\nThis code won't work, it only shows the first pic and nothing more:\r\n\r\n\r\n    <div style='display:block'><img src=\"img/1.jpg\" width=\"100%\"></div>\r\n    <div style='display:none'><img src=\"img/2.jpg\" width=\"100%\"></div>\r\n    <div style='display:none'><img src=\"img/3.jpg\" width=\"100%\"></div>\r\n\r\n\r\nBut if i set the other div to display:block also, it will work. But when the page loads that divs \"flashes\" by. And thats not so pretty.\r\n\r\nLike this:\r\n\r\n    <div style='display:block'><img src=\"img/1.jpg\" width=\"100%\"></div>\r\n    <div style='display:block'><img src=\"img/2.jpg\" width=\"100%\"></div>\r\n    <div style='display:none'><img src=\"img/3.jpg\" width=\"100%\"></div>\r\n\r\nAny ideas of why?\r\n\r\nThank you for your great work.\r\n","number":16,"url":"https://api.github.com/repos/bradbirdsall/Swipe/issues/16","comments":9,"assignee":null},"comment":{"user":{"login":"bradbirdsall","id":361414,"url":"https://api.github.com/users/bradbirdsall","avatar_url":"https://secure.gravatar.com/avatar/41df2f6c606b2f3d7752f1fc78dc2e58?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"41df2f6c606b2f3d7752f1fc78dc2e58"},"created_at":"2011-12-24T18:57:47Z","updated_at":"2011-12-24T18:57:47Z","id":3268715,"body":"That is a pretty good fix but I think this will be best outside the library and within the Swipe instance that is created on your page.","url":"https://api.github.com/repos/bradbirdsall/Swipe/issues/comments/3268715"},"action":"created"}