dojo - dojox fixed="top" doesnt work, is this the right way to do it? -


i generate heading javascript isn't fixed on top. firebug shows there no fixed="top" in html code.

i way. way it, isn't it?:

var newalarmheading = new dojox.mobile.heading({     id: "headeralarms",     dojotype: "dojox.mobile.heading",     back: "zurück",     moveto: "previousdivnode",     fixed: "top",     label: "meldungen", }); newalarmheading.placeat("divalarms",'first'); 

please see answer other (related) question: https://stackoverflow.com/a/16604456/1723384 in particular, can try getting inspiration test file i've pointed in answer.

i add shouldn't put dojotype attribute heading's constructor argument. markup case, when create widgets declaratively in html. way, latest dojo releases (starting 1.7 if remember well), should use html5-compatible "data-dojo-type" attribute instead of old dojotype (see http://dojotoolkit.org/reference-guide/1.9/dojo/parser.html ). but, again, declarative creation of widgets, not programmatic creation.

hope helps, adrian


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -