|
|
|
@ -24,19 +24,6 @@
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<script>
|
|
|
|
|
<%# type = type%>
|
|
|
|
|
// $(function (){
|
|
|
|
|
// if('<%#= type %>' != null && '<%#= type %>' == 'courses' ){
|
|
|
|
|
// $('input:radio[value="courses"]').attr('checked','checked');
|
|
|
|
|
// }
|
|
|
|
|
// if('<%#= type %>' != null && '<%#= type %>' == 'projects' ){
|
|
|
|
|
// $('input:radio[value="projects"]').attr('checked','checked');
|
|
|
|
|
// }
|
|
|
|
|
// if('<%#= type %>' != null && '<%#= type %>' == 'users' ){
|
|
|
|
|
// $('input:radio[value="users"]').attr('checked','checked');
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
$(function(){
|
|
|
|
|
$("#navHomepageSearchInput").keypress(function(e){
|
|
|
|
|
var name = $.trim($('#navHomepageSearchInput').val());
|
|
|
|
@ -65,23 +52,6 @@
|
|
|
|
|
<input type="text" style="display: none;"/>
|
|
|
|
|
<a href="javascript:void(0);" class="homepageSearchIcon" onclick="search_in_header($(this));"></a>
|
|
|
|
|
<% end %>
|
|
|
|
|
<!--<div class="navSearchTypeBox" id="navHomepageSearchType">-->
|
|
|
|
|
<!--<div class="fl mr15 mt8">-->
|
|
|
|
|
<!--<input type="radio" value="courses" name="search_type" checked/>-->
|
|
|
|
|
<!--课程-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--<div class="fl mr15 mt8">-->
|
|
|
|
|
<!--<input type="radio" value="projects" name="search_type" />-->
|
|
|
|
|
<!--项目-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--<div class="fl mr15 mt8">-->
|
|
|
|
|
<!--<input type="radio" value="users" name="search_type" />-->
|
|
|
|
|
<!--用户-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--<div id="navSearchAlert" class="fr mr10">-->
|
|
|
|
|
<!--<span class="c_red">请选择搜索类型</span>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="navHomepageProfile" id="navHomepageProfile">
|
|
|
|
|