ajax问题 困惑中

来源:百度知道 编辑:UC知道 时间:2024/05/09 07:38:00
<script type='text/javascript'>
carousel({id:'Amazon Books', //Enter arbitrary but unique ID of this slideshow instance
border:'',
size_mode:'image', //Enter "carousel" or "image". Affects the width and height parameters below.
width:107, //Enter width of image or entire carousel, depending on above value
height:140, //Enter height of image or entire carousel, depending on above value
sides:6, //# of sides of the carousel. What's shown = sides/2. Even integer with sides/2< total images is best
steps:23, //# of animation steps. More = smoother, but more CPU intensive
speed:5, //Speed of slideshow. Larger = faster.
direction:'left', //Direction of slideshow. Enter "top", "bottom", "left", or "right"
images:['3d01.jpg',

http://www.uml.org.cn/AJAX/200808145.asp看看这个吧

这个只是调用了carousel()方法,里面的是参数。

这个应该是jquery的一个应用

在javascript中调用carousel()方法,参数{...}是一个JSON类型的对象。