Lines Matching refs:effect
335 // Put every element that has an effect associated with it, into its own group.
348 effectDict["effect"] = dict["name"];
432 effectDict["effect"] = dict["name"];
457 // Consolidate view array and append it to the effect array.
475 // Set consolidated effect array.
541 // Check effect number.
605 /** Function to dispatch the next effect, if there is none left, change the slide.
629 effect(dir);
677 effectArray[0]["effect"] = slides[activeSlide]["transitionOut"]["name"];
683 effectArray[0]["effect"] = slides[activeSlide]["transitionIn"]["name"];
696 effectArray[1]["effect"] = slides[activeSlide]["transitionIn"]["name"];
702 effectArray[1]["effect"] = slides[activeSlide]["transitionOut"]["name"];
722 effect(dir);
770 /** Function to run an effect.
772 * @param dir direction in which to play the effect (1 = forwards, -1 = backwards)
774 function effect(dir)
782 if (effectArray[counter]["effect"] == "fade")
784 else if (effectArray[counter]["effect"] == "appear")
786 else if (effectArray[counter]["effect"] == "pop")
788 else if (effectArray[counter]["effect"] == "view")
812 window.setTimeout("effect(" + dir + ")", timeDiff);
1322 var effect = slides[counterSlides]["effects"][counter][subCounter];
1323 if (effect["effect"] == "fade")
1324 fade(parseInt(effect["dir"]), effect["element"], STATE_END, effect["options"]);
1325 else if (effect["effect"] == "appear")
1326 appear(parseInt(effect["dir"]), effect["element"], STATE_END, effect["options"]);
1327 else if (effect["effect"] == "pop")
1328 pop(parseInt(effect["dir"]), effect["element"], STATE_END, effect["options"]);
1329 else if (effect["effect"] == "view")
1330 view(parseInt(effect["dir"]), effect["element"], STATE_END, effect["options"]);
1638 /** The view effect.
1640 * @param dir direction the effect should be played (1 = forwards, -1 = backwards)
1641 * @param element the element the effect should be applied to
1642 * @param time the time that has elapsed since the beginning of the effect
1643 * @param options a dictionary with additional options (e.g. length of the effect); for the view effect the options need to contain the old and the new matrix.
1713 /** The fade effect.
1715 * @param dir direction the effect should be played (1 = forwards, -1 = backwards)
1716 * @param element the element the effect should be applied to
1717 * @param time the time that has elapsed since the beginning of the effect
1718 * @param options a dictionary with additional options (e.g. length of the effect)
1776 /** The appear effect.
1778 * @param dir direction the effect should be played (1 = forwards, -1 = backwards)
1779 * @param element the element the effect should be applied to
1780 * @param time the time that has elapsed since the beginning of the effect
1781 * @param options a dictionary with additional options (e.g. length of the effect)
1798 /** The pop effect.
1800 * @param dir direction the effect should be played (1 = forwards, -1 = backwards)
1801 * @param element the element the effect should be applied to
1802 * @param time the time that has elapsed since the beginning of the effect
1803 * @param options a dictionary with additional options (e.g. length of the effect)
1889 var effect = slides[slide]["effects"][counter][subCounter];
1890 if (effect["effect"] == "fade")
1891 fade(effect["dir"], effect["element"], STATE_END, effect["options"]);
1892 else if (effect["effect"] == "appear")
1893 appear(effect["dir"], effect["element"], STATE_END, effect["options"]);
1894 else if (effect["effect"] == "pop")
1895 pop(effect["dir"], effect["element"], STATE_END, effect["options"]);
1896 else if (effect["effect"] == "view")
1897 view(effect["dir"], effect["element"], STATE_END, effect["options"]);
1907 var effect = slides[slide]["effects"][counter][subCounter];
1908 if (effect["effect"] == "fade")
1909 fade(parseInt(effect["dir"]) * -1, effect["element"], STATE_START, effect["options"]);
1910 else if (effect["effect"] == "appear")
1911 appear(parseInt(effect["dir"]) * -1, effect["element"], STATE_START, effect["options"]);
1912 else if (effect["effect"] == "pop")
1913 pop(parseInt(effect["dir"]) * -1, effect["element"], STATE_START, effect["options"]);
1914 else if (effect["effect"] == "view")
1915 view(parseInt(effect["dir"]) * -1, effect["element"], STATE_START, effect["options"]);
1927 var effect = slides[slide]["effects"][counter][subCounter];
1928 if (effect["effect"] == "fade")
1929 fade(effect["dir"], effect["element"], STATE_END, effect["options"]);
1930 else if (effect["effect"] == "appear")
1931 appear(effect["dir"], effect["element"], STATE_END, effect["options"]);
1932 else if (effect["effect"] == "pop")
1933 pop(effect["dir"], effect["element"], STATE_END, effect["options"]);
1934 else if (effect["effect"] == "view")
1935 view(effect["dir"], effect["element"], STATE_END, effect["options"]);
2485 // Try to extract effect number.