Re: AxWebBrowser true document size problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



gregl wrote:
> While offsetHeight and offsetWidth are available via
> Javascript, there doesn't appear to be any way of
> accessing those values via the DHTML Object Model, which
> is what I am using, since the point where I require the
> values is in my C# code not my Javascript. It appears
> that some values have been omitted from the Object Model
> and others are initialized incorrectly or not at all. Is
> this a bug or am I missing something here?

I'm not sure I'm following you. DHTML Object Model is a set
of defined HTML objects with their properties, methods,
events, etc. Everything you can access from JavaScript you
also can access from host (be it C++ or other lang
implementation). What client side JavaScript can access is
subset of what host can access.

I host WebBrowser in C++ application and I can access any
element of HTML document and examine/change its properties.

Here's reference of document object:

"document"
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_document.asp


.



Relevant Pages

  • Re: JavaScript Interpreters/Engines?
    ... Are their any JavaScript Execution Engines out their? ... SpiderMonkey is a JavaScript engine. ... language but about APIs. ... I understood the OP that they want to expose the object model as an API to ...
    (comp.lang.javascript)
  • What are Document Object Models?
    ... An Object Model is provided by a host system to allow JavaScript ... Active Server Pages, Server Side JavaScript, and Windows Script Host. ...
    (comp.lang.javascript)
  • Re: AxWebBrowser true document size problem
    ... See the sample code that I provided in my first post. ... expose the offsetHeight or offsetWidth. ... whether it is defined in the Object Model or not. ... >> values is in my C# code not my Javascript. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: remove separated items from an array?
    ... I would design an object model that represent ... represent the data in JavaScript. ... Sounds like a queue of sets of questions, ...
    (comp.lang.javascript)
  • Re: AxWebBrowser true document size problem
    ... While offsetHeight and offsetWidth are available via Javascript, ... doesn't appear to be any way of accessing those values via the DHTML Object ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)