正在加载图片...
Head> Script language="JavaScript" type="text/JavaScript"> var expectedHash function makeHistory (newHash window, location hash newHash expectedHash window location. hash return true function reportOptionValueo var my Form document make history var my Select myForm change year return my Select options [mySelect selectedIndex] value function setOption Value (value) var my Form document. make history y Select options [value-1] selected =true function handleHistory o if window location. hash ! expectedHash expectedHash window. location. hash var newoption expectedHash substring(6) Option value( ne turn true function pollHasho I indow setInterval("handleHistory(",1000<html> <head> <script language="JavaScript" type="text/JavaScript"> var expectedHash = ""; function makeHistory(newHash) { window.location.hash = newHash; expectedHash = window.location.hash; return true; } function reportOptionValue() { var myForm = document.make_history; var mySelect = myForm.change_year; return mySelect.options[mySelect.selectedIndex].value; } function setOptionValue(value) { var myForm = document.make_history; var mySelect = myForm.change_year; mySelect.options[value-1].selected = true; return true; } function handleHistory() { if ( window.location.hash != expectedHash ) { expectedHash = window.location.hash; var newoption = expectedHash.substring(6); setOptionValue( newoption ); } return true; } function pollHash() { handleHistory(); window.setInterval("handleHistory()", 1000); return true; }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有