/* Developed by E. F. Haghish (2014) Center for Medical Biometry and Medical Informatics University of Freiburg, Germany haghish@imbi.uni-freiburg.de * These software come with no warranty * This program installs the EasingJS JavaScript to enlarge photos to full screen mode when they are clicked in the HTML log */ program define weaverzoom version 11 tempname canvas capture file open `canvas' using "$htmldoc" , write text append ******************************************************************** * JavaScript "Easing" Code ******************************************************************** file write `canvas' _n(2) "" _n(2) ******************************************************************** * THE SMOOTH ZOOM JAVASCRIPT * * Smoothzoom * http://kthornbloom.com/smoothzoom * * Copyright 2014, Kevin Thornbloom * Free to use and modify under the MIT license. * http://www.opensource.org/licenses/mit-license.php ******************************************************************** file write `canvas' "" _n(4) // ADDING THE SMOOTH ZOOM SCRIPT // ============================= //file write `canvas' " " _n file close `canvas' end