基于json数据的动态jquery轮播图插件 Facebook Inspired Dynamic Carousel Plugin

$.getJSON("JSON/data.js",function (result){
	var setting = {
		subject:'NBA',
		cardw : 145,	//page card's width .
		cardh : 145,
		cardn : 7,		//the number of visible page card .
		margin : 9,		//margin between cards .
		JSON :result
	};
	$('#nba').slider(setting);
});			
		

$.getJSON("JSON/data.js",function (result){
	var setting = {
		subject:'Movie',
		cardw : 145,	//page card's width .
		cardh : 217,
		cardn : 5,		//the number of visible page card .
		margin : 9,		//margin between cards .
		JSON :result
	};
	$('#movie').slider(setting);
});