I'm trying to help out someone with a problem getting a website to display well on a touchscreen kiosk browser.
They currently have a website running a custom CMS driven site built on the Lithium framework which works well for them and serves their needs. However, what they would like to do is extend this by having a touchscreen kiosk so that the public can view the website whilst visiting them rather than over the internet as normal.
The problem is, the site is fine to use on a desktop and on a mobile device, but trying to use the touchscreen is challenging, as some of the text / links etc are quite small. What I am looking for is a way of getting that one machine to show the website in a much more usable way.
During testing, I've gone down the route of developing a separate CSS sheet, which solves some of these problems by using much more touch-friendly interactions. It seems to work okay.
Where I am struggling is how do I get the style sheet to apply just to that computer rather than everybody who is connecting? At the moment, I have used some php / javascript to check the IP Address of the requesting machine, and if it matches the ip address of the kiosk, then it includes a separate link to the touch friendly CSS file in the section. That works okay - however, i'm not sure this is practical 'in the wild'.
The internet connection it will reside on doesn't have a static IP address, so I cannot guarantee that remaining the same. Is there another trick I could use? I did wonder about matching hostname, but as far as I can tell, there isn't a way of getting the hostname of the requesting computer.
I have full access to both the server and the kiosk. The server is a standard LAMP setup, and the Kiosk is a Windows 8.1 machine with a single touch screen (ELO) running the Metro app Kiosk Browser by riro.