简体   繁体   English

jQuery从右侧窗体显示类似div的div

[英]jQuery show a div like slide from right side form

i want to show my div tag like slide by jquery this is my html code 我想通过jQuery显示像幻灯片一样的div标签,这是我的html代码

<div id="resultSearch" class="searchPanel"  style="display:none; position:absolute">
    <div style="font-family:Arial; font-size:12pt;color:#1376c9;font-weight:bold;">
        //somthing
    </div>
</div>

i am using this code for show the resultSearch 我正在使用此代码显示resultSearch

$('#resultSearch').show('slide', { direction: 'left' }, 1000);

but the tag dose not show!!! 但是标签没有显示!!! i don't know why? 我不知道为什么?

locationSearch是错误的id ,正确的idresultSearch

Jquery selector is wrong: jQuery选择器错误:

$('#resultSearch').show('slide', 
   { 
     direction: 'left' 
   }, 1000);

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

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