thank you
markus
On Jan 9, 5:36 am, "mrietz...@googlemail.com"
Matteo Spinelli wrote a script called iScroll:
http://cubiq.org/scrolling-div-for-mobile-webkit-turns-3/16
Sam Shull wrote an iScroll extension for jqt: http://code.google.com/p/jqextensions/
With a few tweaks, it feels like a native scroll, although it
currently has one issue: it's not dynamic.
With every ajax call, you will need to re-initiate the jqt object
which makes it a memory hog :
<script type="text/javascript">
var jQT = new $.jQTouch()
</script>
NOTE: make sure you include After the html.
I'm currently trying to resolve this issue :
http://groups.google.com/group/jqtouch/browse_thread/thread/d3134158a8d1ffbd
when I do, it will be posted there.
Besides this solution, googleing your question will get you nowhere,
you can usually find anything with google, as long as it's ancient
history.
I was put on an iphone web app project against my wishes, and I've
learned with web apps, most are keeping the secrets/hacks to
themselves, unless they're working open source of course or with the
intent of self promotion.
So unfortunately, in this market you're on your own, and I really
don't like this market, the iphone, or this dreaded jQuery movement.
Yah, although I may be old, I can still learn new tricks, but who has
time for that.. really?
sorry, I'm ranting.. Pastrykit.. pft
I have yet to get the iScroll to work in any of my PhoneGap apps! (and I *have* tried till I am blue in the face)
:(
Jann
a.
> Sam Shull wrote an iScroll extension for jqt: http://code.google.com/p/jqextensions/
I have no enough words to thanks you for this link. I struggled about
6 hours trying to get scroll working proporly in an iPhone webapp
(which I'm compiling with PhoneGap) with no good results until this
link. The main problem I had was having both a header and a footer,
and when I scrolled dows the footer behaved in an "sticky" way and
went up with the rest of the scrolling content.
Again, ¡¡THANK YOU!!
Matías Herranz.-
On Jan 20, 6:56 am, Matías Herranz [scoobygalletas]
@Chris,
nah, I havn't been able to resolve the ajax issue, although someone
dropped a rather cryptic solution over at my thread:
http://groups.google.com/group/jqtouch/browse_thread/thread/d3134158a8d1ffbd
As a work-around for now, I just recycle an iScroll div on the main
page by running urls through a load function and swapping displays,
works great so far.
Also I can't get this statement to work when I put it in the JQT
slideSelector: '.right',
I have to comment it out otherwise it won't load. Also the
class="right" won't work for me. Just hangs on the <a>. The "flip"
works fine
On Jan 21, 8:21 pm, jonPrecise <jc6...@gmail.com> wrote:
> @Chris,
> nah, I havn't been able to resolve the ajax issue, although someone
> dropped a rather cryptic solution over at my thread:http://groups.google.com/group/jqtouch/browse_thread/thread/d3134158a...
On Jan 26, 6:47 am, Chris <m...@mgcars.org.uk> wrote:
> Jon: Would you mind sharing your trick on the ajax solution. I was
> really lost on the 'hint' given on your other page.
>
> Also I can't get this statement to work when I put it in the JQT
> slideSelector: '.right',
> I have to comment it out otherwise it won't load. Also the
> class="right" won't work for me. Just hangs on the <a>. The "flip"
> works fine
>
> On Jan 21, 8:21 pm, jonPrecise <jc6...@gmail.com> wrote:
>
> > @Chris,
> > nah, I havn't been able to resolve the ajax issue, although someone
> > dropped a rather cryptic solution over at my thread:http://groups.google.com/group/jqtouch/browse_thread/thread/d3134158a...
> > As a work-around for now, I just recycle aniScrolldiv on the main
On 21 ene, 00:31, Chris <m...@mgcars.org.uk> wrote:
> Matías: Would you mind sharing the snippet you built for the footer?
I'll build a demo of what I did as soon as I get the time and share
it.
> Also did you solve the issue reported above about having to re-
> initialize JQT on every ajax access?
I do just one ajax call and load all the info after successful login.
And did not have this problem.
Matías Herranz.-
On 22 ene, 02:21, jonPrecise <jc6...@gmail.com> wrote:
> @Matias
> Np , btw did you notice Sam's extension of iScroll for jqt seems to be
> much more responsive than the original iScroll?
> I didn't look through the script much to pick out the improvements,
> but bravo to him .
Neither did I, but I noticed it to be more responsive. It works really
good.
As a comment, none of them work in Mac OS X Safari, nor even if I set
the browser to simulate Mobile Safari. Just works in the device (iPod
Touch / iPhone).
Matías Herranz.-
> > works great so far.- Hide quoted text -
>
> - Show quoted text -
On Jan 27, 3:37 pm, jonPrecise <jc6...@gmail.com> wrote:
> @Chris
> I don't know if you would want to use my solution, depending how far
> into development you are, it can be an overhaul and most likely not
> nessasary.
Sorry, about the problem with the dynamically loaded pages, the
example uses an old version of jQTouch that didn't have the
pageInserted event firing. :-|
Sam Shull
> > >> - Show quoted text -- Hide quoted text -
something looks strange in my iphone regarding the handling of the
orientation changes. i did not check all the examples but when turning
the iphone horizontally (ala wide screen - cant remember if its called
landscape) the top half of the page is not shown and only the bottom
half is shown and the rest of the iphone screen is a big blank.
anyone experiencing this? (i am not sure if its the same for the older
version of the examples)
thanks
@Illxwavalll
Did this happen with the example that I published? Or in another
project? I cannot seem to replicate the problem that you are
describing?
Regards,
Sam
Here is the code to ensure you have the proper orientation at all
times on the iPhone:
$(function()
{
$(window).bind('load orientationchange', function()
{
$(document.body).removeClass('profile landscape').addClass(Math.abs
(window.orientation) == 90 ? 'landscape' : 'profile');
//this will cause aggravation if not all of your pages use the
vertical scroll/slide extension
scrollTo(0,0);
});
});
I updated the example. You will find the scrollTo(0,0) very
aggravating if you are not using the vertical scroll extension on
every page, supposedly it will scroll to top every time the
orientation changes, but it doesn't always work as advertised
though. :-(
Regards,
Sam Shull
body.landscape > *
{
min-height: 270px !important;
}
on your site, unless you were using the vertical scroll on every page.
You should create a new class and apply it to the nodes that contain a
vertical scroll/slide div, like:
body.landscape > .contains-scroll
{
min-height: 270px !important;
}
and apply 'contains-scroll' to your page/node/div (whatever) that has
a vertical scroll in it. Hope that makes sense, I want the extension
to work as broadly as possible. But if you are planning on using the
vertical scroll on all your pages, or it doesn't interfere with
anything else feel free to use it as is.
Sam
scrolling.css -- always needed (except by scaling)
jqt.scrolling.js -- if you are using scrolling, vertical or
horizontal
jqt.sliding.js -- if you are using sliding, vertical or
horizontal
jqt.scaling.js -- if you are using scaling
Sam
May I suggest that you might want to include a default class on the
<a> tag for people like me who forget those types of things.
It works great.
I thought everything was going OK on my AJAX pages with the fixed
toolbar as I was testing on Safari and it looked OK. But now that I
have deployed it on an iPod Touch it appears that the AJAX pages don't
scroll. Instead the whole panel (toolbars and field) scroll as it does
with regular jqt.
The example files does work OK for its ajax pages so I am trying to
figure out what is wrong. All the pages that are part of my main
index file scroll just fine. Its just the pages loaded via ajax.
Could you provide more details? maybe a link?
Sam