mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
fixing google frame installation jsp
This commit is contained in:
parent
760ccd3754
commit
fdf3b34959
@ -323,5 +323,9 @@ NO_HISTORY_RESULTS= No History Information was found.
|
|||||||
HISTORY_INFO = Here is the list of the last revisions of you map.
|
HISTORY_INFO = Here is the list of the last revisions of you map.
|
||||||
REVERT=revert
|
REVERT=revert
|
||||||
SAMPLE_MAPS=Sample Maps
|
SAMPLE_MAPS=Sample Maps
|
||||||
|
INSTALL_CFG=Install Google Chrome Frame
|
||||||
|
INSTALL_CFG_REASON = Since you are using Internet Explorer 8 or previous, you need to install Google Chrome Frame. This is a plugin made by Google that will allow you to see SVG in your browser.
|
||||||
|
INSTALL_CFG_BROWSERS=This plug in is not necessary for Internet Explorer 9, or any other browser.
|
||||||
|
INSTALL_CFG_CLICK_HERE=To download click here
|
||||||
|
|
||||||
INVALID_EMAIL_ERROR = The e-mail was not verified
|
INVALID_EMAIL_ERROR = The e-mail was not verified
|
||||||
|
@ -1,33 +1,62 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<%@page pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="tiles" uri="http://struts.apache.org/tags-tiles" %>
|
||||||
|
<%@ include file="/jsp/init.jsp" %>
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<title>
|
||||||
|
<spring:message code="SITE.TITLE"/>
|
||||||
|
-
|
||||||
|
<spring:message code="INSTALL_CFG"/>
|
||||||
|
|
||||||
|
</title>
|
||||||
|
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="../css/wisehome.css"/>
|
||||||
|
<link rel="icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon"/>
|
||||||
|
<link rel="shortcut icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon"/>
|
||||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script>
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
|
src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div style="width:100%; font-size:130%;">
|
|
||||||
you need to install Google Chrome Frame.
|
<jsp:include page="header.jsp"/>
|
||||||
<br/>
|
|
||||||
<div id="div"> click here</div>
|
<div class="pageBody">
|
||||||
|
|
||||||
|
<div class="pageBodyContent">
|
||||||
|
<div style="width:100%; font-size:130%;">
|
||||||
|
<spring:message code="INSTALL_CFG_REASON"/>
|
||||||
|
<br/><br/>
|
||||||
|
<span style="font-size:20px; font-weight:bold;"><spring:message code="INSTALL_CFG_BROWSERS"/></span>
|
||||||
|
<br/><br/>
|
||||||
|
<div id="div" style="text-decoration:underline; cursor:pointer; color:blue;"><spring:message code="INSTALL_CFG_CLICK_HERE"/></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="prompt">
|
||||||
|
<!-- if IE without GCF, prompt goes here -->
|
||||||
|
</div>
|
||||||
|
<script>
|
||||||
|
// The conditional ensures that this code will only execute in IE,
|
||||||
|
// Therefore we can use the IE-specific attachEvent without worry
|
||||||
|
$(document).ready(function(){
|
||||||
|
$("#div").click(function(event){
|
||||||
|
$(".chromeFrameOverlayContent").css("display","block");
|
||||||
|
$(".chromeFrameOverlayUnderlay").css("display","block");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
window.attachEvent("onload", function() {
|
||||||
|
CFInstall.check({
|
||||||
|
mode: "overlay" // the default
|
||||||
|
});
|
||||||
|
$(".chromeFrameOverlayContent").css("display","none");
|
||||||
|
$(".chromeFrameOverlayUnderlay").css("display","none");
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="prompt">
|
<jsp:include page="footer.jsp"/>
|
||||||
<!-- if IE without GCF, prompt goes here -->
|
|
||||||
</div>
|
|
||||||
<script>
|
|
||||||
// The conditional ensures that this code will only execute in IE,
|
|
||||||
// Therefore we can use the IE-specific attachEvent without worry
|
|
||||||
$(document).ready(function(){
|
|
||||||
$("#div").click(function(event){
|
|
||||||
$(".chromeFrameOverlayContent").css("display","block");
|
|
||||||
$(".chromeFrameOverlayUnderlay").css("display","block");
|
|
||||||
});
|
|
||||||
});
|
|
||||||
window.attachEvent("onload", function() {
|
|
||||||
CFInstall.check({
|
|
||||||
mode: "overlay" // the default
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user