Jump to top when thumbnail is clicked


Is it possible to make the page ‘jump’ back to the top (where the video container is) if a viewer has scrolled down to click thumbnail, so one click is enough anywhere in the thumbnail list, to play the video.


You can take the following steps (only for version 3.2 and after):

1. Add the following the JavaScript to the head section, before

<script language="JavaScript">
    function jumpToTop(data) {
    	window.scrollTo(0, 300);

You can change the 300 to your desired value.

2. Add the following data tag to the div:


You can view the updated demo page http://html5box.com/html5gallery/demo_mediacenter.php