35 lines
1.0 KiB
HTML
35 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<title>公告详细页</title>
|
|
<meta charset="utf-8" />
|
|
|
|
<script src="/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<script>
|
|
function GetQueryString(name) {
|
|
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
|
|
var r = window.location.search.substr(1).match(reg);
|
|
if (r != null) return unescape(r[2]); return null;
|
|
}
|
|
|
|
$(function () {
|
|
var ifm = document.getElementById("iframe1");
|
|
ifm.height = document.documentElement.clientHeight;
|
|
var id = GetQueryString("id");
|
|
if (id != null) {
|
|
var url = "http://" + window.location.host + "/Base/Notice/Detail?id=" + id;
|
|
$("#iframe1").attr("src", url);
|
|
}
|
|
});
|
|
|
|
</script>
|
|
<iframe id="iframe1" width="100%" height="100%" scrolling='auto' frameborder='0' src=''></iframe>
|
|
|
|
</body>
|
|
|
|
</html>
|