V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
darasion
V2EX  ›  问与答

jquery里,单元格 slide 效果,为啥会有跳动?怎样解决这种跳动?

  •  
  •   darasion · 2011-08-03 20:14:12 +08:00 · 3464 次点击
    这是一个创建于 4640 天前的主题,其中的信息可能已经有所发展或是发生改变。
    代码大致是这样:

    <table>

    <tr><td>A</td><td>B</td><td>C</td></tr>
    <tr id="effect" class="hide"><td>D</td></tr>

    </table>


    .hide { display:none; }


    $('#effect').slideDown();


    当 effect 滑动的时候,会发生跳动,表格突然被挤宽很多,然后收缩。。最后才开始下滑。
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   993 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:13 · PVG 04:13 · LAX 13:13 · JFK 16:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.