|
From: Ramesh P. <ra...@in...> - 2003-05-19 13:43:41
|
Once upon a time not very long ago, Raymond Irving wrote:
>Firstly do you have the lastest version from CVS?
>
nope, :-(
unfortunately, i'm behind a firewall,
so i'm still testing on doug's alpha build.
>
>Could you please provide a working example?
>
<html>
<head>
<script language="JavaScript" src="../src/dynapi.js"></script>
<script language="Javascript">
dynapi.library.setPath('../src/');
dynapi.library.include('dynapi.api');
</script>
</head>
<body>
<script>
alert(dynapi.document.getWidth()+","+dynapi.document.getHeight());
</script>
</body>
</html>
nothing much was just testing it on various browsers, when i came across
this.
is there an event fired after the body gets loaded ???
best regardz
ramesh pallikara
>--
>Raymond Irving
>
>--- Ramesh Pallikara <ra...@in...>
>wrote:
>
>
>>hi,
>>
>>i'm trying to get the client width and height using
>>the following method
>>
>>dynapi.document.getWidth()
>>
>>works fine in ns and mozilla, but on IE shows the
>>following error
>>
>><warning message>
>>
>>"this.elm.clientWidth" is not an object
>>
>><warning message>
>>
>>guess it's coming from dyndocument.js
>>any solutions ???????
>>
>>best regardz,
>>ramesh pallikara
>>
>>--
>>QOTD:
>> "I've always wanted to work in the Federal Mint.
>>And then go on
>> strike. To make less money."
>>
>>
>>
>>
>>
>>
>>
>-------------------------------------------------------
>
>
>>This SF.net email is sponsored by: If flattening out
>>C++ or Java
>>code to make your application fit in a relational
>>database is painful,
>>don't do it! Check out ObjectStore. Now part of
>>Progress Software.
>>http://www.objectstore.net/sourceforge
>>_______________________________________________
>>Dynapi-Dev mailing list
>>Dyn...@li...
>>
>>
>>
>http://www.mail-archive.com/dyn...@li.../
>
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Search - Faster. Easier. Bingo.
>http://search.yahoo.com
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: If flattening out C++ or Java
>code to make your application fit in a relational database is painful,
>don't do it! Check out ObjectStore. Now part of Progress Software.
>http://www.objectstore.net/sourceforge
>_______________________________________________
>Dynapi-Dev mailing list
>Dyn...@li...
>http://www.mail-archive.com/dyn...@li.../
>
>
>
--
QOTD:
Never criticise a man until you've walked a mile in his shoes.
Then you will be a mile away from him, and you will have his shoes.
|