Load advisory message in dashboard

- Current implementation uses a local file, publish it on orcharproject.net later

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2010-09-29 11:07:19 -07:00
parent 420baa7289
commit c6303e9477
7 changed files with 85 additions and 9 deletions

View File

@@ -0,0 +1,14 @@
<html>
<body onload="iframeResizePipe()">
<iframe id="helpframe" src="" frameborder="0" width="0" height="0"></iframe>
<script type="text/javascript">
function iframeResizePipe() {
var height = document.body.scrollHeight;
var helpFrame = document.getElementById('helpframe') || frames['helpframe'];
helpFrame.src = 'Admin/DashboardProxy' + '#' + height;
}
</script>
<!-- Your advisory message here -->
</body>
</html>