I can't upload (or rename) an .htaccess file to my media library, it doesn't like me "uploading active content". I suspect this is a
good thing in general. I don't know how to upload to the site other than with "Add media" though. Is FTP a possibility?
Anyway, the window.open looks like this:
<script type="text/javascript">
function WinkPresentation(file)
{
var myWin = window.open('/uploads/geewhiz/' + file,'GeeWhiz Movie','resizable=1,scrollbars=1');
}
</script>
and a sample .html file would be this (if I can get this to work, I can get the real one to work) called test.html in my /uploads/geewhiz directory:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "
http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>test window</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8">
<meta http-equiv="content-style-type" content="text/css">
</head>
<body>
this is a test
</body>
</html>
It opens in a window, but it opens as a text file (i.e. the html source is printed, not the rendered html page).
Thanks for your help on this, and nice work with Serendipity, I enjoy using it.
Mark Hull