Well, I'm not sure that I understand you in complete.
In Slide mode the vertical scroll is available only if when you grab
tollbars.
In Thumbnails mode the control over gestures is not used at all.
In both cases you should capture the "ontouchmove" event and inside
the handling function/method you have to call "e.preventDefault()"
You can use JphUtil_Touches object for that, or if the preventing is
only feature you want to achieve, you should use regular anonymus
approach
elem.ontouchmove = function(e){e.preventDefault()}
Tole
ps, I'm glad you like my "strange" coding standard
On 1 tra, 14:11, domorethanyoucan <[email protected]> wrote:
> So, I'd like to prevent vertical scrolls through photos.
>
> commening all the scrollY/pageY lines around line 2000 appears to have
> no effect.
>
> thoughts?
>
> ps, this thing is pretty neat.
>
> On Mar 25, 5:28 pm, Tole <[email protected]> wrote:
>
> > Hi all,
> > Some 8 months ago (3G release in Europe), I was programming the iPhone
> > optimized news portal (based on iui, off course), and I had to
> > implement gallery feature too. I was very surprised when I realized
> > that there is no usable javscript component. So, I had to create quick
> > and dirty workaround solution.
> > Few months later, I decided that I'll make that kind of component, and
> > now, here it is.
> > It is called JAIPHO (Javascript iPhone Photos), and by functionality
> > it attempts to be close to original iPhone Photos application as much
> > as web can offer. It is written in javascript so it is easy o
> > implement. Also to mention it is in beta release and published under
> > LGPL.
>
> > Ok, that's it. Hit me ;)
> > I would like to hear group opinion
>
> > Site urlwww.jaipho.com
>
> > Regards
> > Tole
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---