I’m working to convert one of my websites into an iPhone / iPod Touch compatiable design and wanted to share with you a few lines of code that has pointed me in the right direction:
<meta name=”viewport” content=”initial-scale=2.3, user-scalable=no” />
<meta name=”viewport” content=”width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;” />
<script type=”text/javascript”>
var updateLayout = function() {
  if (window.innerWidth != currentWidth) {
    [...]