/* * Date: 2009-08-07T23:50:00+09:00 * Author: ayumi fujii * Description: Site Script * Lisence: (c) DaLaFarm co,ltd */ $(document).ready(function(){ $("div#content div.entry div.item-img img").hover( function(){ $(this).stop().animate({ backgroundColor: '#53a0df' }); }, function(){ $(this).stop().animate({ backgroundColor: '#e3e3e3' }); } ); $("div#content div.entry div#recommend-item dl dt img").hover( function(){ $(this).stop().animate({ backgroundColor: '#53a0df' }); }, function(){ $(this).stop().animate({ backgroundColor: '#e3e3e3' }); } ); $("div#content div.entry div.item-img a.zoom").lightBox({ overlayBgColor: '#f0f0f0',txtImage: '商品画像',txtOf: '/'}); $("div#content div.entry div.item-img a.zoom_link").lightBox({ overlayBgColor: '#f0f0f0',txtImage: '商品画像',txtOf: '/'}); }); function lnSetSelect(form, name1, name2, val) { sele11 = document[form][name1]; sele12 = document[form][name2]; if(sele11 && sele12) { index = sele11.selectedIndex; // セレクトボックスのクリア count = sele12.options.length; for(i = count; i >= 0; i--) { sele12.options[i] = null; } // セレクトボックスに値を割り当てる len = lists[index].length; for(i = 0; i < len; i++) { sele12.options[i] = new Option(lists[index][i], vals[index][i]); if(val != "" && vals[index][i] == val) { sele12.options[i].selected = true; } } } }