View Single Post
Old 12-09-2011, 08:55 PM  
EukerVoorn
So Fucking Banned
 
Industry Role:
Join Date: Aug 2011
Location: Les Alpes, France
Posts: 1,423
Quote:
Originally Posted by barcodes View Post
I usually design for 1000px as well. Good luck.

The site should look similar on all browsers using css, so long as the code you are using is supported. For mobile you make a different version of the site and put some code in that checks for the mobile browser and redirects it.

Code:
<script language=javascript>
<!--
if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {
   location.replace("http://url-to-send-them/iphone.html");
}
-->
</script>
and

Code:
<script type="text/javascript">
<!--
if (screen.width <= 699) {
document.location = "mobile.html";
}
//-->
</script>
for example.

Good luck
Thanks for the codes, very helpful. I'll add this to my member download stats already to see what resolutions my members use.

Thanks everybody for the replies.
EukerVoorn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote