Hi,

I use Firefox 0.9.3, and I don't try the cvs version, should I ?

I found a solution :

  I use loadpanels, this loadpanels are included in PanelBar objects, and
panelbars in stackers.

To have this working I added a little function in gui/panelbar.js, to update the
size of the panelbar, after each loadpanel content change. So 
I take the resize event on the loadpanel, and each time the loadpanel size
change I call the function un panelbar.js to update the height of panel bar.

but now it's quite slow on my browser, so if someone have a better solution
i'll be greatly apreciated.

see : http://www.netbadri.com/dynap/dynapi3x/examples/momch.html

function in panelbar.js :

------------------------------------
p.setH = function( h )
{               
                        
  if(!h && typeof(this._lyrcnt) == 'object' )
  {     
    this.setHeight(this._lyrcnt.getHeight());
    this.h=this._lyrcnt.getHeight();
    this._h=this._lyrcnt.getHeight();
  }
    
  if( h )
  {
    this.setHeight(h);
    this.h=h;
    this._h=h;
  }

  if( this._minimized )
      this.setHeight(this._mnuheight);
  else  
      this.setHeight(this._h);
}       

------------------------------------

thank you.

Selon Leif W <[EMAIL PROTECTED]>:

> Hi!
> 
> Which browser?  Have you tried the CVS version of DynAPI 3x?  Can you
> show some simple example code?  Might help to refresh my memory.  I'm
> not 100% sure how to answer.  :p  I somewhat helped debug a few small
> things with Stacker but it was a long long time ago and I forget.
> 
> Leif
> 
> ----- Original Message ----- 
> From: "Mohamed Badri" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, November 03, 2004 12:26
> Subject: [Dynapi-Help] stacker and panelbar
> 
> 
> > Hello,
> >
> > I use stacker and panelbars to display dynamic content generated by
> > php scripts.
> >
> > How can I change the panelbar height to the size of his content ?
> >
> > In my example the panel bar include an iframe, and this iframe refresh
> his html
> > content each 60 seconds.
> >
> > Can I change the panelbar size, and reload the stacker ?
> >
> > I use dynapi3x.
> >
> > thank you.
> >
> >
> >
> > ---------------------------
> > http://webmail.netbadri.com
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Sybase ASE Linux Express Edition - download now for FREE
> > LinuxWorld Reader's Choice Award Winner for best database on Linux.
> > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/dynapi-help


---------------------------
http://webmail.netbadri.com


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to