Ok..question..

DynAPI.setLibraryPath('src/lib/');
DynAPI.include('dynapi.api.*');
DynAPI.include('dynapi.event.*')
DynAPI.include('dynapi.gui.loadpanel.js');

DynAPI.onLoad=function() {
        lp = new LoadPanel();
        lp.setSize(390,190);  // height will be overwritten by default
    
    lp.moveTo(xpos,ypos);

        counter = 0;
        var el = new EventListener();
        el.onload = function(e) {
                status = 'got load event '+ counter++;
        }
        lp.addEventListener(el);
        
        DynAPI.document.addChild(lp);
}

<div position:relative....>
<img src='blank.gif'>
text text text>
</div>

how do I get the .x .y position of blank.gif and move lp to that position?
How should I define xpos and ypos?

thanks

Wren

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

Reply via email to