sueyic@gmail.com wrote:
[color=blue]
> Your website looks like it could be very useful, but I have not
> understood yet how to use it. How do you load a particular web-page to
> be loaded into the ObjectInspector?[/color]
My ObjectInspector (OI) being still alpha, there is an undocumented
feature, ObjectInspector.prototype.include() in objinsp.js (lines 189+),
which includes the OI as an IFrame/ILayer into an HTML document. It takes
two arguments: the URL of the ObjectInspector HTML resource (index.html),
and the options for this OI instance (default: "root=parent").
You can then access the parent window and document through the `parent'
property of `window' (or the Global Object, as specified by the default
options above), provided you access the ObjectInspector from the same
domain or the same second-level domain (for the latter, set
`document.domain' to work around the Same Origin Policy). That is, you
will have to download the index.html and the required script libraries
to your webspace, and link the latter in the former accordingly.
Release 2.0 will be available as a package containing all required files,
that you can download, extract, and use as is. Note that the next Nightly
will be using a CSS-based layout instead of tables, provided I have worked
around all IE's CSS shortcomings by then (I have a CSS-based version on my
local server already that looks fine in Geckos, Operas, and KHTML.)
[color=blue]
> Btw, I like the UI -- the way you've made the website look just like a
> client VB application :)[/color]
Looks like I did something wrong then ;-) It is intended to look like the
current GUI as it uses system colors.[1] VB has nothing to do with that.
PointedEars
___________
[1] <URL:http://www.w3.org/TR/CSS2/ui.html#system-colors>
--
Bill Gates isn't the devil -- Satan made sure hell
_worked_ before he opened it to the damned ...