スライドショーとして機能するtgis jクエリスクリプトを作成しようとしています.picリストを生成します
今では、li アイテムを大きくするだけです。追加/調整に必要なもの
$(document).ready(function(){
$("div#dynamiclist_product table tr td img#thumb").click(function(){
$("div#dynamiclist_product table tr td img#main_pic").hide(); //hide prev pic that is loded automaticaly on product page
// enlarge when clicked
$(this).css("height","700");
$(this).css("width","500");
$(this).css("margin-top","170");//dont seem to work
$(this).css("margin-left","170");//dont seem to work
});});
//shrink back when other is clicked
$("img#thumb").click(function(){
$("img#thumb").css("height","160");
$("img#thumb").css("width","120");
$("img#thumb").css("margin-left","0");
$("img#thumb").css("margin-top","0");
});