Reputation: 22879
I'm building a webworks application using jquery mobile.
I want to use the jQuery mobile fixed toolbar but it doesn't seem to be supported in BB7.
Does anyone know of a work around to get a similar toolbar behaviour in BB7?
EDIT:
This is the application with fixed header + footer in Android, works on all models I've tested.
This is how it works on the 9860 on BB 7.1. I can confirm the same problem happens on the following devices BB7.1(9860, 9810, 9320), BB6(9700). Those are all I've tested so far.
Though the attribute does work on BB7.1(9930) & BB7(9930) as @JasonDScott points out. I've also found it to work on BB7(9360-ATT).
Upvotes: 2
Views: 1344
Reputation: 4158
try this -
$(document).bind("pagecreate", function()
{
$.support.cors = true;
$.mobile.allowCrossDomainPages = true;
$("[data-role=header]").fixedtoolbar({ tapToggle: true });
$("[data-role=footer]").fixedtoolbar({ tapToggle: true });
$("[data-position='fixed']").fixedtoolbar('show');
});
Upvotes: 1