¶Ô±ÈÐÂÎļþ |
| | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | <head> |
| | | <title>checkbox.html</title> |
| | | <meta http-equiv="Expires" content="0" /> |
| | | <meta http-equiv="Cache" content="no-cache" /> |
| | | <meta http-equiv="Pragma" content="no-cache" /> |
| | | <meta http-equiv="Cache-control" content="no-cache" /> |
| | | <link href="imgs/favicon.ico" rel="icon" type="image/x-icon" /> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> |
| | | |
| | | <style> |
| | | html, body { |
| | | margin: 0; |
| | | padding: 0; |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | </style> |
| | | <script> |
| | | function getQueryString(name) { |
| | | var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); |
| | | var r = window.location.search.substring(1).match(reg); |
| | | if (r != null) { |
| | | return decodeURI(r[2]); |
| | | }; |
| | | return null; |
| | | } |
| | | |
| | | window.onload = function () { |
| | | setImageLayer(); |
| | | } |
| | | |
| | | function selectChanged(e) { |
| | | setImageLayer(); |
| | | } |
| | | |
| | | function setImageLayer() { |
| | | var select = document.getElementById("select"); |
| | | var text = select.options[select.selectedIndex].text.replace("å¹´", ""); |
| | | |
| | | var item = SGWorld.ProjectTree.FindItem("å¤ææ°æ®"); |
| | | if (item) { |
| | | SGWorld.ProjectTree.SetVisibility(item, false); |
| | | } |
| | | |
| | | item = SGWorld.ProjectTree.FindItem("å¤ææ°æ®\\" + text); |
| | | if (item) { |
| | | SGWorld.ProjectTree.SetVisibility(item, true); |
| | | } |
| | | } |
| | | </script> |
| | | </head> |
| | | <body> |
| | | <select id="select" style="width: 120px; text-align: center;" onchange="selectChanged(this);"> |
| | | <option selected="selected">2024å¹´</option> |
| | | <option>2023å¹´</option> |
| | | <option>2019å¹´</option> |
| | | <option>2015å¹´</option> |
| | | <option>2010å¹´</option> |
| | | </select> |
| | | <object id="SGWorld" classid="CLSID:3a4f9199-65a8-11d5-85c1-0001023952c1"></object> |
| | | </body> |
| | | </html> |