Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
PhoneGap with bottom tab bar
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kris Ziel  
View profile  
 More options Feb 17 2009, 7:43 pm
From: Kris Ziel <krisz...@mac.com>
Date: Tue, 17 Feb 2009 16:43:16 -0800 (PST)
Local: Tues, Feb 17 2009 7:43 pm
Subject: PhoneGap with bottom tab bar
Have any of you found a way to implement the PhoneGap functionality/
framework in an app with the tab bar? I so I would greatly appreciate
help implementing it in my app.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rborn  
View profile  
 More options Feb 17 2009, 7:54 pm
From: rborn <dan.ta...@gmail.com>
Date: Tue, 17 Feb 2009 16:54:51 -0800 (PST)
Local: Tues, Feb 17 2009 7:54 pm
Subject: Re: PhoneGap with bottom tab bar
You can do this directly in html, only if you don't need some other
stuff

On Feb 18, 1:43 am, Kris Ziel <krisz...@mac.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Prescod  
View profile  
 More options Feb 17 2009, 7:55 pm
From: Paul Prescod <pres...@gmail.com>
Date: Tue, 17 Feb 2009 16:55:04 -0800
Local: Tues, Feb 17 2009 7:55 pm
Subject: Re: [PhoneGap] PhoneGap with bottom tab bar
This is what I did in my experiments (not production quality yet):

CSS:

div.button_bar{
    display: block;
    position: absolute;
    margin: 0;
    padding: 0;
    left: 0;
    top: 412px;
    width: 100%;
    height: 50px;
    min-height: 0px !important;

}

div.button_bar > img {
    margin: 0;
    padding: 0;
    display: inline;
    background-repeat: no-repeat;
    background-position: center top;
    position: relative;

}

HTML:

    <div class="button_bar">
        <img src="first_button.png" onclick="alert('foo')"
             /><img src="second-button.png" onclick="alert('foo')"
            /><img src="third-button.png" onclick="alert('foo')"
            /><img src="fourth-button.png" onclick="alert('foo')" />
    </div>

I did that weird stuff with the tags to avoid whitespace between them
(there are other ways to do that but...I was hacking)

Also my button graphics include the two-tone black background in them.
That's another thing I will do differently as my app evolves.

I would love to see this button bar stuff added to magic framework or
iUI or both.

You'll probably also want to turn off dragging on that bar.

 * http://phonegap.pbwiki.com/Preventing-Scrolling-on-iPhone-Phonegap-Ap...

That's what I figured out hacking over the weekend. If that isn't
enough to get you going, then I can clean up my project to remove
proprietary information and send it over. But like I said I took a
bunch of short-cuts.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kris Ziel  
View profile  
 More options Feb 17 2009, 8:18 pm
From: Kris Ziel <krisz...@mac.com>
Date: Tue, 17 Feb 2009 17:18:41 -0800 (PST)
Local: Tues, Feb 17 2009 8:18 pm
Subject: Re: PhoneGap with bottom tab bar
The problem is that the tab bar in HTML also scrolls with the page.  I
have tried to implement the tab bar directly into the MainWindow XIB
file to no avail.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kazoomer  
View profile  
 More options Feb 17 2009, 8:39 pm
From: kazoomer <kazoo...@gmail.com>
Date: Tue, 17 Feb 2009 17:39:45 -0800 (PST)
Local: Tues, Feb 17 2009 8:39 pm
Subject: Re: PhoneGap with bottom tab bar
I think you want to have a container div or stage div that takes up
the entire screen except your footer with an overflow:hidden on it.
Then do prevent default on the body.

And add your footer div below the container with a position:fixed

I hope this helps.

Rob Ellis
Phonegap.com
Nitobi.com
Git: silentrob

On Feb 17, 5:18 pm, Kris Ziel <krisz...@mac.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »