I need some help and I would imagine this will be quite simple for some of you.
I’m creating a site to demo an app I’m working on. The app itself is really quite simple but simulating the app has become the difficult part. Basically, I need my site to show the basic functionality of the app, minus any databasing/logins, geolocation, map api etc.
Right now, I’ve opted to accomplish this via HTML and CSS. Here is the link:
Now, if you click on one of the categories on the phone screen, you’ll see that only the dots in that category remain. Great.
The problem is, I’m accomplishing this by creating a NEW HTML page for each possible outcome… daunting.
Right now, I only have a 6 page site… so it’s not a big deal. When it’s 100 pages, that is going to suck! I simply cannot update every single HTML file anytime I want to change anything. It’s just not scalable.
So, how can I create a generic HTML file and import it each time I want to use it? I presume PHP can accomplish this but how then can I edit say one line in each file? PHP allows me to ADD things to the imported file… it doesn’t really allow me to edit or take away.
Can someone please help?
The ONLY option I can think of is to turn the phone into a frame so that everytime someone interacts with it, only that changes. Any ideas?