The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

2.2 Unlock / Jailbreak OS X | Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Web Apps
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2007, 01:32 PM
poetic_folly's Avatar
Owner / Founder - ModMyi
aka Kyle Matthews
 
Join Date: May 2007
Device + Firmware: iPhone 3G | 2.2.1 | Jailbroke
Operating System: OS X Leopard 10.5.6
Posts: 8,214
Thanks: 277
Thanked 2,233 Times in 784 Posts
Designing Web Pages for the iPhone

I've been working on the iPhone version of MMi (which is fairly finished, and available at iphone.modmyi.com), and thought I'd share a few of my tips with all you who are planning on designing sites specifically for the iPhone.
  • Design for a 100% width, NOT a 320 or 480 width. The iPhone automatically resizes the page to fit the screen, and I've found that even if you code it for the correct width to fit on the page well, it will still shrink it down. If its coded to a 100% width, though, it will fill the page, whether in Landscape or Portrait mode.
  • Use big buttons. Your users will be browsing with their fingers. I still need to fix up the iPhone version of MMi, there are text links at the top which can be tough to hit with your fingers. EASE OF USE is key.
  • Skip the unnecessary information. Users can browse your site from home if they need huge amount of info, or they can view a separate page on your site from their iPhone if they want a bunch of info. For the most part, the KISS principle (Keep It Simple, Stupid) applies to iPhone web design. As large as the screen is on the iPhone, it sucks to zoom in and out and scroll forever. Let your site have a simple purpose, which is evident and easy to use.

I'll add more as I go. If you've done any design for the iPhone, or are planning on it, post up questions and advice here.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 2 Users Say Thank You to poetic_folly For This Useful Post:
bjlawrence11 (05-14-2008), thurbs190 (03-05-2009)
  #2 (permalink)  
Old 07-06-2007, 08:04 PM
exNavy's Avatar
iPhone? More like MyPhone
 
Join Date: Jun 2007
Device + Firmware: 3G/2.2.1 on T-Mobile
Operating System: OS X 10.5.7 intel
Location: Arizona
Posts: 214
Thanks: 11
Thanked 24 Times in 19 Posts

Thanks for the tips! I've been debating coding a iPhone version of my site. I wonder if we need to look at graphics any differently? The iPhone is what 160dpi instead of the usual 72 you see on a computer?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to exNavy For This Useful Post:
bjlawrence11 (05-14-2008)
  #3 (permalink)  
Old 07-06-2007, 08:11 PM
poetic_folly's Avatar
Owner / Founder - ModMyi
aka Kyle Matthews
 
Join Date: May 2007
Device + Firmware: iPhone 3G | 2.2.1 | Jailbroke
Operating System: OS X Leopard 10.5.6
Posts: 8,214
Thanks: 277
Thanked 2,233 Times in 784 Posts

Correct. So you may want to create your images in that resolution for a nicer "pop".

Which site? You may also want to specify an iPhone stylesheet, which would lend you the ability to not have to recode the whole thing.

Quote:
Specify an iPhone Style Sheet

Web designers often assume a particular window size when designing their sites. If that’s the path you want to take, you may want to provide one for a Safari on iPhone specific size. You should provide conditional CSS for iPhone (or other devices, for that matter).

You can tailor the style of your webpages by providing a style sheet that adapts to iPhone. The CSS 3 media query allows you to do just that. There are several types of queries including print, handheld, and screen. iPhone ignores the print and handheld media queries because these types do not supply high-end content. So the screen query is what you need to use.

To specify a style sheet that is just for iPhone without affecting other devices, you use the only keyword in combination with the screen keyword, as follows:

href="iPhone.css" type="text/css" rel="stylesheet" />

Older browsers ignore the only keyword and won’t read your iPhone style sheet. To specify a style sheet for devices other than iPhone, use an expression similar to the following:

Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 2 Users Say Thank You to poetic_folly For This Useful Post:
bjlawrence11 (05-14-2008), MooShoo (07-22-2007)
  #4 (permalink)  
Old 07-07-2007, 03:12 AM
exNavy's Avatar
iPhone? More like MyPhone
 
Join Date: Jun 2007
Device + Firmware: 3G/2.2.1 on T-Mobile
Operating System: OS X 10.5.7 intel
Location: Arizona
Posts: 214
Thanks: 11
Thanked 24 Times in 19 Posts

Quote:
Originally Posted by poetic_folly View Post

Which site?
The one linked in my profile here
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5 (permalink)  
Old 07-07-2007, 03:51 AM
poetic_folly's Avatar
Owner / Founder - ModMyi
aka Kyle Matthews
 
Join Date: May 2007
Device + Firmware: iPhone 3G | 2.2.1 | Jailbroke
Operating System: OS X Leopard 10.5.6
Posts: 8,214
Thanks: 277
Thanked 2,233 Times in 784 Posts

Ah.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6 (permalink)  
Old 07-08-2007, 10:45 AM
poetic_folly's Avatar
Owner / Founder - ModMyi
aka Kyle Matthews
 
Join Date: May 2007
Device + Firmware: iPhone 3G | 2.2.1 | Jailbroke
Operating System: OS X Leopard 10.5.6
Posts: 8,214
Thanks: 277
Thanked 2,233 Times in 784 Posts

Quote:
When you create your first page for the iPhone and load it in that sweet little browser, the first thing you think is "Damn, I wish I could get rid of those giant toolbars!" It is kind of annoying to have so much space taken away from your pages.

As it turns out, it only takes a little JavaScript to get rid of the big toolbar at the top, which is much larger than the one at the bottom. All you have to do is call window.scrollTo(0, 1), and the upper toolbar will slide right out of sight!

If the user rotates the phone, it all gets messed up, so you have to detect changes to the phone's orientation and call scrollTo again at that time.

