Code: Select all
hs.Expander.prototype = {
error : function(e) {
if (hs.debug) alert ('Line '+ e.lineNumber +': '+ e.message);
else window.location.href = this.src;
},
MisterNeutron wrote:Please give us a link to your page, the one that doesn't work.
There's nothing special being done in those barebones examples, and my own pages that use Highslide JS generally work OK on small mobile devices, since "a touch is a click," which is all that Highslide JS is looking for. I'm not doing anything special to accommodate them, though the text controlbar is far preferrable to the default graphic version, since there's no "hover" on a mobile device, and small targets are hard to hit. Setting it for "click for next" also helps:
A quick example: http://misterneutron.com/touchDemo/Code: Select all
hs.Expander.prototype.onImageClick = function() { this.slideshow.pause(); return hs.next(); }