Take me to 'a particular Page' Box
I have a site, not yet live, and I would like to include a 'Which Page?' Box to enable the user to insert the page number, from 1 to 999, he requires. All the pages will be in html, 1.html, 2.html etc. Is this at all possible?
Any help would be appreciated. Mike
Yes, it could be done. Simple example:
<meta charset="UTF-8" />
window.location.href = document.getElementById('pNumber').value + ".html";
<p>Enter page number:</p>
<input id="pNumber" type="text" />
<input type="button" value="Go" onclick="changePage()" />
I'll give it a go.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)