<a href="javascript:jumpto('http://www.163.com')">网易</a> |
<a href="javascript:jumpto('http://www.sohu.com')">搜狐</a> |
<a href="javascript:jumpto('http://www.the9.com')">第九城市</a> |
<a href="javascript:jumpto('http://www.sina.com.cn')">新浪网</a>
<script language="javascript">
<!--
//Drop-down Document Viewer II- ?Dynamic Drive (www.dynamicdrive.com)
//For full source code, 100's more DHTML scripts, and TOS,
//visit http://www.dynamicdrive.com
//Specify display mode (0 or 1)
//0 causes document to be displayed in an inline frame, while 1 in a new browser window
var displaymode=0
//if displaymode=0, configure inline frame attributes (ie: dimensions, intial document shown
var iframecode='<iframe id="external" style="width:95%;height:400px" src="http://www.jojoo.net"></iframe>'
//NO NEED TO EDIT BELOW HERE//
if (displaymode==0)
document.write(iframecode)
function jumpto(inputurl){
if (document.getElementById&&displaymode==0)
document.getElementById("external").src=inputurl
else if (document.all&&displaymode==0)
document.all.external.src=inputurl
else{
if (!window.win2||win2.closed)
win2=window.open(inputurl)
//else if win2 already exists
else{
win2.location=inputurl
win2.focus()
}
}
}
//-->
</script>
<a href="javascript:jumpto('http://www.sohu.com')">搜狐</a> |
<a href="javascript:jumpto('http://www.the9.com')">第九城市</a> |
<a href="javascript:jumpto('http://www.sina.com.cn')">新浪网</a>
<script language="javascript">
<!--
//Drop-down Document Viewer II- ?Dynamic Drive (www.dynamicdrive.com)
//For full source code, 100's more DHTML scripts, and TOS,
//visit http://www.dynamicdrive.com
//Specify display mode (0 or 1)
//0 causes document to be displayed in an inline frame, while 1 in a new browser window
var displaymode=0
//if displaymode=0, configure inline frame attributes (ie: dimensions, intial document shown
var iframecode='<iframe id="external" style="width:95%;height:400px" src="http://www.jojoo.net"></iframe>'
//NO NEED TO EDIT BELOW HERE//
if (displaymode==0)
document.write(iframecode)
function jumpto(inputurl){
if (document.getElementById&&displaymode==0)
document.getElementById("external").src=inputurl
else if (document.all&&displaymode==0)
document.all.external.src=inputurl
else{
if (!window.win2||win2.closed)
win2=window.open(inputurl)
//else if win2 already exists
else{
win2.location=inputurl
win2.focus()
}
}
}
//-->
</script>