首页 > 解决方案 > 为什么这个 Jquery slideToggle 不能在手机上工作?

问题描述

http://lapan.com.ba/denisa-daca-ar-avea-videoclip-original-manele-noi-august-2016/

jQuery是...

<script type="text/javascript">
jQuery(function($) {
$('.show-hide').click(function(e){
    e.preventDefault();
    $('.entry-content').slideToggle();
    $(this).text( $(this).text() == 'Read More' ? "Show Less" : "Read More");
});
});
</script>

它是按钮 Opis...视频下的第三个绿色。

<div class="under-video" style="">
<input style="
    float: right;
    margin: 5px;
    margin-top: 0px;
    cursor: pointer;
    z-index: 100;
    position: relative;"
type="button" value="Opis" class='show-hide' value='hide/show'>...

标签: jquerycssslidetoggle

解决方案


推荐阅读