hello there :)

came upon another "inline" question while diggin' dynapi 2...
colleagues, dynapi 2 is VERY inline-code-unfriendly, dare me say... no
examples, no compelling docs...

well, what i am trying to do now is to

1) have an internal <div> somewhere in my code. imagine:

<table>
<tr><td>
bla bla
</td></tr>
<tr><td>
   <table>
   <tr><td>
   <div mydiv>111</div> <---- inline !
   </td><tr>
   </table>
</td></tr>
</table>

2) i want to preload some html and put it instead of mydiv
what do i do:
a) initialize a new layer from my old one via getAll
b) set it's properties - i can change nearly everything inline, even
the color or the contents with innerHTML, but when
c) i try to do the setURL thing, i get "this object does not support
bla bla". you know the things.

any suggestions ?

why do you need inline divs, you may ask ? well imagine i'm trying to
emulate "frames" in browser, only with divs. i do not want my layers
to overlap some other content, hence floating divs are not an option.

by the way, another thing with inline image swapping - i still can't
figure out how to swap INLINE images with their rollover versions by
referencing not the URL (which is the only documented option sofar)
but referencing the already preload-ed rollover-images by their names.
dynapi 1 was very simple about inline code (tricky stuff with inline
layer loading, i remember it right, but well it was documented and it
worked fine). any suggestions on there issues ?

peace,
x.

http://xmypoe.com


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to