23rd Jun 2013, 12:17 AM | #1 |
Active Warrior Join Date: 2012
Posts: 83
Thanks: 17
Thanked 2 Times in 2 Posts
|
I posted this in the programming section and not getting much response(unless i didnt understand the response), unsure if that was the right area or not, but figure ill try the mobile section as you guys, im sure are doing this. I have a mobile site. On it I link to view full website. I want to place a link on the desktop site that goes back to mobile. But only want it view-able on the desktop version when on a mobile device. How is this done? Its for a regular html website, not wp. |
23rd Jun 2013, 07:55 PM | #2 | |
Rockstar Developer War Room Member Join Date: 2012
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
|
Simple Google Search - With Code Detect Mobile Browsers - Open source mobile phone detection | |
23rd Jun 2013, 11:14 PM | #3 |
Active Warrior Join Date: 2012
Posts: 83
Thanks: 17
Thanked 2 Times in 2 Posts
|
Thanks. I got the part with using a script to check if its a mobile device. I have a script like this on my site to redirect mobile users. What I dont have is how to use it to just place a simple text link to display to mobile and cant figure it out. |
4th Dec 2013, 12:29 AM | #4 |
HyperActive Warrior Join Date: 2013
Posts: 249
Thanks: 235
Thanked 23 Times in 21 Posts
|
tedobee install a redirection code on your desktop site. That will instruct the browser to read the redirection script and take the visitor to your mobile site.
|
Friendly advice, useful tips... Raymond B. | |
4th Dec 2013, 12:48 PM | #5 |
Mobile+WP = JumpMobi.com War Room Member Join Date: 2009 Location: San Antonio, Tx
Posts: 1,271
Thanks: 301
Thanked 449 Times in 309 Posts
|
which redirect script are you using? if it uses cookies you can probably get the value of the cookie and use it to do a javascript based conditional statement to toggle a hidden layer with your link in it |
Sorry, I am too busy helping people to think of a cool signature! | |
6th Dec 2013, 10:20 PM | #6 |
Active Warrior War Room Member Join Date: 2010 Location: Spokane, WA
Posts: 51
Thanks: 28
Thanked 22 Times in 9 Posts
|
I am most certainly not a programmer..., but can't believe this person posted a question back in June and still has not received the correct answer. Nothing to do with browser UserAgents or JavaScript or Server Side Language or Redirection Codes or Anything Else of the kind!! Now if I'm reading this right, Tedobee is working with two websites: One for PC and One for Mobile... This person can have one hundred links pointing to where ever from the PC website as well as one hundred links pointing to where ever from the Mobile site... with all those links not showing on the other site. Why is this so complicated? lol So by installing one link on PC site to direct to Mobile site most certainly will not show up on Mobile site because it is a completely different site!! Did that make sense? I hope so, because I've now got a headache.... and probably you do too. Todobee, if still out there PM me and I'll put a blindfold on, tie arms behind back, and complete this for FREE!!! lol That is, if I'm reading your question properly. |
Have A Nice Day and a Prosperous New Year!!!
| |
7th Dec 2013, 03:53 PM | #7 |
Mobile+WP = JumpMobi.com War Room Member Join Date: 2009 Location: San Antonio, Tx
Posts: 1,271
Thanks: 301
Thanked 449 Times in 309 Posts
| |
Sorry, I am too busy helping people to think of a cool signature! | |
Bookmarks |
Tags |
back, mobile |
| |