All in all, it works well. I hope that those of you out there developing iPhone apps will use this technique to get rid of that giant honkin' toolbar so I can enjoy your apps in the full glory of the iPhone screen.

Here is a demo

I'm having a lot of fun with this phone if you haven't noticed
http://www.joehewitt.com/blog/iphone_tips_loo.php

The basics:

Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7 (permalink)  
Old 07-12-2007, 02:05 PM
What's Jailbreak?
 
Join Date: Jul 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

The iPhoney has been useful but since I haven't got a iPhone yet I'm hoping it is soemwhat accurate. I know it's for testing and isn't perfect. I'm going to spend a few hours a week on this site for iPhone and would appreciate feedback. http://www.techdictionary.com/iphone/

I'm also considering a subdomain (iphone.techdictionary.com or i.techdictionary.com) instead of a subfolder, any thoughts?

Thanks in advance.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8 (permalink)  
Old 07-12-2007, 02:13 PM
poetic_folly's Avatar
Owner / Founder - ModMyi
aka Kyle Matthews
 
Join Date: May 2007
Device + Firmware: iPhone 3G | 2.2.1 | Jailbroke
Operating System: OS X Leopard 10.5.6
Posts: 8,214
Thanks: 277
Thanked 2,233 Times in 784 Posts

Site pulls up very small for me on the iPhone, I would code it for a 100% width instead of a fixed width.

iUi, check out the iUi post from Joe Hewitt, some GREAT info on developing for the iPhone.

Last edited by poetic_folly; 07-12-2007 at 02:35 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9 (permalink)  
Old 07-12-2007, 03:14 PM
What's Jailbreak?
 
Join Date: Jul 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

thanks for the tip.
I did make a test page wider
http://www.techdictionary.com/iphone/chat1iphone.html

It seems that the text is going to be small for these chat pages unless I have 2 columns not 4 (like emoticons).

Also iPhoney is odd that when I view the chat page abocve it's not too hard to read vertical, then I rotate it to horizontal and it's a little better, then when I rotate it back the type is smaller until I quit and restart iPhoney, just a quirk I guess.

I'll redo the pages to 100% and work on other issues.

Mahalo (thanks)
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10 (permalink)  
Old 07-12-2007, 03:31 PM
poetic_folly's Avatar
Owner / Founder - ModMyi
aka Kyle Matthews
 
Join Date: May 2007
Device + Firmware: iPhone 3G | 2.2.1 | Jailbroke
Operating System: OS X Leopard 10.5.6
Posts: 8,214
Thanks: 277
Thanked 2,233 Times in 784 Posts

iPhoney doesn't resize well like the iPhone does. At the moment, there are no good test interfaces that really show the sizing.

You're welcome...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11 (permalink)  
Old 07-12-2007, 09:45 PM
What's Jailbreak?
 
Join Date: Jul 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

Shockwave flash files?

They don't run in iPhoney it seems so any ideas on how to test them for iPhone without an iPhone?

Thanks in advance.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12 (permalink)  
Old 07-12-2007, 09:55 PM
poetic_folly's Avatar
Owner / Founder - ModMyi
aka Kyle Matthews
 
Join Date: May 2007
Device + Firmware: iPhone 3G | 2.2.1 | Jailbroke
Operating System: OS X Leopard 10.5.6
Posts: 8,214
Thanks: 277
Thanked 2,233 Times in 784 Posts

iPhone doesn't support Flash. .flv OR .swf.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13 (permalink)  
Old 07-20-2007, 08:36 PM
What's Jailbreak?
 
Join Date: Jul 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

I heard swf for iPhone Safari is coming.

I don't know if it was the stores phone but the js includes (for menus, copyright, etc) didn't work on my site on the iPhone Safari, so I just used direct links, etc. It worked fine in iPhoney... so I guess you can't trust iPhoney to be 100% accurate.

Since I don't yet have a iPhone can someone give feedback on our sections, using Safari on iPhone?
Home-Search, Emoticons, IM/Chat, News, Links
http://www.techdictionary.com/iphone/

Thanks in advance!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14 (permalink)  
Old 07-22-2007, 02:31 AM
cash7c3's Avatar
Owner / Founder - ModMyi
aka Cody Overcash
 
Join Date: May 2007
Device + Firmware: iPhone 3g 3.0 beta 4
Operating System: OS X | XP | Sabayon
Posts: 3,484
Thanks: 282
Thanked 14,464 Times in 473 Posts
Send a message via AIM to cash7c3 Send a message via MSN to cash7c3 Send a message via Yahoo to cash7c3

I'd make the page 100% width instead of a small area with a huge background. just a suggestion

for example.

http://app.modmyi.com/browser.php#_home

looks weird on a full browser but great on an iphone

Last edited by cash7c3; 07-22-2007 at 02:32 AM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15 (permalink)  
Old 07-27-2007, 05:46 PM
What's Jailbreak?
 
Join Date: Jul 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

After some trial and error I'm 99%... well 95% happy with the results.

I did make the fonts, buttons, images bigger as you suggested, and 100% width. I also tried "" which would be fine with the smaller font, buttons, etc., but not with the larger size.

Now it looks pretty much like I want it to. I still have to tweak a little here and there... and when .swf files work I'll have to go through this resizing again when I add .swf games.. thanks for all your help.

Krag
http://techdictionary.com/iphone
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Web Apps

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

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

Forum Jump


Go to Top
ModMyI

All times are GMT -6. The time now is 11:53 PM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 | Dedicated Server Hosting by SingleHop | Copyright © 2007-09 by ModMy, LLC. All rights reserved.

RSS / Contact Us / / ModMyi Home / Archive / Privacy Statement / Top


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408