Posted by SP_Fox_17 13 weeks 3 days ago
Hey,
I'm a student worker at a community college. I've been tasked to create a mobile website for the Distance Learning division. I've designed it, and it works great, now I need a way for mobile users to be redirected to the site if they so wish.
I discussed it with my boss - she wants a pop-up window asking if the user would like to go to the mobile website, or stay on the main site. After mulling details over in my head, I've come up with the following specifications (I'll try to be as specific as possible):
1) Obviously must detect whether or not the user is mobile or not
2a) If no, continue with regular interface
2b) If yes, open pop-up window
3) The pop-up window would say (something like) "We have detected you may be using a mobile device. Would you like to go to mobile optimized site?"
4a) If no, close the pop-up window.
4b) If yes, close the pop-up window, then go to the mobile site.
5) If the user declines or clicks the link from the mobile site to the main site, the pop-up window will not open. (The pop-up window would be on multiple pages and should not come up every single time they switch between pages)
6) If #5 happens, the pop-up window should restore itself after some amount of time (to be specified after testing).
I don't know if any of that is possible, but if it is, then I believe it requires some PHP code. I have almost no clue how to use it (even after sifting through a lot of articles). I can use html proficiently though. I'd need steps on how to implement the code as well.
I'm limited to dreamweaver CS4 and cannot download any programs.
Help please! <:D




Sign in or register to reply.