作业描述大于20行才显示更多按钮

This commit is contained in:
sw 2015-06-02 16:45:44 +08:00
parent e6af34e9f8
commit 9f03e39e86
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
<% end %> <% end %>
<div class="cl"></div> <div class="cl"></div>
<script> <script>
$(function(){if($("#bid_description_<%= homework.id%>_content").height()>38){$("#bid_show_more_des_button<%= homework.id%>").show();}}); $(function(){if($("#bid_description_<%= homework.id%>_content").height()>360){$("#bid_show_more_des_button<%= homework.id%>").show();}});
</script> </script>
<div id="bid_description_<%= homework.id%>" class="news_description mt5"> <div id="bid_description_<%= homework.id%>" class="news_description mt5">
<div id="bid_description_<%= homework.id%>_content" class="upload_img"> <div id="bid_description_<%= homework.id%>_content" class="upload_img">