I'm using the galleriffic jQuery image gallery plugin within a responsive site design which can be viewed here. As you can see by resizing the browser window, I've created various states for iPad, portrait & landscape--which still displays the full image gallery, i.e. thumbnails and adjacent full-size images-- and finally the for the iPhone, which displays only thumbnails.
My problem is that with the iPhone layout, the thumbnails are still linking to the main gallery container-- which I have hidden-- whereas I'd like them to link simply to larger JPEGs to open separately, i.e. as if the galleriffic script were disabled entirely. The script is dynamically removing a "noscript" class attached to "ul.thumbs"-- so the gallery will degrade gracefully without javascript-- and I thought by trying to re-add the class via jQuery addclass I could effectively disable galleriffic from initializing, but that didn't work.
Ultimately, I'm hoping to find the most elegant solution possible for changing/disabling the galleriffic script's modification of the thumbnail links only when the viewport is 480 px or less-- is this possible?
Thanks for any guidance here.