|
the standard dynapi.gui.viewport.htm doesnt work in the
examples directory
it either comes up with a 'Label' is not defined, or
'ViewPort' is not defined when the new Label(), new Viewport() commands are
called so obviously the dynapi javascript setup code hasn't executed by this
time.
thanks
joe
I've
been using DynAPI fine with PWS. Granted, most of my pages contain asp
code as well, and are non-cached, so I'm not sure why it's not working.
If joe could include a little cample of what's not working, perhaps I could be
of more help.
The strange thing is, that if you run the files
locally, just off your C-drive, without
a server, they work ok - also on fast pc.
Maybe they try to load the files into cache from PWS, this takes a
little time, and the code already starts executing, but normally the closing
and opening <script> tags after the file including is meant to make
the script wait 'till all files are in cache.
Strange.
I gave up on PWS when I upgraded to winME, and it no longer worked, so
I can't really help, maybe someone else is using pws with DynAPI?
Cheers, Richard Bennett
----- Original Message -----
Sent: 05 June, 2001 00:38
Subject: [Dynapi-Help] re: dynapi,
ie5, pws etc
i'm home now and i've tested the dynapi
locally.
when i run a page like dynapi.gui.viewport.html
i get an error.....Label is not defined , from new Label()
command.
however if i do a CTRL+N to open the page in a
new browser window it works fine.
i can only imagine it maybe something to
do with having a fast machine (733) and it running the javascript faster
than it can load all of the files....although i dont understand
completely how the libraries work so i dont know.
what do you reckon?
can you think of a fix for
this?
thanks
joe
|