I know it's not possible (or hacky solutions) to have a toolbar (at
the bottom of the screen), but I wonder if it's possible to keep the
navbar (with the back button) visible while scrolling.
I tried a fixed div containing my list with scrollbar, but it's not
working and it makes very strange results.
I use JQtouch, but looks like it's not working with IUI too.
Does anybody managed to get a fixed navbar at the top of the screen ?
Here is an extract of my code
div.fixed {
position: static;
top: 30px;/* size of my navbar*/
width: 320px;
height: 450px;
overflow: scroll;
}
html :
<div class="fixed">
<ul class="edgetoedge">
<li><a href="#">Flintstone, <em>Fred</em></a></li>
<li><a href="#">Flintstone, <em>Pebble</em></a></li>
<li><a href="#">Flintstone, <em>Wilma</em></a></li>
<li class="sep">J</li>
<li><a href="#">Jetson, <em>Elroy</em></a></li>
<li><a href="#">Jetson, <em>George</em></a></li>
<li><a href="#">Jetson, <em>Jane</em></a></li>
<li><a href="#">Jetson, <em>Judy</em></a></li>
<li class="sep">R</li>
<li><a href="#">Rubble, <em>Bambam</em></a></li>
<li><a href="#">Rubble, <em>Barney</em></a></li>
<li><a href="#">Rubble, <em>Betty</em></a></li>
<!-- ...And a lot more data -->
</ul>
<div>
Nb : it works in safari, but not in the iPhone....
This isn't much help, I know, but the reason we can't get a toolbar
(sans hack) to work is the same as the nav bar: The phone just doesn't
support position fixed. For the time being, you'll need to investigate
one of the hack solutions to get this working.
> I know it's not possible (or hacky solutions) to have a toolbar (at
> the bottom of the screen), but I wonder if it's possible to keep the
> navbar (with the back button) visible while scrolling.
> I tried a fixed div containing my list with scrollbar, but it's not
> working and it makes very strange results.
> I use JQtouch, but looks like it's not working with IUI too.
> Does anybody managed to get a fixed navbar at the top of the screen ?
> This isn't much help, I know, but the reason we can't get a toolbar
> (sans hack) to work is the same as the nav bar: The phone just doesn't
> support position fixed. For the time being, you'll need to investigate
> one of the hack solutions to get this working.
> Best,
> Dave
> On Oct 30, 2009, at 6:22 AM, Samuel wrote:
> > Hi all !
> > I know it's not possible (or hacky solutions) to have a toolbar (at
> > the bottom of the screen), but I wonder if it's possible to keep the
> > navbar (with the back button) visible while scrolling.
> > I tried a fixed div containing my list with scrollbar, but it's not
> > working and it makes very strange results.
> > I use JQtouch, but looks like it's not working with IUI too.
> > Does anybody managed to get a fixed navbar at the top of the screen ?
On Mon, Nov 2, 2009 at 5:36 AM, Samuel <samuel.miche...@gmail.com> wrote:
> Thanks David for your answer !
> Ok, I was thinking about that too, but with a little hope ;-)
> Hope one day Apple will make it possible (and also remove the touch
> delay ;-) )
> Best,
> Samuel
> On Oct 30, 12:44 pm, David Kaneda <d...@morfunk.com> wrote:
>> Samuel,
>> This isn't much help, I know, but the reason we can't get a toolbar
>> (sans hack) to work is the same as the nav bar: The phone just doesn't
>> support position fixed. For the time being, you'll need to investigate
>> one of the hack solutions to get this working.
>> Best,
>> Dave
>> On Oct 30, 2009, at 6:22 AM, Samuel wrote:
>> > Hi all !
>> > I know it's not possible (or hacky solutions) to have a toolbar (at
>> > the bottom of the screen), but I wonder if it's possible to keep the
>> > navbar (with the back button) visible while scrolling.
>> > I tried a fixed div containing my list with scrollbar, but it's not
>> > working and it makes very strange results.
>> > I use JQtouch, but looks like it's not working with IUI too.
>> > Does anybody managed to get a fixed navbar at the top of the screen ?