Comments on: 6 Tips to Optimize Your Website for iPhone http://www.iphonemicrosites.com/articles/6-tips-to-optimize-your-current-site-for-the-iphone/ iPhone-Optimized Website Solutions Thu, 30 Apr 2009 22:32:59 +0000 http://wordpress.org/?v=2.6.3 By: Pradeep http://www.iphonemicrosites.com/articles/6-tips-to-optimize-your-current-site-for-the-iphone/#comment-224 Pradeep Tue, 27 Jan 2009 18:35:34 +0000 http://www.iphonemicrosites.com/?p=85#comment-224 Great stuff, Thanks for the meta tag examples, it worked well. Great stuff, Thanks for the meta tag examples, it worked well.

]]>
By: Mike Post http://www.iphonemicrosites.com/articles/6-tips-to-optimize-your-current-site-for-the-iphone/#comment-223 Mike Post Tue, 13 Jan 2009 14:54:38 +0000 http://www.iphonemicrosites.com/?p=85#comment-223 Ah, I thought so. The HTML tags are not allowed and are not displayed. Great. <code>How to include an external javascript file? Simple. Create a new document in Notepad or any other plain text editor. Copy the code that was mentioned in the article above, and save it. Save it by going to 'Save as..' and selecting 'all files', not just .txt or other whatever document-type. Now put between the and the tags of your website. It will now load the external JavaScript file. :)</code> Greetings, Mike Post Ah, I thought so. The HTML tags are not allowed and are not displayed. Great.

How to include an external javascript file? Simple.

Create a new document in Notepad or any other plain text editor. Copy the code that was mentioned in the article above, and save it. Save it by going to 'Save as..' and selecting 'all files', not just .txt or other whatever document-type. Now put between the and the tags of your website. It will now load the external JavaScript file. :)

Greetings,
Mike Post

]]>
By: Mike Post http://www.iphonemicrosites.com/articles/6-tips-to-optimize-your-current-site-for-the-iphone/#comment-222 Mike Post Tue, 13 Jan 2009 14:51:18 +0000 http://www.iphonemicrosites.com/?p=85#comment-222 Dear Admin, Great article, really. A friend of mine was looking for ways to optimize his website for the iPhone and other portable devices, and this helps a great deal. Thank you! But, please refrain from using uppercase tags, lowercase tags are the w3-standard and are the only way tags should be written. Also, please load JavaScript from an external file, so that when a browser does not support JavaScript, it is not loaded. Examples of the benefits of including external files such as JavaScript/CSS are: preserving bandwidth if the file is not necessary, but it's also possible to use one script on multiple pages-- again, preserving bandwidth as well as a few other benefits I shall not discuss here. How to include an external javascript file? Simple. Create a new document in Notepad or any other plain text editor. Copy the code that was mentioned in the article above, and save it. Save it by going to 'Save as..' and selecting 'all files', not just .txt or other whatever document-type. Now put between the and the tags of your website. It will now load the external JavaScript file. :) For more tips, tweaks and tutorials I will refer you to <a href="http://www.mikepost.nl" title="Mike Post blog" rel="nofollow">my blog</a>. Many greetings, Mike Post Dear Admin,

Great article, really. A friend of mine was looking for ways to optimize his website for the iPhone and other portable devices, and this helps a great deal. Thank you!

But, please refrain from using uppercase tags, lowercase tags are the w3-standard and are the only way tags should be written. Also, please load JavaScript from an external file, so that when a browser does not support JavaScript, it is not loaded.

Examples of the benefits of including external files such as JavaScript/CSS are: preserving bandwidth if the file is not necessary, but it’s also possible to use one script on multiple pages– again, preserving bandwidth as well as a few other benefits I shall not discuss here.

How to include an external javascript file? Simple.

Create a new document in Notepad or any other plain text editor. Copy the code that was mentioned in the article above, and save it. Save it by going to ‘Save as..’ and selecting ‘all files’, not just .txt or other whatever document-type. Now put between the and the tags of your website. It will now load the external JavaScript file. :)

For more tips, tweaks and tutorials I will refer you to my blog.

Many greetings,
Mike Post

]]>
By: Chris http://www.iphonemicrosites.com/articles/6-tips-to-optimize-your-current-site-for-the-iphone/#comment-49 Chris Mon, 08 Sep 2008 19:04:25 +0000 http://www.iphonemicrosites.com/?p=85#comment-49 Just a quick pointer to anyone who is having problems with the 3 meta viewport example. All 3 need to be closed by ending the tag />. Doesn't cause a problem in my iPhone but it does when testing in Safari with the user agent set to iPhone 1.3 which is currently the most recent agent you can set in Safari on the PC. Thanks for the meta tag examples tho, definitely helped me. Just a quick pointer to anyone who is having problems with the 3 meta viewport example. All 3 need to be closed by ending the tag />. Doesn’t cause a problem in my iPhone but it does when testing in Safari with the user agent set to iPhone 1.3 which is currently the most recent agent you can set in Safari on the PC.

Thanks for the meta tag examples tho, definitely helped me.

]]>
By: admin http://www.iphonemicrosites.com/articles/6-tips-to-optimize-your-current-site-for-the-iphone/#comment-47 admin Thu, 14 Aug 2008 23:33:44 +0000 http://www.iphonemicrosites.com/?p=85#comment-47 Hi Jeff, Though your comment does not pertain to this article, the problem is that your image scroller is written in Java, not JavaScript. The iPhone does not support Java applications of any kind. We hope that helps. -Admin Hi Jeff,

Though your comment does not pertain to this article, the problem is that your image scroller is written in Java, not JavaScript. The iPhone does not support Java applications of any kind.

We hope that helps.

-Admin

]]>
By: Jeff http://www.iphonemicrosites.com/articles/6-tips-to-optimize-your-current-site-for-the-iphone/#comment-48 Jeff Thu, 14 Aug 2008 18:48:22 +0000 http://www.iphonemicrosites.com/?p=85#comment-48 My iPhone will not display the Java script image scroller on my web site. What do I need to do in order to correct this? My iPhone will not display the Java script image scroller on my web site. What do I need to do in order to correct this?

]]>
By: admin http://www.iphonemicrosites.com/articles/6-tips-to-optimize-your-current-site-for-the-iphone/#comment-46 admin Thu, 24 Jul 2008 23:52:07 +0000 http://www.iphonemicrosites.com/?p=85#comment-46 Hi Christian, Since this was written as an article rather than a tutorial, the examples are simply for reference to illustrate specific points about iPhone website optimization. The JavaScript should be placed in the head of your document, and you are correct in that you will need to wrap the JavaScript in script tags. <pre><code><SCRIPT language="JavaScript"> ........JavaScript Code........... </SCRIPT></code></pre> Hope that helps. -Admin. Hi Christian,

Since this was written as an article rather than a tutorial, the examples are simply for reference to illustrate specific points about iPhone website optimization. The JavaScript should be placed in the head of your document, and you are correct in that you will need to wrap the JavaScript in script tags.

<SCRIPT language="JavaScript">

........JavaScript Code...........

</SCRIPT>

Hope that helps.

-Admin.

]]>
By: Christian http://www.iphonemicrosites.com/articles/6-tips-to-optimize-your-current-site-for-the-iphone/#comment-45 Christian Thu, 24 Jul 2008 17:27:54 +0000 http://www.iphonemicrosites.com/?p=85#comment-45 Great stuff, but where do you stick this? That javascript looks like it's missing the open and close javascript tags. I tend to follow instructions as precisely as possible, but there is a lot of missing steps here. Great stuff, but where do you stick this? That javascript looks like it’s missing the open and close javascript tags. I tend to follow instructions as precisely as possible, but there is a lot of missing steps here.

]]>