动网SP1首页yahoo搜索换成QQ音乐电台修改方法
演示地址:http://www.joy01.com样式一:
http://www.joy01.com/UploadFile/2005-10/2005102715212051611.jpg
代码:
<iframe width="255" height="30" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="http://listen.qq.com/cj/player.htm">
</iframe>
样式二:
http://www.joy01.com/UploadFile/2005-10/200510271523429665.jpg
代码:
<iframe width="180" height="30" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="http://bbs.qq.com/radio.htm">
</iframe>
登陆后台===>>>>分页面模板(page_index)===>>>>template.html(0)
找到如下代码:
<div style="float:left;padding:3px;width:49%;height:28px;" >
<div style="float:left;"><a href=http://www.yisou.com/search?pid=400107_1006 target="_blank"><img src="images/search/yisou.gif" border="0"alt="一 搜" style="margin-top:10px;margin-left:10px;margin-right:6px;" align="absmiddle"/></a></div>
<form method="POST" action="query.asp" target="_blank">
<input type="hidden" value="2" name="isWeb"/>
<input type="hidden" value="8" name="stype"/>
<div style="float:left;">
<input name="keyword" size="20" value="关键字" onmouseover="this.focus()" onblur="if (this.value =='') this.value='请输入关键字' " onfocus="this.select()" onclick="if(this.value=='请输入关键字')this.value=''" style="height : 18px;border:solid 1px #D4D4D4;BACKGROUND-COLOR: #FAFAFA;COLOR: #4d4d4d;FONT-FAMILY: Arial; margin-top:3px;margin-left:0px;margin-right:5px;"/>
</div>
<div style="float:left;">
<input style="border:solid 1px #D4D4D4;BACKGROUND-COLOR: #FAFAFA; height : 22px;COLOR: #4d4d4d;FONT-FAMILY: Arial; FONT-SIZE:11.5px;margin-top:3px;margin-left:5px;margin-right:5px;" type="submit" value="搜一搜" name="submit"/>
</div>
</form>
</div>
将上面代码替换为:
<div style="float:left;padding:3px;width:44%;height:28px;" >
<div style="float:left;"> <iframe width="255" height="30" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="http://listen.qq.com/cj/player.htm">
</iframe> </div>
</div>
即可!
动网SP1首页yahoo搜索换成QQ音乐电台修改方法
演示地址:http://www.joy01.com样式一:
http://www.joy01.com/UploadFile/2005-10/2005102715212051611.jpg
代码:
<iframe width="255" height="30" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="http://listen.qq.com/cj/player.htm">
</iframe>
样式二:
http://www.joy01.com/UploadFile/2005-10/200510271523429665.jpg
代码:
<iframe width="180" height="30" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="http://bbs.qq.com/radio.htm">
</iframe>
登陆后台===>>>>分页面模板(page_index)===>>>>template.html(0)
找到如下代码:
<div style="float:left;padding:3px;width:49%;height:28px;" >
<div style="float:left;"><a href=http://www.yisou.com/search?pid=400107_1006 target="_blank"><img src="images/search/yisou.gif" border="0"alt="一 搜" style="margin-top:10px;margin-left:10px;margin-right:6px;" align="absmiddle"/></a></div>
<form method="POST" action="query.asp" target="_blank">
<input type="hidden" value="2" name="isWeb"/>
<input type="hidden" value="8" name="stype"/>
<div style="float:left;">
<input name="keyword" size="20" value="关键字" onmouseover="this.focus()" onblur="if (this.value =='') this.value='请输入关键字' " onfocus="this.select()" onclick="if(this.value=='请输入关键字')this.value=''" style="height : 18px;border:solid 1px #D4D4D4;BACKGROUND-COLOR: #FAFAFA;COLOR: #4d4d4d;FONT-FAMILY: Arial; margin-top:3px;margin-left:0px;margin-right:5px;"/>
</div>
<div style="float:left;">
<input style="border:solid 1px #D4D4D4;BACKGROUND-COLOR: #FAFAFA; height : 22px;COLOR: #4d4d4d;FONT-FAMILY: Arial; FONT-SIZE:11.5px;margin-top:3px;margin-left:5px;margin-right:5px;" type="submit" value="搜一搜" name="submit"/>
</div>
</form>
</div>
将上面代码替换为:
<div style="float:left;padding:3px;width:44%;height:28px;" >
<div style="float:left;"> <iframe width="255" height="30" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="http://listen.qq.com/cj/player.htm">
</iframe> </div>
</div>
即可!
页:
[1]