Heres some vectors that I've found, untested.
div.navbar {
left: 0px;
position: fixed;
top: 0px;
width: 100%;
z-index: 100;
}
Jeff Atwood has some intresting things on the subject of framing, that
might help us out also:
http://www.codinghorror.com/blog/archives/001277.html
On Mon, Nov 2, 2009 at 5:36 AM, Samuel <[email protected]> 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 <[email protected]> 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 ?
>>
>> > 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....
>>
>> ..............................................................
>>
>> Interface Design & Developmentwww.davidkaneda.com
>> 610 724 8033
> >
>
--
Thank you for your time,
Lt. Mark 'Dygear' Tomlin (2922);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---