ここで、画像ギャラリーを作成しようとしています: http://jsfiddle.net/L7yKp/1/
var xml = "<rss version='2.0'><channel> <image>http://www.nikon.com/swf/img/thumbnail_ophthalmic_lenses.png</image> <image>http://www.nikon.com/swf/img/thumbnail_ophthalmic_lenses.png</image> <image>http://www.nikon.com/swf/img/thumbnail_ophthalmic_lenses.png</image> <limage>http://images1.videolan.org/images/largeVLC.png</limage> <limage>http://images1.videolan.org/images/largeVLC.png</limage> <limage>http://images1.videolan.org/images/largeVLC.png</limage> </channel></rss>",
xmlDoc = $.parseXML( xml ),
$xml = $( xmlDoc ),
$image= $xml.find( "image" );
$limage = $xml.find("limage");
$( "#thumbs" ).append( $image.map(function(){
return $('<img>', {className: 'thumbnails', src:$(this).text()})[0];
}));
$( "#panel" ).append( $limage.map(function(){
return $('<img>', {className: 'largeimages', src:$(this).text()})[0];
})
);
サムネイル画像をクリックすると大きな画像を表示する必要があります。したがって、各サムネイルをクリックすると、対応する大きな画像が表示されます。助けが必要です。