/ Published in: HTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!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" /> <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> <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>