Don't need a submit button on the iPhone. I left it off of my search form in my iPhone app and it's not missed at all. The iPhone has a "search" button on the keyboard that submits the form's data. So the graphic isn't a submit button, it's just a graphic to denote the type of field it is.
Yeah, I didn't know what to make of their 'samples.' I wrote to them that they seemed more like Javascript 101 examples than how to make killer apps work on the iPhone. -=Randy On 8/7/07 4:39 PM, "GavinEadie" <[EMAIL PROTECTED]> wrote: > > Of course the challenge never stops! > > I now note that there is no 'submit' in the Apple demo, so I think it > must be set up to have the iconic right end of the input actually be a > button tucked snuggly into the edge of the input field so it looks > like one component. > > Apple has made two demo iPhone webapps available as sample code on > their dev web site, but they are pretty trivial games -- I need to ask > if they will let the keynote application out as a sample. > > On Aug 7, 5:22 pm, Randy Walker <[EMAIL PROTECTED]> wrote: >> HA! I've never noticed/used 'placeholder' before. What a great little >> find, thanks! I've always used a little onfocus/onblur javascript to check >> if someone typed something or not. I'll take that in place of the beer. >> >> -=R >> >> On 8/7/07 1:23 PM, "GavinEadie" <[EMAIL PROTECTED]> wrote: >> >> >> >>> ... and using placeholder, viz: >> >>> <input type="text" placeholder="enter name" name="textfield" >>> class="custom_field" /> >> >>> makes it a little nicer still ! >> >>> On Aug 7, 3:30 pm, Randy Walker <[EMAIL PROTECTED]> wrote: >>>> You're welcome. I've been meaning to throw together some sort of blog >>>> entry >>>> or tutorial on different way's I've used -webkit-border-image. This sort >>>> of >>>> kicks it off. >>>> -=Randy >> >>>> On 8/7/07 12:25 PM, "GavinEadie" <[EMAIL PROTECTED]> wrote: >> >>>>> Nice of you. Many thanks, I was struggling to get it right, and about >>>>> to give up for the day! Have a beer on me! >> >>>>> On Aug 7, 2:23 pm, Randy Walker <[EMAIL PROTECTED]> wrote: >>>>>> Gavin, >> >>>>>> I took your screen shot, redrew the gray line around it, and cut it up to >>>>>> make it useable as a -webkit-border-image. You'll have to view it in >>>>>> Safari >>>>>> desktop or iPhone to see the image. >> >>>>>> Go here to see how you can use it in your >>>>>> site:http://cleverdaddy.com/customsearch >> >>>>>> -=Randy >> >>>>>> On 8/7/07 10:12 AM, "GavinEadie" <[EMAIL PROTECTED]> wrote: >> >>>>>>> In the application shown at the iPhone introduction and at WWDC there >>>>>>> is an application which browses the Apple on-line directory. It has a >>>>>>> text input element I want to use, or emulate. >> >>>>>>> I've uploaded a screenshot of it: >> >>>>>>> http://iphonewebdev.googlegroups.com/web/iphone-form-query.tiff >> >>>>>>> It has slightly rounded corners (no problem), grey prompting text (no >>>>>>> problem), and a blue right end that has an icon in it (how do you do >>>>>>> that?). Or is it two adjacent elements that look like one? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
