Displaying 1 result from an estimated 1 matches for "eligible_exercise".
2008 Jun 30
1
javascript onclick for thumbnails
...<script type="javascript">
3. function PlayVideo_options(videoFile, id) {
4. document.getElementById(id).className = ''video_option
active_video'';
5. }
6. </script>
7.
8. <div id="video_options">
9. <% for eligible_exercise in excercises %>
10. <% exercise = eligible_exercise.exercise %>
11. <div onclick="PlayVideo_options(''<%= exercise.path_to_video
%>'', ''active_<%= exercise.id %>'')" class="video_option" id="active_&...