调整tabs显示,搜索蚊子精炼,loadiing.gif

This commit is contained in:
wlx 2011-11-22 16:03:01 +00:00
parent 2fb79b587d
commit 11c47866fc
1 changed files with 18 additions and 20 deletions

View File

@ -240,9 +240,9 @@ endforeach;
<ul class="idTabs"> <ul class="idTabs">
<li><a href="#related">相关数据</a></li> <li><a href="#related">相关数据</a></li>
<li><a href="#literature">相关文献</a></li> <li><a href="#literature">相关文献</a></li>
<li><a href="#comments">数据评论</a></li>
<li><a href="#service">服务记录</a></li>
<li><a href="#gsearch" class="googlesearch">相关搜索</a></li> <li><a href="#gsearch" class="googlesearch">相关搜索</a></li>
<li><a href="#service">服务记录</a></li>
<li><a href="#recommend">给我推荐</a></li> <li><a href="#recommend">给我推荐</a></li>
</ul> </ul>
<?php if ($this->related) : ?> <?php if ($this->related) : ?>
@ -273,6 +273,18 @@ echo '【'.$r->author.'. '.$r->publisher.' '.$r->ts_issued.'】</li>';
</ul> </ul>
</div> </div>
<?php endif; ?> <?php endif; ?>
<div id="gsearch">
<ul id="searchctrl">
<li><a href="javascript:;" class="googlesearch">Google搜索</a></li>
<li><a href="javascript:;" class="bingsearch">BING搜索</a></li>
<li><a href="javascript:;" class="cnkiSearch">CNKI搜索</a></li>
</ul>
<ul id="searchlist">
</ul>
</div>
<div id="recommend">
<p>申请了本条数据的用户,通常他们还申请了:</p>
</div>
<div id="comments"> <div id="comments">
<hr /> <hr />
<?php if ($md->status>0 and $md->status<5) : ?> <?php if ($md->status>0 and $md->status<5) : ?>
@ -284,20 +296,6 @@ echo '【'.$r->author.'. '.$r->publisher.' '.$r->ts_issued.'】</li>';
<?php echo $this->commentForm; ?> <?php echo $this->commentForm; ?>
<?php endif; ?> <?php endif; ?>
</div> </div>
<div id="gsearch">
<ul id="searchctrl">
<li><a href="javascript:;" class="googlesearch">Google关键词搜索</a></li>
<li><a href="javascript:;" class="cnkiSearch">CNKI知识搜索</a></li>
<li><a href="javascript:;" class="bingsearch">CN bing 搜索</a></li>
</ul>
<ul id="searchlist">
</ul>
</div>
<div id="recommend">
<p>申请了本条数据的用户,通常他们还申请了:</p>
</div>
<div id="window-outter" style="display:none;"> <div id="window-outter" style="display:none;">
<div id="window-inner"> <div id="window-inner">
<div id="window-closer-container">[<a href="#" id="window-closer" onclick="$('#window-outter').hide()">关闭</a>]</div> <div id="window-closer-container">[<a href="#" id="window-closer" onclick="$('#window-outter').hide()">关闭</a>]</div>
@ -443,7 +441,7 @@ function googleSearch(keyword){
$('#searchlist').html(items.join('')); $('#searchlist').html(items.join(''));
}, },
beforeSend:function(){ beforeSend:function(){
$('#searchlist').html('<img src="/images/11887177066.gif" />结果加载中'); $('#searchlist').html('<img src="/images/loading.gif" />结果加载中');
} }
}); });
} }
@ -467,7 +465,7 @@ function bingSearch(keyword){
$('#searchlist').html(items.join('')); $('#searchlist').html(items.join(''));
}, },
beforeSend:function(){ beforeSend:function(){
$('#searchlist').html('<img src="/images/11887177066.gif" />结果加载中'); $('#searchlist').html('<img src="/images/loading.gif" />结果加载中');
} }
}); });
} }
@ -492,7 +490,7 @@ function cnkiSearch(keyword){
$('#searchlist').html(items.join('')); $('#searchlist').html(items.join(''));
}, },
beforeSend:function(){ beforeSend:function(){
$('#searchlist').html('<img src="/images/11887177066.gif" />结果加载中'); $('#searchlist').html('<img src="/images/loading.gif" />结果加载中');
} }
}); });
} }