Could you Clarify, and Heres What I Can Do
I dont understand what youre trying to do in a frame, and how do they choose who they want to vote for, is it: Text Box, Radio Button or Checkbox?
If you post the answers I will be able to help more.
Anyway, if you want a page to change after the vote button is clicked use this:
In the forms Vote button add this:
onclick="redirect()"
In the head copy and paste this:
<script language="javascript">
function redirect() {
window.location = "mainpage.htm"
}
</script>
If you change the location value to whatever site you want, then it should work. Note though that window.location is the same as a hyperlink, in that whatever filename you enter it is assumed to be in the sam folder as the voteing page.
This will work as for a user to enter the next page they will have to submit the form. There is also a way to check if they have selected something but I ahve left this out as you did not appear to need it. On the other hand if you do, just post!
Good luck and if you want more help, just post.
LOTS8
Last edited by lordofthesword8; 07-07-2004 at 11:47 AM..
Reason: Clarification
|