PDA

View Full Version : Requesting Help to Alter a jquery photo gallery



cdutson
20 Apr 2011, 09:43 PM
Hello,

I have created a photo gallery using some pre-made javascript and css files that I got from http://coffeescripter.com/code/ad-gallery/. The gallery I made is visible at thefatsnook.com/Gallery2.html (http://www.thefatsnook.com/Gallery2.html).

I have 1 year self-taught web design experience, but this is my first time with JavaScript. I don't know that much about it, but have figured out how to alter the original code a little bit to alter the gallery. But I can't figure out how to alter the thumb behavior.

I would like to make it so that when you view the gallery on the iPhone, you can tap once on the thumbnail to make the photo load in the main viewer there. As it is now, you have to tap twice to get it to load; the first tap highlights the thumb, and then you can tap again to load the large version of the image.

Any suggestions or help would be GREATLY appreciated. I would like to fix this myself if possible.

THANK YOU,

CD

lisahill
21 Apr 2011, 07:23 AM
upports photos, grouping, slideshow, ajax, inline, and iframed content.
Lightweight: 9KB of JavaScript.
Appearance is controlled through CSS so users can restyle the box.
Behavior settings can be over-written without altering the ColorBox javascript file.
Can be extended with callbacks & event-hooks without altering the source files.
Completely unobtrusive, options are set in the JS and require no changes to existing HTML.
Preloads background images and can preload upcoming images in a photo group.
Written in jQuery plugin format and can be chained with other jQuery commands.
Generates W3C valid XHTML and adds no JS global variables & passes JSLint.

[deleted by mod :: new users aren't allowed links/signatures]