Philip Kirkbride
Philip Kirkbride

Reputation: 22879

jQuery mobile fixed toolbar workaround for BlackBerry?

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.

enter image description here

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.

enter image description here

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

Answers (1)

Rince Thomas
Rince Thomas

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

Related Questions