parent html code...
Code: Select all
<div>
<a href="/test/" onclick="return hs.htmlExpand(this,{objectType:'iframe', width:440} )">TEST</a>
</div>
Code: Select all
print qq~Content-type: text/html
<!DOCTYPE html>
<html>
<head>
<title>Test Page</title>
<meta http-equiv="Content-Type" content="text/html">
<link rel="stylesheet" type="text/css" href="/js/highslide/highslide.css" />
<script type="text/javascript" src="/js/highslide/highslide-with-html.js"></script>
<script type="text/javascript">
hs.graphicsDir = '/js/highslide/graphics/';
</script>
<script type="text/javascript">
hs.preserveContent = false;
</script>
<script type="text/javascript">
setTimeout(function () {
try {
parent.window.hs.getExpander().close();
} catch (e) {}
}, 3000);
</script>
</head>
<body>
This is a test...
</body>
</html>
~;