Well, hmm. I'm not sure how you are opening a widget from a widget but, if you are using what it says to do on the demo page, you are assigning it a variable name or it already has one, example:
Code:
var inlinewin=dhtmlwindow.open("broadcastbox", "inline", "This is some inl . . .
That particular widget will from then on be known as:
inlinewin
So, whatever you do to launch it, if it isn't 'on top', you can bring it forward like so:
Code:
inlinewin.style.zIndex++;
So, say you launched from another widget like so:
Code:
<a href="#" onclick="inlinewin.show(); return false">Show Window 2</a>
But, it ended up being behind the widget that launched it. You could add to the command:
Code:
<a href="#" onclick="inlinewin.show();inlinewin.style.zIndex++; return false">Show Window 2</a>
Bookmarks