1) Script Title: Swissarmy slideshow
2) Script URL (on DD):
3) Describe problem: I have put the swiss army slide show on to a page on my web site but it does not show up in IE, its fine in chrome and ff. Could anyone shed any light on this please. The code is
Head:
Body:Code:<style type="text/css"> /* All Styles Optional */ * { font-family:arial; font-size:10pt; } div#show3 { background-color:#efefef; width:140px; margin:0 auto; border:1px solid #444444; } div#show3 table td, div#show4 table td { height:24px; background-image:url('38.gif'); } div#show4 table td { background-image:url('40.gif'); } div#show3 table input, div#show4 table input { outline-style:none; } </style> <!--[if IE]> <style type="text/css"> div#show3 table td, div#show4 table td { height:21px; } </style> <![endif]--> <script type="text/javascript"> //If using image buttons as controls, Set image buttons' image preload here true //(use false for no preloading and for when using no image buttons as controls): var preload_ctrl_images=true; //And configure the image buttons' images here: var previmg='left.gif'; var stopimg='stop.gif'; var playimg='play.gif'; var nextimg='right.gif'; var slides2=[]; //SECOND SLIDESHOW //configure the below images and descriptions to your own. slides2[0] = ["Colognebeechmain.jpg", "Crucifix"]; slides2[1] = ["DuleekHGBurgundy.jpg", "Alter Boys"]; slides2[2] = ["DuleekHGTiepolo&Burgundy.jpg", "Young Pan"]; slides2[3] = ["DuleekHGZebrano.jpg", "Mona Lisa"]; slides2[4] = ["DuleekLightTiepolo.jpg", "Mona Lisa"]; slides2[5] = ["MTMCologneivory.jpg", "Mona Lisa"]; slides2[6] = ["PhoenixHGMiraCosa.jpg", "Mona Lisa"]; slides2[7] = ["PVCEdgedaubergineroomset.jpg", "Mona Lisa"]; slides2[8] = ["SlabOntarioMaple.jpg", "Crucifix"]; slides2[9] = ["Tuscany5pcHornsIvorymain.jpg", "Crucifix"]; //optional properties for these images: slides2.desc_prefix='<b>Description:<\/b> '; //string prefix for image descriptions display slides2.controls_top=1; //use for top controls slides2.counter=1; //use to show image count slides2.width=500; //use to set width of widest image if dimensions vary slides2.height=407; //use to set height of tallest image if dimensions vary slides2.no_auto=1; //use to make show completely user operated (no play button, starts in stopped mode) slides2.use_alt=1; //use for descriptions as images alt attributes slides2.use_title=1; //use for descriptions as images title attributes slides2.nofade=1; //use for no fade-in, fade-out effect for this show slides2.border=2; //set border width for images slides2.border_color='white'; //set border color for images slides3.manual_start=1; //start show in manual mode (stopped) //Notes: //slides#.target will set a target for a slide group, will be overridden by slides#[#][3], if present //slides#.specs will set new window specifications for a slide group, will be overridden by slides#[#][4], if present //slides#.fadecolor will set fading images background color, defaults to white //slides#.no_controls will set a slide show with no controls //slides#.random will set a random slide sequence on each page load //slides#.delay=3000 will set miliseconds delay between slides for a given show, may also be set in the call as the last parameter //slides#.jumpto=1 will display added controls to jump to a particular image by its number //slides#.no_added_linebreaks=1; use for no added line breaks in formatting of texts and controls //use below to create a customized onclick event for linked images in a given show: //slides#.onclick="window.open(this.href,this.target,'top=0, left=0, width='+screen.availWidth+', height='+screen.availHeight);return false;" </script> <script src="swissarmy.js" type="text/javascript"> /*********************************************** * Swiss Army Image slide show script - © John Davenport Scheuer: http://home.comcast.net/~jscheuer1/ * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code ***********************************************/ </script>
Code:<script type="text/javascript"> //Notes on Parameters: The only required parameter is the slides_array_name. If Width is used, so must Height. //Interval is optional too. It is always last, either fourth after Width and Height or second after Slides_array_name. //Usage: new inter_slide(Slides_array_name, Width, Height, Interval) new inter_slide(slides) </script>
Any help would be most appreciated.
Thanks you
Vikki



Reply With Quote

Bookmarks