Return to Snippet

Revision: 5769
at April 7, 2008 18:45 by mayes


Updated Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
	
		function sspToggleDisplayMode() {
	    	thisMovie("ssp").sspToggleDisplayMode();
		}
		
		/*
			Passes the ID of the album from the XML file
			we want SlideShowPro inside the SWF to load
		*/
		function sspLoadAlbum(album) {
	    	thisMovie("ssp").sspLoadAlbum(album);
		}
		
		function thisMovie(movieName) {
			if (navigator.appName.indexOf("Microsoft") != -1) {
				return window[movieName]
			} else {
			    return document[movieName]
			}
		}

	</script>
</head>
<body>
<div id="flashcontent"> You need to update your version of the Flash Player to view this movie. </div>
<script type="text/javascript">
		var so = new SWFObject("my_ssp.swf", "ssp", "550", "400", "8", "#000000");
		so.addParam("allowScriptAccess", "always");
		so.write("flashcontent");
	</script>
<p><a href="#" onclick="sspLoadAlbum('album-14');">Logos</a> | <a href="#" onclick="sspLoadAlbum('album-15');">Illustration</a> | <a href="#" onclick="sspLoadAlbum('album-16');">Print</a> | <a href="#" onclick="sspLoadAlbum('album-17');">Products</a> | <a href="#" onclick="sspLoadAlbum('album-18');">Websites</a> | <a href="#" onclick="sspLoadAlbum('album-19');">Photography</a> </p>
</body>
</html>

Revision: 5768
at April 7, 2008 18:10 by mayes


Updated Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
	
		function sspToggleDisplayMode() {
	    	thisMovie("ssp").sspToggleDisplayMode();
		}
		
		/*
			Passes the ID of the album from the XML file
			we want SlideShowPro inside the SWF to load
		*/
		function sspLoadAlbum(album) {
	    	thisMovie("ssp").sspLoadAlbum(album);
		}
		
		function thisMovie(movieName) {
			if (navigator.appName.indexOf("Microsoft") != -1) {
				return window[movieName]
			} else {
			    return document[movieName]
			}
		}

	</script>
</head>
<body>
<div id="flashcontent"> You need to update your version of the Flash Player to view this movie. </div>
<script type="text/javascript">
		var so = new SWFObject("my_ssp.swf", "ssp", "550", "400", "8", "#000000");
		so.addParam("allowScriptAccess", "always");
		so.write("flashcontent");
	</script>
<p><a href="#" onclick="sspLoadAlbum('Logos');">Logos</a> | <a href="#" onclick="sspLoadAlbum('Illustration');">Illustration</a> | <a href="#" onclick="sspLoadAlbum('Print');">Print</a> | <a href="#" onclick="sspLoadAlbum('Products');">Products</a> | <a href="#" onclick="sspLoadAlbum('Websites');">Websites</a> | <a href="#" onclick="sspLoadAlbum('Photography');">Photography</a> </p>
</body>
</html>

Revision: 5767
at April 2, 2008 15:31 by mayes


Initial Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
	
		function sspToggleDisplayMode() {
	    	thisMovie("ssp").sspToggleDisplayMode();
		}
		
		/*
			Passes the ID of the album from the XML file
			we want SlideShowPro inside the SWF to load
		*/
		function sspLoadAlbum(album) {
	    	thisMovie("ssp").sspLoadAlbum(album);
		}
		
		function thisMovie(movieName) {
			if (navigator.appName.indexOf("Microsoft") != -1) {
				return window[movieName]
			} else {
			    return document[movieName]
			}
		}

	</script>
</head>
<body>
<div id="flashcontent"> You need to update your version of the Flash Player to view this movie. </div>
<script type="text/javascript">
		var so = new SWFObject("my_ssp.swf", "ssp", "550", "400", "8", "#000000");
		so.addParam("allowScriptAccess", "always");
		so.write("flashcontent");
	</script>
<p><a href="#" onclick="sspLoadAlbum('Logos');">Logos</a> | <a href="#" onclick="sspLoadAlbum('Illustration');">Illustration</a> | <a href="#" onclick="sspLoadAlbum('Print');">Print</a> | <a href="#" onclick="sspLoadAlbum('Products');">Products</a> | <a href="#" onclick="sspLoadAlbum('Illustration');">Websites</a> | <a href="#" onclick="sspLoadAlbum('Illustration');">Photography</a> </p>


</body>
</html>

Initial URL


Initial Description


Initial Title
Sildeshow Pro HTML / JAVASCRIPT

Initial Tags


Initial Language
HTML