[Mozile] Newbie needs help setting up mozile.
Ian Hobson
ian at ianhobson.co.uk
Sat Jul 22 21:51:31 EDT 2006
Hi all,
I'm testing mozile, and I can't even *see* the editable part of the web
page to click on it!
All I get to see is the content outside the editor div.
I unzipped 7.5 to /mozile in my webpages dir,
and edited core/mozile.js as per my understanding of instructions.
The page is rather minimal - thus:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Test Page</title>
<meta name="Description" content="A test file" />
<script type="application/x-javascript" src="/mozile/core/mozile.js" />
</head>
<body>
<h1>A test file</h1>
<div class="editor">
<p>This might be editable if I could see it</p>
</div>
</body>
</html>
It validates.
When I navigate away, I do get prompted by the JS. I am using Firefox
1.5.0.4 and it tells me that the following javascripts are loaded
JavaScript - http://localhost/test.htm
http://localhost/test.htm
http://localhost/mozile/core/mozile.js
/*Copyright (C) 2006 The Mozile Team. See http://mozile.mozdev.org/ for
details.*/
var mozileScriptSource="/mozile/";
var mozileOptions="";
var mozileInterface=true;
var mozileModules=["UndoRedo",
"CopyCutPaste: requestPermissions=false",
"XHTMLBasic",
"LocalFile",
"HTTPPost: url='http://5.54.17.197/scripts/save.php', default=true",
];
var XHTMLNS="http://www.w3.org/1999/xhtml";
function mozileConfiguration(){
[I've snipped the actual javascript, leaving the bit I edited above.
Other JS files loaded are...]
http://localhost/mozile/core/core.js
http://localhost/mozile/core/interface.js
http://localhost/mozile/modules/UndoRedo/UndoRedo.js
http://localhost/mozile/modules/CopyCutPaste/CopyCutPaste.js
http://localhost/mozile/modules/XHTMLBasic/XHTMLBasic.js
http://localhost/mozile/modules/LocalFile/LocalFile.js
http://localhost/mozile/modules/HTTPPost/HTTPPost.js
Inline Script from http://localhost/test.htm
mozile.loaded()
My conclusion is that things are loading properly.
The http://5.54.17.197/scripts/save.php does not exist - but I didn't
get that far. O/S is Windows 2K, with all patches up to Last Sunday.
Server is xitami running on this machine. It has three IPs - 127.0.0.1,
192.168.0.73, and 5.54.17.197.
Zone alarm shows nothing stopped.
Has anyone any idea what silly mistake I've made? Thanks.
Ian
More information about the Mozile
mailing list