I'm struggling with a short jQuery program that I need help with. The problem is, I can't seem to get it to wrap more than two images in the same row. My goal is to create a website that side-scrolls, and I thought this approach would be the simplest way to achieve it. However, I've hit a roadblock and I'm seeking assistance.
If you'd like to take a look, here's the code on jsfiddle: http://jsfiddle.net/nP3VJ/
$(function(){
$(".gallery").wrapInner("<table cellspacing='30'><tr>");
$("#image").wrap("<td></td>");
});
Any guidance or suggestions would be greatly appreciated.