John,
I think this group (iphonewebdev) is focused on using web technologies (iUI, jQuery Mobile, jQTouch, Sencha Touch, etc) and targeting Safari or an embedded-browser platform like Phonegap or Titanium Mobile (both of which enables you to use web tech and sell your app on Apple’s AppStore). If you’d like to try the more traditional DashCode/Apple route, you’ll probably find more help on one of apple’s lists, hosted at http://lists.apple.com. I did a quick search through their lists <http://lists.apple.com/mailman/listinfo> , but I couldn’t easily/immediately spot one that was iPhone or iOS related. -- peter From: [email protected] [mailto:[email protected]] On Behalf Of John Michael Biddulph Sent: Wednesday, February 09, 2011 9:43 AM To: [email protected] Subject: Re: show a list and then go into detail Yeah true Remi, I started using iUI but I wanted to learn DashCode... to build Applications and become an apple developer and sell my apps?! John On 9 February 2011 14:21, Remi Grumeau <[email protected]> wrote: Why not using iUI? Just generate county list <li><a> with php, and link them using a plain href="?county=xxx", and generate those pubs the same way? That would be done in 10min... R. On 9 févr. 2011, at 11:45, "[email protected]" <[email protected]> wrote: > hi, > > I am using DashCode, > my program that I am building currently showing a list of Counties in > the UK. > When I click on a County, ie; Aberdeenshire - I would then expect to > show a list of pubs in that County (coming from my PHP page in same > way I am showing Counties) > > What is actually happening... it shows a list of counties but when you > click select a county, DashCode errors and says: > > Can't find variable: Aberdeenshire > > and It stops the simulator, I want it to go onto View4 of the > StackLayout > > here is my relevant code: > > top of HTML page: > [code] > $.getJSON('http://www.mypubspace.com/dashtest/countyjson.php', > function(data){ > var myhtml = '<ul>'; > for(i=0; i<data.length; i++) { > myhtml += '<li onclick=\"mymethod('+data[i].County+');\">' + > data[i].County + '</li>'; > } > myhtml += '</ul>'; > $("#countyshow").html(myhtml); > > }); > [/code] > > mymethod function > [code] > function mymethod(County) { > var County = document.getElementById('County').object; > var stackLayout = document.getElementById('stackLayout').object; > stackLayout.setCurrentView('view4'); > } > [/code] > > -- > 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] > <mailto:iphonewebdev%[email protected]> . > For more options, visit this group at > http://groups.google.com/group/iphonewebdev?hl=en. > -- 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] <mailto:iphonewebdev%[email protected]> . For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en. -- 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. -- 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.
