On 23 okt 2009, at 18:05, mdgbayly <[email protected]> wrote:
> I had similar requirements to add a header and a footer. > > I decided the best way was to push all the iUI managed content into an > additional <div>, so that I could add markup outside of this which > wasn't affected by iUIs page manipulation. But that meant I had to > make some changes to the standard iUI sliding animation and to the > iui.css because it expects the iUI managed views/pages to be direct > children of the <body>. This is exactly what I did for my own application. If I remember correctly I only needed to change iui.js in two locations and move some styles around. Cheers, Niels > I had a go at making this backwards compatible with existing iUI sites > (e.g. the music site). It was fairly easy to make the iui.js > backwards compatible but I ran into issues with the css and after > about a day had to put it on hold and just get on with my real site. > But I would like to try and get back to that and submit some ideas to > the iUI devs. > > In general, I think the main design issue is that the iUI framework > makes lots of assumptions about the iUI managed pages being direct > descendents of the body element. If a <div> container had been added > in the beginning the same affect would have been accomplished, but > things would be a lot more flexible now. But hindsight is 20-20! > > Cheers > Martin > > > On Oct 21, 5:23 am, dogan kaya berktas <[email protected]> wrote: >> I am using iui 0.31 and I need to put a header div above the toolbar, >> but it seems iui render the page dynmically so is this possible? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
