What is more important to you, passing validation or that swiping works on all mobile devices???
Thread Starter
bokou
(@bokou)
Seems like a rather “can’t eat your cake and have it too” mentality. It’s possible to validate and to have mobile compatibility
Ontouch events shouldn’t be in div tags: http://stackoverflow.com/questions/6552949/where-are-ontouch-events-allow-to-be-why-not-on-divs
That is puting it through the backdoor where the validator doesn’t see it.
wppa-slideshow.php line 159 reads:
$ontouch = 'ontouchstart="wppaTouchStart(event,\'slide_frame-'.$wppa['master_occur'].'\', '.$wppa['master_occur'].');" ontouchend="wppaTouchEnd(event);" ontouchmove="wppaTouchMove(event);" ontouchcancel="wppaTouchCancel(event);"';
you may change it in
$ontouch = '';
Thread Starter
bokou
(@bokou)
negative, still getting the same four validation errors. I even removed the photo of the day which is what I thought may be causing it, but it doesn’t do anything.
Attribute ontouchstart not allowed on element div at this point.
ontouchmove="wppaTouchMove(event);" ontouchcancel="wppaTouchCancel(event);" >
I look at the sourcecode lines of the generated homepage that it refers to and it’s prefaced by “<!– start WPPA+ Footer data –>” if that points anyone in the direction of figuring it out.
I suppose I will learn to live with it. I love your plugin but don’t know enough outside of basic HTML and CSS to do anything to fix it.
Its also in wppa-non-admin.php, for the lightbox. Sorry i overlooked that.