⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 search.htm

📁 ieee1394驱动程序
💻 HTM
📖 第 1 页 / 共 3 页
字号:
var tmp,tmp_check='',tmp_class='';var temp_cat_arr = new Array;var temp_subcat_arr = new Array;var k;switch(type){case 'channel':if(subtype==0){sArr=0; eArr=channel_0;}else if(subtype==1){sArr=channel_0; eArr=channel_1;}else if(subtype==2){sArr=channel_1; eArr=channel_2;}else{sArr=channel_2; eArr=channel_3;}s +='<table border=1 style="border-collapse : collapse;" borderColor="#eeeeee">';k=0;for (i=sArr;i<eArr;i++){if(k%3==0) s +='<tr>';if(i=='0'){ico_channel='◆';sChannelText=c_arr[i][0];}else ico_channel='◇';s += '<td width=85 style="cursor:hand;" onclick="setChannel(\''+i+'\',\''+c_arr[i][0]+'\');" onMouseOver="this.bgColor=\'#B5C7E6\';" onMouseOut="this.bgColor=\'\';"><span ID=channel_check_'+i+'>'+ico_channel+'</span> '+c_arr[i][0]+'</td>\n';k++;}s +='</table>';break;case 'cat':if(subtype==0){tmp='软 件';temp_cat_arr=c_s_a;}else{tmp='硬 件';temp_cat_arr=c_h_a;}s +='<table border=0 cellspacing=0 width=100 style="border-collapse : collapse;">';s +='<tr>';s +='<td class=title_item>'+tmp+'</td>';s +='</tr>';for(key in temp_cat_arr){tmp_class='unsel_item';if(''==temp_cat_arr[key][0]) tmp_class='sel_item';s +='<tr>';if (10 == temp_cat_arr[key][0] || 1 == temp_cat_arr[key][0] || 2 == temp_cat_arr[key][0]) s +='<td ID=cat_'+ temp_cat_arr[key][0] +' class='+tmp_class+' onMouseOver="showCat(this,\''+ temp_cat_arr[key][0] +'\');" onMouseOut="hiddenCat(this,\''+ temp_cat_arr[key][0] +'\');" onclick="setCat(\''+temp_cat_arr[key][0]+'\');" style="color:red;">'+temp_cat_arr[key][1]+'</td>';else s +='<td ID=cat_'+ temp_cat_arr[key][0] +' class='+tmp_class+' onMouseOver="showCat(this,\''+ temp_cat_arr[key][0] +'\');" onMouseOut="hiddenCat(this,\''+ temp_cat_arr[key][0] +'\');" onclick="setCat(\''+temp_cat_arr[key][0]+'\');">'+temp_cat_arr[key][1]+'</td>';s +='</tr>';}s +='</table>';break;case 'subcat':for(key in c_h_a){s +='<div ID=subcatdiv_'+c_h_a[key][0]+' style="position:absolute; display:none;" class=subcat_display_zone onMouseOver=showDiv(this); onMouseOut=hiddenDiv(this);>';s +='<table border=0 width=100>';temp_subcat_arr=eval('sc_a_'+c_h_a[key][0]);k=0;for(skey in temp_subcat_arr){if(k%3==0) s +='<tr>';tmp_icon='◇';if(''==temp_subcat_arr[skey][0]) tmp_icon='◆';s +='<td nowrap style="cursor:default;" onclick="setSubcat(\''+c_h_a[key][0]+'\',\''+temp_subcat_arr[skey][0]+'\',\''+temp_subcat_arr[skey][1]+'\')" onMouseOver="this.bgColor=\'#B5C7E6\';" onMouseOut="this.bgColor=\'\';"><span ID=subcat_icon_'+temp_subcat_arr[skey][0]+'>'+tmp_icon+'</span> '+temp_subcat_arr[skey][1]+'</td>';k++;}s +='</table>';s +='</div>';}for(key in c_s_a){s +='<div ID=subcatdiv_'+c_s_a[key][0]+' style="position:absolute; display:none;" class=subcat_display_zone onMouseOver=showDiv(this); onMouseOut=hiddenDiv(this);>';s +='<table border=0>';temp_subcat_arr=eval('sc_a_'+c_s_a[key][0]);k=0;for(skey in temp_subcat_arr){if(k%3==0) s +='<tr>';tmp_icon='◇';if(''==temp_subcat_arr[skey][0]) tmp_icon='◆';s +='<td nowrap style="cursor:default;" onclick="setSubcat(\''+c_s_a[key][0]+'\',\''+temp_subcat_arr[skey][0]+'\',\''+temp_subcat_arr[skey][1]+'\')" onMouseOver="this.bgColor=\'#B5C7E6\';" onMouseOut="this.bgColor=\'\';"><span ID=subcat_icon_'+temp_subcat_arr[skey][0]+'>'+tmp_icon+'</span> '+temp_subcat_arr[skey][1]+'</td>';k++;}s +='</table>';s +='</div>';}break;}//document.write(s);return s;}function listManu(){var s='';var tmp_manuid='';var tmp_manu='请选择品牌';var tmp_check='';if(manu_arr_len>0){s += '<table border=0 cellpadding=0 width=450>';for(i=0;i<manu_arr_len;i++){temp_manu_icon='◇';if(manu_arr[i][1]==ZolSearchForm.manuid.value){tmp_manuid=manu_arr[i][1];tmp_manu=manu_arr[i][0];temp_manu_icon='';}s += '<tr>';s += '<td nowrap onMouseOver="this.bgColor=\'#B5C7E6\';" onMouseOut="this.bgColor=\'\';" style="cursor:hand;color:'+manu_arr[i][2]+';" onclick=setManu("'+manu_arr[i][1]+'","'+manu_arr[i][0]+'");><span ID=manu_icon_'+manu_arr[i][1]+'>'+temp_manu_icon+'</span> '+manu_arr[i][0]+'</td>';i++;if(i<manu_arr_len){temp_manu_icon='◇';if(manu_arr[i][1]==ZolSearchForm.manuid.value){tmp_manuid=manu_arr[i][1];tmp_manu=manu_arr[i][0];temp_manu_icon='';}s += '<td nowrap onMouseOver="this.bgColor=\'#B5C7E6\';" onMouseOut="this.bgColor=\'\';" style="cursor:hand;color:'+manu_arr[i][2]+';" onclick=setManu("'+manu_arr[i][1]+'","'+manu_arr[i][0]+'");><span ID=manu_icon_'+manu_arr[i][1]+'>'+temp_manu_icon+'</span> '+manu_arr[i][0]+'</td>';}else s += '<td></td><td></td>';i++;if(i<manu_arr_len){temp_manu_icon='◇';if(manu_arr[i][1]==ZolSearchForm.manuid.value){tmp_manuid=manu_arr[i][1];tmp_manu=manu_arr[i][0];temp_manu_icon='';}s += '<td nowrap onMouseOver="this.bgColor=\'#B5C7E6\';" onMouseOut="this.bgColor=\'\';" style="cursor:hand;color:'+manu_arr[i][2]+';" onclick=setManu("'+manu_arr[i][1]+'","'+manu_arr[i][0]+'");><span ID=manu_icon_'+manu_arr[i][1]+'>'+temp_manu_icon+'</span> '+manu_arr[i][0]+'</td>';}else s += '<td></td>';s += '</tr>';}s += '</table>';}ZolSearchForm.manuid.value=tmp_manuid;ZolSearchForm.sManu.value=tmp_manu;document.all.ManuListDiv.innerHTML=s;}body ='';try{document.createStyleSheet('http://search.zol.com.cn/search/search.css')}catch(e){body +='<STYLE>';body +='td{font-size:12px;}';body +='.stext{border:1px solid #B5C7E6;height:19px;cursor:default;margin:0px;}';body +='.SearchDownGif{margin:0px;}';body +='.unsel_item_over{cursor:default;text-align:center;background:#B5C7E6;border:1px solid #336699;}';body +='.unsel_item{cursor:default;text-align:center;background:#FFFFFF;border:1px solid #B5C7E6;}';body +='.sel_item{cursor:default;text-align:center;background:#336699;border:1px solid #336699;color:#FFFFFF;}';body +='.title_item{cursor:default;text-align:center;background:#000000;color:white;font-weight:bold;border:1px solid #B5C7E6;}';body +='.subcat_display_zone { border:2px solid #336699;background-color:#FFFFFF;position:absolute;}';body +='.dis_zone{border:3px solid #336699;}';body +='</STYLE>';}body +='<TABLE height=19 cellSpacing=0 border=0 style="border-collapse :collapse">';body +='<TBODY><TR><Td><img src=http://search.zol.com.cn/search/find.gif width=11 height=11></Td>';body +='<TD height="19" align=center nowrap nowrap>';body +=' <TABLE height=19 cellpadding=0 border=0 style="border-collapse :collapse">';body +=' <form name=ZolSearchForm action=""  style="margin:0px;padding:0px;">';body +=' <input type=hidden name=obj value="0">';body +=' <input type=hidden name=manuid value="">';body +=' <input type=hidden name=catid value="">';body +=' <input type=hidden name=subcatid value="">';body +=' <input type=hidden name=search value="0">';body +=' <input type=hidden name=channel value="products">';body +=' <input type=hidden name=doc_search_classid value="">';body +=' <input type=hidden name=locationid value="1">';body +=' <tr>';body +=' <td nowrap><input type=text size=10 readonly name=sChannel class=stext style="text-align:center;" ID=sChannel onclick="showConInfo(\'channel\');"></td><td width=15><img class=SearchDownGif border=0 width=8 src="http://search.zol.com.cn/search/images/downmenu.gif" onclick="showConInfo(\'channel\');"></td>';body +=' <td nowrap><input type=text size=12 readonly name=sSubcat value="所有产品类别" class=stext style="text-align:center;" ID=sSubcat onclick="showConInfo(\'subcat\');"></td><td width=15><img class=SearchDownGif border=0 width=8 src="http://search.zol.com.cn/search/images/downmenu.gif" onclick="showConInfo(\'subcat\');"></td>';body +=' <td nowrap><input type=text size=14 readonly name=sManu value="所有品牌" class=stext style="text-align:center;" ID=sManu onclick="showConInfo(\'manu\');"></td><td width=15><img class=SearchDownGif border=0 width=8 src="http://search.zol.com.cn/search/images/downmenu.gif" onclick="showConInfo(\'manu\');"></td>';body +=' <td width=60 nowrap><input type=text class=stext size=6 name=keyword ID=keyword value="关键字" onfocus="if(this.value==\'关键字\') this.value=\'\';" onblur="if(this.value==\'\') this.value=\'关键字\'">';//body +=' <input type=submit value="搜索" onclick="return ChZolSearchForm();">';body +=' </td>';body +=' </tr>';body +=' </form>';body +=' </table>';body +='<div id="sChannelDiv" style="position:absolute; border:1px solid #888888;background-color:#FFFFFF; z-index:1;display:none;" onclick="showConInfo(\'channel\');">';body +='<table border=0 width=110 style="border-collapse : collapse;">';body +='<tr onMouseOver="showDiv(document.all.ArticleDiv);" onMouseOut="hiddenDiv(document.all.ArticleDiv);">';body +='<td width=16 bgcolor="#EEEEEE">&nbsp;</td>';body +=' <td style="cursor:hand" onMouseOver="this.bgColor=\'#B5C7E6\';" onMouseOut="this.bgColor=\'\';" onclick="setChannel(\'0\',\'所有文章\');">所有文章</td>';body +=' <td align=center>';body +=' <div ID=ArticleDiv class=dis_zone style="position:absolute;background-color:#FFFFFF; z-index:1; display:none;">';body +=' <table border=0 bgcolor=#FFFFFF width=255 style="border-collapse : collapse;">';body +=' <tr>';body +=' <td>';body += listMenu("channel",0);body +=' </td>';body +=' </tr>';body +=' </table>';body +=' </div>';body +=' <img src="http://search.zol.com.cn/search/images/icon_triangle.gif" width=4 height=8 align=top></td>';body +='</tr>';if(channel_0=='0'){ico_channel='◆';sChannelText=c_arr[channel_0][0];}else ico_channel='◇';body +='<tr>';body +='<td width=16 align=center bgcolor="#EEEEEE"><span ID=channel_check_'+channel_0+'>'+ico_channel+'</span></td>';body +=' <td style="cursor:hand;" onMouseOver="this.bgColor=\'#B5C7E6\';" onMouseOut="this.bgColor=\'\';" onclick="setChannel(\''+channel_0+'\',\''+c_arr[channel_0][0]+'\');">';body +=c_arr[channel_0][0];body +=' </td>';body +='</tr>';body +='<tr onMouseOver="showDiv(document.all.PriceDiv);" onMouseOut="hiddenDiv(document.all.PriceDiv);">';body +=' <td width=16 bgcolor="#EEEEEE">&nbsp;</td>';body +=' <td style="cursor:default;">多城市报价</td>';body +=' <td align=center>';body +=' <div ID=PriceDiv class=dis_zone style="position:absolute; background-color:#FFFFFF; z-index:1; display:none;">';body +=' <table border=0 bgcolor=#FFFFFF width=255 style="border-collapse : collapse;">';body +=' <tr>';body +=' <td>';body += listMenu("channel",3);body +=' </td>';body +=' </tr>';body +=' </table>';body +=' </div>';body +=' <img src="http://search.zol.com.cn/search/images/icon_triangle.gif" width=4 height=8 align=top></td>';body +='</tr>';if(channel_1=='0'){ico_channel='◆';sChannelText=c_arr[channel_1][0];}else ico_channel='◇';body +='<tr>';body +='<td width=16 align=center bgcolor="#EEEEEE"><span ID=channel_check_'+channel_1+'>'+ico_channel+'</span></td>';body +=' <td style="cursor:hand;" onMouseOver="this.bgColor=\'#B5C7E6\';" onMouseOut="this.bgColor=\'\';" onclick="setChannel(\''+channel_1+'\',\''+c_arr[channel_1][0]+'\');">';body +=c_arr[channel_1][0];body +=' </td>';body +='</tr>';body +='</table>';body +='</div>';body +='<div id="sSubcatDiv" style="position:absolute; border:1px solid #888888;background-color:#FFFFFF; z-index:2; display:none;" onclick="showConInfo(\'subcat\');">';body +='<table border=0 cellpadding=0 cellspacing=0 width=220 style="background-color:#FFFFFF; border-collapse : collapse;margin:4px;">';body +='<tr>';body +=' <td colspan=2><table border=0 cellpadding=0 cellspacing=0><tr><td nowrap>产品类别:</td><td nowrap style="cursor:default;" onclick="setSubcat(\'\',\'\',\'所有产品类别\');" onMouseOver="this.bgColor=\'#B5C7E6\';" onMouseOut="this.bgColor=\'\';"><span ID=subcat_icon_>◆</span> 所有产品类别</td></tr></table></td>';body +='</tr>';body +='<tr>';body +=' <td width=90 valign=top>';body += listMenu("cat",1);body +=' </td>';body +=' <td width=90 valign=top>';body += listMenu("cat",0);body +=' </td>';body +='</tr>';body +='</table>';body += listMenu("subcat",0);body +='</div>';body +='<Script language=JavaScript ID=getManuJs src=""></Script>';body +='<div id="sManuDiv" style="position:absolute; border:1px solid #888888;background-color:#FFFFFF; z-index:3; display:none;" onclick="showConInfo(\'manu\');">';body +='<table border=0 cellpadding=0 cellspacing=0 width=450 style="border-collapse : collapse;margin:4px;">';body +='<tr>';body +=' <td>';body +=' 产品品牌:<span style="cursor:hand;" onclick=setManu("","所有品牌")><span ID=manu_icon_>◆</span>所有品牌</span>';body +=' </td>';body +='</tr>';body +='<tr>';body +=' <td>';body +=' <div id=ManuListDiv class="dis_zone" style="text-align:left;">';body +=' </div>';body +=' </td>';body +='</tr>';body +='</table>';body +='</div></TD>';body +='<TD><input type=button value="搜索" onclick="if(ChZolSearchForm()) ZolSearchForm.submit();"></TD></TR>';body +='</TBODY></TABLE>';try{document.getElementById('search_bar_zone').innerHTML=body;}catch(e){document.write(body);}document.onclick=hiddenAllDiv;initChannel('products','');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -