-%# $Id: help.html,v 1.2 2006-12-04 15:41:23 mike Exp $
+%# $Id: help.html,v 1.3 2006-12-05 12:24:51 mike Exp $
<%args>
$help
</%args>
Not that I know of, other than using javascript.
-Nice one, W3C! Way to improve portability!
+Nice one, W3C! Way to improve cross-browser portability!
</%doc>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html
<head>
<title>IRSpy help: <% $help %></title>
<style type="text/css">
- body { background: #ffffc0; font-size: small }
+ body { background: #ffffc0 }
+ h1 { background: #d4e7f3; padding: 0.25em 0.5em;
+ font-size: 150%; text-align: center }
ul.gappy li { margin-top: 1em }
+ .small { font-size: small }
</style>
<script type="text/JavaScript">
function sendOpener (relativeURI) {
- /*alert(opener.document.location.host + relativeURI);*/
+%# alert(opener.document.location.host + relativeURI);
opener.document.location = relativeURI;
}
</script>
</head>
<body>
<h1>IRSpy help: <% $help %></h1>
-% $m->comp("/help/$help.html");
+% my @path = split /\//, $help;
+% foreach my $i (0 .. $#path) {
+% $m->comp("/help/" . join("/", @path[0..$#path-$i]) . ".html");
+% }
<p>
<input type="button" onclick="self.close()" value="OK"/>
</p>