We are developing hybrid app using IBM MobileFirst 7.0 and dojox 1.8 as scripting language.
i am facing problem with UI Header and Footer which are not fixed in windows and iphone but the same code is working fine with Android.
i.e, For heading, we used tag and gave data-dojo-props:"fixed:top"
for heading.
For footer, we used tag and gave data-dojo-props:"fixed:bottom"
for footer.
please can any suggest for solution?
<div data-dojo-type="dojox.mobile.ScrollableView" id="Login_en_View_Id"
data-dojo-props="selected:false">
<h1 class="test" data-dojo-type="dojox.mobile.Heading" data-dojo-props="fixed:'top'"></h1>
<div class="margin">
<label >Text:</label> <input class="clearFields"
data-dojo-type="dojox.mobile.TextBox" >
<label>Code</label> <input class="clearFields"
data-dojo-type="dojox.mobile.TextBox">
<button data-dojo-type="dojox.mobile.Button" class="englishFont">Login</button>
<button data-dojo-type="dojox.mobile.Button" class="englishFont">REGISTER</button>
</div>
<h2 class="test1" data-dojo-type="dojox.mobile.Heading" data-dojo-props="fixed:'bottom'"></h2>
</div>
Css code:
.test{
height: 42px;
display: table;
line-height: 0px;
}
.test1{
height: 44px;
}