Making a button inactive until a slideshow is finished
Posted: Thu Jun 24, 2010 2:06 pm
Not sure whether this is a PHP question or an HTML question, but here goes. I'm designing an online survey. Participants click through a series of pages which are created using PHP. At the end of each page is an HTML form which includes a submit button and possibly some other form elements. The submit button transitions to the next page and at the same time passes on the data entered on the current and all previous pages.
Now, on a few of my pages, participants are supposed to view a slideshow created as an embedded swf file. They click through the slideshow using its internal navigation. On pages like this, I need to make sure that they have viewed the whole slideshow before they can go on to the next page. So, the submit button on pages like this should be either invisible or unclickable until the last slide in the slideshow is reached, at which time the button appears or becomes clickable.
So my question is, how can I make the submit button's behavior be dependent on their usage of the embedded swf file in this way?
Or would it be better just to create a frameset and make the slideshow as a series of HTML files within one frame instead of as an embedded swf file?
Thanks a lot in advance!
Now, on a few of my pages, participants are supposed to view a slideshow created as an embedded swf file. They click through the slideshow using its internal navigation. On pages like this, I need to make sure that they have viewed the whole slideshow before they can go on to the next page. So, the submit button on pages like this should be either invisible or unclickable until the last slide in the slideshow is reached, at which time the button appears or becomes clickable.
So my question is, how can I make the submit button's behavior be dependent on their usage of the embedded swf file in this way?
Or would it be better just to create a frameset and make the slideshow as a series of HTML files within one frame instead of as an embedded swf file?
Thanks a lot in advance!