I found out that our old js on a jump button isn't working anymore ... I cannot figure out why.
The situation:
We have a jump button calling a topic that has an onload-javascript saying that an external browser window is to be opened and in the help it goes back to the last topic. The source code in the text editor:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd">
<head>
<script type="text/javascript">
function onw() {
nw = window.open("http://www.hamburger-software.de/support", "nw");
nw.focus();
}
</script>
</head>
<body onLoad="onw();history.back();"></body>
</html>
Code: Select all
<?xml version="1.0" encoding="Windows-1252"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:tocPath="" MadCap:PathToHelpSystem="../../" MadCap:SearchType="Stem">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /><title>jump_new</title>
<script type="text/javascript">
function onw() {
nw = window.open("http://www.hamburger-software.de/support", "nw");
nw.focus();
}
</script>
<script src="../SkinSupport/MadCapUtilities.js">
</script>
<script src="../SkinSupport/MadCapBody.js">
</script>
<script src="../SkinSupport/MadCapHighlighter.js">
</script>
</head>
<body onLoad="onw();history.back();">
<script type="text/javascript" src="../SkinSupport/MadCapBodyEnd.js">
</script>
</body>
</html>
In RH everything worked ...
What's the reason for the error?
How to get rid of it?