简体   繁体   English

jQuery easeOutBounce方向?

[英]Jquery easeOutBounce direction?

I am attempting to use a Jquery menu, that makes use of the 'easeOutBounce' easing method. 我正在尝试使用Jquery菜单,该菜单利用了'easeOutBounce'缓动方法。 It is working fine but, I cannot figure out how to change the direction that the menu is bouncing out from. 它工作正常,但我不知道如何更改菜单从其弹出的方向。 It currently expands to the right and bounces. 当前它向右扩展并反弹。 My menu will be right-align and I want it to expand to the left. 我的菜单将向右对齐,我希望它向左扩展。

This is the example I'm using: http://jcargoo.110mb.com/rightmenu/ 这是我使用的示例: http : //jcargoo.110mb.com/rightmenu/

Is this what you are trying to achieve? 这是您要达到的目标吗? http://demo.raleighbuckner.com/so/1338381/ http://demo.raleighbuckner.com/so/1338381/

If so, all I did (other than removing the extra examples) is to change this CSS: 如果是这样,我所做的(除了删除多余的示例)是更改此CSS:

#sliding-navigation1 li {
    text-align: right;
    }

to this: 对此:

#sliding-navigation1 li {
    text-align: right;
    float:right;
    clear:both;
    }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM