Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
This commit is contained in:
commit
97a944ff27
|
@ -62,5 +62,12 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if user_activities.count == 10%>
|
<% if user_activities.count == 10%>
|
||||||
<%= link_to "点击展开更多",user_activities_path(@user.id,:type => type,:page => page),:id => "show_more_activities",:remote => "true",:class => "loadMore mt10 f_grey"%>
|
<div id="show_more_activities" class="loadMore mt10 f_grey">轻抚展开更多<%=link_to "", user_activities_path(@user.id,:type => type,:page => page),:id => "more_activities_link",:remote => "true",:class => "none" %></div>
|
||||||
|
<%#= link_to "点击展开更多",user_activities_path(@user.id,:type => type,:page => page),:id => "show_more_activities",:remote => "true",:class => "loadMore mt10 f_grey"%>
|
||||||
<% end%>
|
<% end%>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
$("#show_more_activities").mouseover(function(){
|
||||||
|
$("#more_activities_link").click();
|
||||||
|
});
|
||||||
|
</script>
|
Loading…
Reference in New Issue