User Tag List

  1. mcsalmon's Avatar

    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; 2007-09-06 at 08:48 PM. Reason: added a pic
    2007-09-06 08:47 PM
  2. Kyle Matthews's Avatar
    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
    2007-09-06 09:55 PM
  3. mcsalmon's Avatar
    Nice tip, thanks. I implemented it.
    2007-09-07 12:58 PM
  4. Ozymandius=girl's Avatar
    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?
    2007-09-07 01:35 PM
  5. Kyle Matthews's Avatar
    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
    2007-09-07 09:00 PM
LINK TO POST COPIED TO CLIPBOARD