Ahhh the ole' custom code trick. Yeah I didn't look that deep into your site to see that.
On Feb 22, 6:08 pm, Nick Le Mouton <[email protected]> wrote: > I seem to have tracked down the bug. It stems from a custom bit of > code I wrote to display a home button on the first page (the base > page). It sets backButton to style.display = 'inline'. The next "page" > then tries to set the button to style.display = 'inline' again. There > seems to be a bug in Safari/webkit that causes a problem with setting > something to the same display setting twice (as far as I can see). > > I fixed the problem by hiding the backButton on a link click. Then it > was as if the button was never displayed and the code functions as it > should. > > I played around with the div/ul problem you mentioned, but found no > evidence of it working better with divs than ul. > > Thanks for your help > Nick > > On Feb 22, 5:56 am, b-money <[email protected]> wrote: > > > Hi. I haven't seen your issue before. I watch iPhone specific sites > > likewww.vw.comandwww.nikeid.comforchanges but they are not > > affected. > > > I assume that there is something non-standard about how you are > > building your top nav. It looks as though your logo image is too > > large for one thing. I would shrink the length down to just what it > > needs to be, without the extra grey before and after the "Drugs.com". > > Hold on a minute .... hold it hold it, just a few more seconds ... > > > NOW FOR YOUR FREE IPHONE QA AND DEV TIPS: > > > !!!!!!!!! AHHH WAIT. WHOA HORSEY!!!!! I see the problem now. I > > checked it out on my iPhone and then Safari in Dev mode. The Propecia > > home page works fine. The links to your content within that are not. > > You are linking to them within the page as an anchor like so > > href="#s1" etc. That anchor link needs to be a DIV with that anchor, > > not a list "<ul id="s1">. This causes you to get TWO messy looking > > navs layered on top of each other and conflicting all over the place. > > If you look at your screenshot you can see the layering. > > > HOW TO FIX? Turn your UL anchors into DIVS with ULs inside them if > > you want, like so ... > > <div id="s1"> > > <ul></ul> > > </div> > > > This should do the trick. All iUI anchors and content are DIVS with > > ID's. It's very strict about this. But works great if you follow > > it. IUI overrides how anchors work and how it adds the breadcrumb nav > > BACK button etc. > > Let me know if this solves it. > > > If you or anyone else are looking for some further assistance in > > iPhone Web Dev, please contact me. > > > cheers, Brent > > > On Feb 19, 6:52 pm, Nick <[email protected]> wrote: > > > > We've been using iUI for our iPhone version of our website for a while > > > now. Every time Apple releases a new firmware it creates more and more > > > issues. I had assumed that firmware 2.2 worked fine, but I came across > > > an error today when using the site. > > > > See the toolbar in this screenshot:http://tinyurl.com/cm252y > > > > It seems to only happen when the screen hasn't been rotated and is in > > > portrait mode. I've compared my source with that from github and can't > > > see any major changes, none that look like they would cause this > > > problem. > > > > Has anyone seen this problem before? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
