Greetings to everybody,
for the last few weeks, i have been fooling around with edge, and try to make some banners both for demonstration and seeing the capabilities of Edge.
While i was trying to make a rollover banner, i added the swipe routine to the rollover banner for some images/text animations.
but i'm having 2 problems.
- it swipes back & forth allright but everytime i swipe to the left or right, first i see the roll-out stage for quarter of a second.
- when i tap to the CLOSE button, it works fine, but after tapping again to the banner for the rollover stage, the swipe animation doesn't reset itself and continues from the previous animation.
here is the link:
How can i solve these issues? Any kind of help will be appreciated.
edit: used tim's swipe routine for the banner, and did not change anything in the code.
here is the sourcecode: http://www.canulas.com.tr/bmwgallery/source.rar
Message was edited by: CaiSSoN
I would start by adding e.preventDefault(); at the top of all touch events (not sure if I had that in my swipe code example). This will stop the browser from scrolling around on swipe.
I am unable to click the close button (is it called "Kapat"?) on iPhone 4, the hit area is too small.
thanks for your response.
i tried your link on iphone 4 with chrome and safari, and it behaves funny.
rollover part works 40% of the time, but i'll take it under consideration about e.preventDefault();
yeah, "kapat" means "close" in english. i noticed that the area is way too small for it
i'll post an update when i try your way.