- This topic is empty.
April 6, 2011 at 2:56 pm #32255
Ok, I have a redirect on my site to send iPhone and Android users to a mobile site. Now, how do I get from the iPhone site to the Desktop version and avoid the redirect?April 6, 2011 at 3:59 pm #51989TT_MarkMember
Use css media queries to serve them the same content as a desktop but in a more mobile friendly way?April 6, 2011 at 4:25 pm #51990
Let me know if this helps!April 6, 2011 at 4:33 pm #51991
not really a great solution TTMark, but beautiful site. Thanks for sharing!April 6, 2011 at 4:44 pm #51992TT_MarkMember
It was mainly to show that you don’t need to redirect users to a ‘mobile’ site when it’s perfectly possible to use CSS Media Queries to achieve a mobile stylesheet.
Responsive web design is the current buzzword/phrase in the industryApril 6, 2011 at 4:58 pm #51994DogsGhostMember
what’s wrong with media queries? Its a lightweight solution and tailors the content layout to the user’s preferred device.April 6, 2011 at 5:09 pm #51997
I understand using media queries is the way to go, but my client already has a mobile site built… this is why I was asking for help.April 6, 2011 at 5:15 pm #52000DogsGhostMember
How are you doing the redirect from desktop site to mobile?April 6, 2011 at 5:21 pm #51976
if(strstr($_SERVER,'iPhone') || strstr($_SERVER,'iPod'))
?>April 6, 2011 at 7:18 pm #51959
Guys, don’t get me wrong – I’m absolutely in love with media queries, but – how do you plan on giving users a way to navigate back to the desktop version if they want to? Also, performance is a concern with the current specs of mobile devices. With media queries, they kick in after DOM load, and there isn’t an easy way to stop them from loading full img and object assets (whether or not you’re displaying them via your stylesheet). These two things aren’t really accomplish-able with media queries alone. So, no, media queries aren’t a silver bullet – but they’re mighty fine indeed.April 6, 2011 at 7:34 pm #51940mikelegacyMember
Most sites I go to on my mobile phone, If I just add /index.html, or whatever the index page is named, to the end of the URL, it directs me to the desktop site. For example, try loading penguins.nhl.com onto your mobile device, then type that and /index.html on the end, it will direct you to the NON mobile site. Just adding a link a the bottom of your page that says “Non Mobile Version” and directing them to that new link should fix the problem.
If I’m just being a newb, yell at me.April 7, 2011 at 10:36 am #51848
Fixed it, nothing a simple session couldn’t fix.May 11, 2011 at 9:01 pm #76601BorinteenMember
@mumptastic Can you post your solution to the iPhone site to Desktop site? I’m having the same issue…May 18, 2011 at 3:53 pm #75812
- The forum ‘Back End’ is closed to new topics and replies.