Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Sponsored Reviews   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 02-21-2008, 01:52 PM   #1 (permalink)
Junior Member
 
CharlieWon's Avatar
 
Join Date: 01-07-08
Posts: 8
iTrader: 0 / 0%
Latest Blog:
None

CharlieWon is liked by many
Designing for iPhone

I am trying to design the webpage so that people looking at it from an iPhone have optimal viewing. I have figured out designing the page with 320px width and using the meta tag. But how do I put the code in that detects whether the person is using an iphone or not? If you go to Amazons page using the iPhone is detects it and takes you to a specific iphone designed page. Also, it is really great how there is some sort of code that makes the url bar be pushed up when the user enters that iphone designed page.

Are there resources online somewhere teaching how to design with the iPhone in mind? Or could someone slip me a snippet of code?

Thanks a ton!!
__________________
Live as if your were to die tomorrow. Learn as if you were to live forever. - Gandhi
CharlieWon is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 02-21-2008, 02:06 PM   #2 (permalink)
v7n Mentor
 
greg's Avatar
 
Join Date: 10-13-03
Location: Little Rock
Posts: 2,586
iTrader: 0 / 0%
Latest Blog:
None

greg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to all
Send a message via MSN to greg
If I were you would I would do is take some time and signup for an Apple Developer's membership. http://developer.apple.com/

They have a whole section devoted to designing sites and webapps for iPhone, almost all of it is very good with examples. Also if you are interested in really developing for iPhone the SDK will be released next week so you will want to snag that off of the developer site as well. As far as some quick simple things like getting the nav bar to go away, creating some iPhone specific links(google maps, address book, calling...) all that is outlined on the dev site.

Overall if you are just designing a page in general for iPhone just follow a quick set of guidelines:
- if it is iPhone only use the correct page sizes(found in the dev site)
- Create an iPhone webclip image(tells you all the specs in the dev site)
- For linking create large button links(for finger selections) and stay away from drop down menus

For the most part safari accurately renders everything, and even at far stricter standards than IE and Firefox. The only thing not supported yet is flash which should be coming in early March.
greg is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-21-2008, 02:11 PM   #3 (permalink)
v7n Mentor
 
greg's Avatar
 
Join Date: 10-13-03
Location: Little Rock
Posts: 2,586
iTrader: 0 / 0%
Latest Blog:
None

greg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to all
Send a message via MSN to greg
Oh, sorry, missed one part of your question. For the redirect you can outline it in your .htaccess(if on apache) or just within your website to do a browser detect and redirect to the iphone specific page.

It is all outlined in the dev site somewhere as to what the exact browser name is, I can't recall off the top of my head but you should be able to find it easily
greg is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-22-2008, 09:33 AM   #4 (permalink)
Junior Member
 
CharlieWon's Avatar
 
Join Date: 01-07-08
Posts: 8
iTrader: 0 / 0%
Latest Blog:
None

CharlieWon is liked by many
Thanks greg!

I have signed up with the apple development center and have been browsing around in there. I am having a hard time finding where I learn how to hide the url address bar. I have learned that it must have something to do with scrolling the page down? Any ideas where I should be looking in the dev center?

You were right about this place having tons of information! I have been learning a lot!! Thanks for directing me there!
__________________
Live as if your were to die tomorrow. Learn as if you were to live forever. - Gandhi
CharlieWon is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-04-2008, 03:54 PM   #5 (permalink)
Junior Member
 
CharlieWon's Avatar
 
Join Date: 01-07-08
Posts: 8
iTrader: 0 / 0%
Latest Blog:
None

CharlieWon is liked by many
This is the code that I was looking for

'<script type="application/x-javascript">

addEventListener("load", function()
{
setTimeout(hideURLbar, 0);
}, false);

function hideURLbar()
{
window.scrollTo(0, 1);
}

</script>'
__________________
Live as if your were to die tomorrow. Learn as if you were to live forever. - Gandhi
CharlieWon is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-21-2008, 12:27 AM   #6 (permalink)
Junior Member
 
blackimpallass's Avatar
 
Join Date: 03-05-08
Posts: 15
iTrader: 0 / 0%
Latest Blog:
None

blackimpallass is liked by many
CharlieWon, are you redesigning a site you already have or designing a new site? The reason i ask is because I was looking for a company or person who could optimize my website for the IPhone. My site have alot of video, so i know I would need them converted to H.264.
blackimpallass is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-21-2008, 07:52 AM   #7 (permalink)
Contributing Member
 
Join Date: 11-06-07
Location: Florida
Posts: 88
iTrader: 0 / 0%
Latest Blog:
None

rob7676 is liked by many
I have not seen a site yet that wont load correctly on the iphone.
__________________
Get your "Green Certification" at Enviro Kleen
Dog Lovers Monthly - For the dog lover in all of us.
rob7676 is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-21-2008, 12:17 PM   #8 (permalink)
Contributing Member
 
Izzmo's Avatar
 
Join Date: 11-01-03
Location: Kansas City
Posts: 1,007
iTrader: 0 / 0%
Latest Blog:
None

Izzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to behold
Send a message via ICQ to Izzmo Send a message via AIM to Izzmo Send a message via MSN to Izzmo Send a message via Yahoo to Izzmo
I wish I had an iPhone

Have you ever seen that commercial on TV regarding "bank anywhere from True Blue" or whatever bank that is. Capitol Federal I believe.

Is banking really secure on the iPhone? Your signal trasmits via through air, meaning anyone can pick it up, and (maybe) not get in trouble for it since it is in open air. So, is it safe to bank online through the iPhone?
__________________
~Izzmo
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
Izzmo is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web designing Jesse Vlasveld Web Design Lobby 6 06-13-2007 03:25 AM
Designing Subtitles using CSS killua Web Design Lobby 3 06-22-2006 03:01 AM
Designing for different resolutions DOS Web Design Lobby 15 12-22-2004 01:36 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 06:44 PM.
© Copyright 2008 V7 Inc