我前几天一直在整理有关sina's
blog的下拉菜单链接的代码,然后才突然发现在朋友blog上写的一个问题:sina不支持script代码.因此,我们不得不尝试其他的手段来实现这一简化页面的设置----用<iframe>框架语言.具体代码整理如下:
一.框架结构
<iframe src='网页地址' width='160' height='54'
frameborder='no' border='0' marginwidth='0' marginheight='0'
scrolling='no'></iframe>
二.下拉菜单
<SELECT style='WIDTH: 178px;FONT-SIZE: 10pt; BACKGROUND: #9999FF; COLOR: #ffffff; FONT-FAMILY: Arial'
onchange=javascript:window.open(this.options[this.selectedIndex].value)
name=select value='GO'>
<OPTION value=#selected>友情链接</OPTION>
<OPTION value=http://blog.sina.com.cn/u/1158726455>天天在