+ Reply
Results 1 to 5 of 5
  1. #1
    What's Jailbreak?
    Join Date
    Sep 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default POP Takeout | The web is thinking. In your pocket.


    I just got done with my first crack at an iPhone web app. It's a social news aggregator tracking the top 5 social news sites. It was hand-coded just for iPhone users and I'm trying to make it fit in with the whole iPhone experience. It makes it easy to see what the latest web buzz is anytime, anywhere.

    I found it really useful and wanted to share. It's free, it's not even add-supported. I did it as a CSS exercise and I'd love some feedback.

    http://poptakeout.com
    Last edited by mcsalmon; 09-06-2007 at 01:48 PM. Reason: added a pic

  2. #2
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,208
    Thanks
    509
    Thanked 4,484 Times in 1,114 Posts

    Per Joe Hewitt't method, I'd add the following to your header so it auto scrolls and eliminates the big header:

    PHP Code:
    <script type="application/x-javascript">
        
        
    addEventListener("load", function()
        {
            
    setTimeout(updateLayout0);
        }, 
    false);

        var 
    currentWidth 0;
        
        function 
    updateLayout()
        {
            if (
    window.innerWidth != currentWidth)
            {
                
    currentWidth window.innerWidth;

                var 
    orient currentWidth == 320 "profile" "landscape";
                
    document.body.setAttribute("orient"orient);
                
    setTimeout(function()
                {
                    
    window.scrollTo(01);
                }, 
    100);            
            }
        }

        
    setInterval(updateLayout400);
        
    </script> 
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  3. #3
    What's Jailbreak?
    Join Date
    Sep 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Nice tip, thanks. I implemented it.

  4. #4
    Green Apple
    Join Date
    Aug 2007
    Location
    colorado
    Posts
    67
    Thanks
    6
    Thanked 3 Times in 3 Posts

    this looks great. i have nothing i can add but feedback.. is there a way to make the links open in new tabs? or windows?

  5. #5
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,208
    Thanks
    509
    Thanked 4,484 Times in 1,114 Posts

    I like it a lot. That little update made it just a shade nicer, too. I've been using this while on the go, and its useful, since I read all those sites anyway.
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts