so sieht die common.js am ende bei mir aus
Code:
function setActionClick(objectname,functioncode) { if (navigator.platform == "iPod" || navigator.platform == "iPhone" || navigator.platform == "iPad") { objectname.ontouchstart=functioncode; } else { objectname.onclick=functioncode; } } function setActionDown(objectname,functioncode) { if (navigator.platform == "iPod" || navigator.platform == "iPhone" || navigator.platform == "iPad") { objectname.ontouchstart=functioncode; event.preventDefault(); } else { objectname.onmousedown=functioncode; } } function setActionUp(objectname,functioncode) { if (navigator.platform == "iPod" || navigator.platform == "iPhone" || navigator.platform == "iPad") { objectname.ontouchend=functioncode; } else { objectname.onmouseup=functioncode; } }
Kommentar