项目描述展开信息和收起信息
This commit is contained in:
parent
d23ac832ca
commit
04698c3e53
|
@ -100,7 +100,7 @@
|
||||||
<%= l(:label_search)%>
|
<%= l(:label_search)%>
|
||||||
</a>
|
</a>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<span id="project_name_span" class=" fl"></span>
|
<span id="project_name_span" class="fl"></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div><!--TopBar end-->
|
</div><!--TopBar end-->
|
||||||
|
@ -185,7 +185,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="lg-foot" id="lg-foot" onclick="show_more_msg();">
|
<div class="lg-foot" id="lg-foot" onclick="show_more_msg();">
|
||||||
<%= l(:label_expend_information)%>
|
<label id="expend_more_information" value="<%= l(:label_expend_information)%>"><%= l(:label_expend_information)%></label>
|
||||||
<span class="g-arr-down">
|
<span class="g-arr-down">
|
||||||
<img src="/images/jiantou.jpg" width="12" height="6" />
|
<img src="/images/jiantou.jpg" width="12" height="6" />
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -35,8 +35,21 @@ function expand_tools_expand()
|
||||||
}
|
}
|
||||||
|
|
||||||
// 描述显示更多信息
|
// 描述显示更多信息
|
||||||
function show_more_msg()
|
function show_more_msg(){
|
||||||
{$("#course_description").toggleClass("course_description_none");}
|
$("#course_description").toggleClass("course_description_none");
|
||||||
|
var information = $("#expend_more_information");
|
||||||
|
var val = information.attr("value");
|
||||||
|
if (val=="展开更多信息" )
|
||||||
|
{
|
||||||
|
$("#expend_more_information").text("收起描述信息");
|
||||||
|
information.attr("value","收起描述信息");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$("#expend_more_information").text("展开更多信息");
|
||||||
|
information.attr("value","展开更多信息");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////
|
||||||
//////////////////////////////////////////////////////////////项目讨论区
|
//////////////////////////////////////////////////////////////项目讨论区
|
||||||
|
|
Loading…
Reference in New Issue