[RELEASE] iWebKit v 1.0

Discussion in 'Mobile Web Development' started by Winterboard, Aug 19, 2008.

  1. jgl1115 New Member

    Member Since:
    Dec 29, 2007
    Message Count:
    544
    Device:
    iPod touch
    this is very interesting!

    thank you! : D
  2. Linux Member

    Member Since:
    Sep 29, 2007
    Message Count:
    509
    Device:
    iPhone 4 (Black)
    I seem to be having trouble with my site... Just look at it

    Any way to fix it?

    EDIT: Fixed it!
  3. BigDaveyJ New Member

    Member Since:
    Nov 23, 2007
    Message Count:
    2,760
    Device:
    iPod touch
    i use it on my more infos which are used with BigBoss. I actually first showed them to him
  4. SkylarEC Super Moderator Emeritus

    Member Since:
    Sep 19, 2007
    Message Count:
    6,640
  5. Makki New Member

    Member Since:
    Dec 25, 2007
    Message Count:
    163
    Where is the sites created being hosted? What is the domain url? Why would i need this when i own my own domain and my website already is iphone ready?
  6. SkylarEC Super Moderator Emeritus

    Member Since:
    Sep 19, 2007
    Message Count:
    6,640
    You host the site wherever you want to host your site. I happen to host mine at http://www.touchrepo.com/ . You might host yours elsewhere. And if your site is already iPhone ready, then won't worry with this.
  7. justinede Member

    Member Since:
    Dec 24, 2007
    Message Count:
    845
    Device:
    iPhone 3GS (Black)
    if you want a free host try out freewebs and bravehost. they are ok for what you will be doing.
  8. JoshuaCaputo New Member

    Member Since:
    Aug 2, 2008
    Message Count:
    605
    Device:
    iPod touch
    Wow very very cool
  9. Winterboard Well-Known Member

    Member Since:
    Dec 26, 2007
    Message Count:
    2,345
    Device:
    iPad 2 (Black)
    add this to your <head></head> tags:

    Code:
    <script type="text/javascript"><!--
    function iPhoneAlert() {
        if((navigator.userAgent.match(/iPhone/i))||(navigator.userAgent.match(/iPod/i))){
            var question = confirm("Would you like to view the iPhone optimized version of our site?")
            if (question){
            window.location = "m";
            }else{
            
            }
        }    
    }
    //-->
    
    </script>
    
    and transform <body> into <body onload="iPhoneAlert();">
    ------------------double post merged------------------
    No thanks. :) please show me your site when your finished

    can you still post the URL? im happy it got solved easily :)

    really thanks! i emailed you about it i think because you didnt put my footer under it. Could you try to add a little sentence? like "designed by iweb" or something?
    Thanks

    Really! thats so cool! thanks! i'm happy so many people like it!

    Thank you!


    Site updates, check them out!
    - Pink theme v1.1
    - new menu bar
    - new homepage
    - contact page added text
  10. Linux Member

    Member Since:
    Sep 29, 2007
    Message Count:
    509
    Device:
    iPhone 4 (Black)
    Thanks, and for some sites they go directly to a mobile page without asking. What is the code for that?

    BTW: My site seems like its down so I can't see if it is still working.