// JavaScript Document /* -------------------------------------------------------------------------------------- 各種ユニット --------------------------------------------------------------------------------------- */ $(function init(){ slide(); scrollbar(); }); /* -------------------------------------------------------------------------------------- スライドイベント --------------------------------------------------------------------------------------- */ var slide = function (){ //設定 var init = { count : 0, animation : "normal", Interval : 6000, image : { length : $("#imgbox p").length, width : $("#imgbox p").width() }, box : parseInt(($("#imgbox p").length) * $("#imgbox p").width()), Tag : '
', path : { Default : 'images/slide_btn.gif', over : 'images/slide_btn_on.gif' }, list : $("#imgbox #box-inner div") }; //親ボックスのサイズを入れる init["list"].css({ "width" : init["box"], "overflow" : "hidden" }); /* -------------------------------------------------------------------------------------- イメージボタン --------------------------------------------------------------------------------------- */ //リストボタンの作成 for(var i=0; i