javascript - skrollr mobile clicking on item returns error -
i using skrollr plugin parallax https://github.com/prinzhorn/skrollr. know works fine on ipad 3 , iphone 4s version 6.1.3.
however, on ipad 2 version 5.1.1 , several various android devices, have run issue if attempt click on link...or @ all...i message says:
"javascript:error undefined typeerror:'undefined' not function".
i isolated issue skrollr.js line 649 initialelement.click();. if remove call, error no longer happens...except still can't click on anything.
also, know sure error in plugin because tried clicking on things in skrollr demo , same error http://prinzhorn.github.io/skrollr/.
has come upon solution this? haven't seen posted anywhere. i've tried alternatives such as:
initialelement.mousedown('click'); initialelement.trigger('click'); initialelement.bind('click'); initialelement.live('click'); initialelement.delegate('click');
and give same exact error.
i find strange doesn't occur in devices, , rest of plugin seems working...so it's not issue on i'm importing it...heck else attached initialelement seems okay.
any ideas?
once again, give link site can't due disclosure agreement. if need snippets of code let me know.
thanks help!! :)
maybe give shot @ line 644 - https://gist.github.com/justinwup/6032497
Comments
Post a Comment