I have a Dojo dialog that is opened when a user clicks on an element on the page.
I want control the location it opens at ....really I want it to open beside (relative to) the other dom element clicked on.
But I can seem to figure out how to do either of the above.
Thank for any advice.
I'd take a loot at the
Tooltip
doc for Dojo. I've never had experience with Dojo, but here are some links that should help you get started.Dojo Dijit Dialog relative position. is it possible?
http://livedocs.dojotoolkit.org/dijit/TooltipDialog
http://mail.dojotoolkit.org/pipermail/dojo-interest/2011-May/054581.html
Open an dialog with dojo relative to click position:
The visibility trick is needed for dialog not hop