小编yet*_*rse的帖子

Mootools和YUI Carousel问题

我正在一个使用Mootools的网站上工作,并且该网站已经添加了一个旋转木马 - http://developer.yahoo.com/yui/examples/carousel/carousel-ariaplugin_source.html

问题是旋转木马不知何故不能与Mootools玩得很好.使用Mootools,它不起作用,当我删除Mootools时,它开始工作.启用Mootools时,Firebug也不会在控制台中显示任何JS错误或冲突.

我已经设置了几个jsfiddles来演示这个问题.

HTML

<div class="yui-skin-sam">
        <h1 id="my-carousel-label">Expert Health Advice</h1>

    <div id="container">
        <ol id="carousel">
            <li class="item">   <a title="View Author's Biography" class="authimg" href="http://health.yahoo.com/experts/skintype/bio/leslie-baumann/"><img width="125" height="154" alt="Leslie Baumann, M.D." src="http://l.yimg.com/fz/ls/he/blogs/carousel/LeslieBaumann_carousel.png"/></a>

                    <h3><a href="http://health.yahoo.com/experts/skintype/bio/leslie-baumann/">Leslie Baumann, M.D.</a></h3>

                    <h4><a href="http://health.yahoo.com/experts/skintype/12135/skin-treatments-for-brides-to-be/">Skin Treatments for&#8240;</a></h4>
    <cite>Posted Thu 5.1.08</cite>

                <p class="all"><a href="http://health.yahoo.com/experts/skintype/">View All Posts &#187;</a>

                </p>
            </li>
            <li class="item">   <a title="View Author's Biography" class="authimg" href="http://health.yahoo.com/experts/deepak/bio/deepak-chopra/"><img width="125" height="154" alt="Deepak Chopra, M.D." src="http://l.yimg.com/fz/ls/he/blogs/carousel/DeepakChopra_carousel.png"/></a>

                    <h3><a href="http://health.yahoo.com/experts/deepak/bio/deepak-chopra/">Deepak Chopra, M.D.</a></h3>

                    <h4><a href="http://health.yahoo.com/experts/deepak/2689/how-you-think-about-illness-affects-your-recovery/">How You Think About …
Run Code Online (Sandbox Code Playgroud)

javascript yui mootools carousel

5
推荐指数
1
解决办法
332
查看次数

标签 统计

carousel ×1

javascript ×1

mootools ×1

yui ×1