javascript - dojox/widget/Toaster to show latest one first -


i'm using dojox/widget/toaster show toaster message, have declared as,

<div data-dojo-type="dojox/widget/toaster" id="toast2"                         data-dojo-props='positiondirection:"br-up", messagetopic:"/app/notif", duration:"8000"'>                                 </div> 

and im calling javascript different places as,

connect.publish('/app/notif', [ "<b><font color=\"red\">"+ "toaster message" +". </font></b>" ]); 

but im able see latest message on bottom of toaster,

i need @ top, can suggest how it.

try use tr-down instead of br-up property positiondirection.

options positiondirection message slides screen are:

["br-up", "br-left", "bl-up", "bl-right", "tr-down", "tr-left", "tl-down", "tl-right"]

if issue persists, please consider disable custom css on toaster if any, debug porpoises.

api documentation toaster:

http://dojotoolkit.org/api/?qs=1.10/dojox/widget/toaster


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -