Thanks Thomas. I really appreciate it! I'll give it a shot. I'm not using JQTouch on this project... so any recommendations on pulling that out?
- Jordan On Sat, Oct 30, 2010 at 2:19 PM, Thomas Yip <[email protected]> wrote: > I did what you are trying. I think I got it mostly right. > > http://github.com/beedesk/jQTouch/blob/master/jqtouch/jqtouch.js > > > Start looking at: > function touchstart(e) > > > To "Keep the class 'pressed'", remove these lines from touchend and > hoverend: > setTimeout(function() { > $el.removeClass('active'); > }, 1000); > > > Thomas > > ---------- > Thomas Yip [email protected] > http://beedesk.com > twitter: @BeeDesk > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Jordan Dobson > > Sent: Saturday, October 30, 2010 4:36 AM > > To: iPhoneWebDev > > Subject: Issue with Remove Click Delay script on Cubiq.org > > > > Hey all! > > > > I was wondering if anyone had any ideas on my comment on cubiq.org: > > http://cl.ly/32Uu > > > > My Goals in using his script: > > > > * Have a clickable / touchable element apply class "pressed" as soon as > it is > > touched > > * Remove the class "pressed" if the user moves / drags the view > > * Keep the class "pressed" if the user releases without dragging or > moving > > the view > > > > In addition to my comment on his post... I did notice that JQTouch will > > "release" the pressed class as soon as you start to move. > > > > Let me know if an example of my problem would help... I'd have to pull > out > a > > few things from the project to provide an example but, I'm not sure if > this > > issue is common knowledge to some of you. > > > > Thanks! > > > > - Jordan > > > > -- > > 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]<iphonewebdev%[email protected]> > . > > For more options, visit this group at > > http://groups.google.com/group/iphonewebdev?hl=en. > > > -- > 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]<iphonewebdev%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/iphonewebdev?hl=en. > > -- Jordan Dobson Designer + Developer (425) 444-8014 http://JordanDobson.com | http://MadeBySquad.com | Glue.Pro Follow me on twitter at http://Twitter.com/JordanDobson -- 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.
