I would like to know how I can make a hidden button to call a new page when clicked.What I am doing is, as part of my learning my boss has given me some old code for a app he wrote and was never used. What I want to do is hide a invisible button on one of the old pages I have rewrirren to link to a new page which is a simple game I have written. I don't know if this is possible but I am thinking it must be but I just don't have the skill yet to do it.
<body onLoad="javascript:window.location.href('http://yourdomain.com.com');">
thanks for the reply but I am not sure as to what I am doing with it. Can you give me a quick explaintion as to what it does.
thank you and sorry for being do stoopid
You can not use a hidden button because a button needs action. So the post I added is a redirect for when the page loads.
Either that, or when you click on the first button add an onclick event
<input type="submit(or button)" onclick="document.location.href='hidden_variable.value';">
maybe that will work (in FireFox)
Just drop a transparent .gif somewhere and link it.
thanks all I got it to work