slideshow_foldername = "Event_Page_Slideshow"; // NAME OF FOLDER FOR THIS PARTICULAR SLIDESHOW path_to_images = "slideshow_images"; // NAME OF FOLDER WHERE IMAGES ARE STORED (USUALLY STAYS THE SAME) slideshow_width = 280; // WIDTH OF THE SLIDESHOW IMAGES slideshow_height = 373; // HEIGHT OF THE SLIDESHOW IMAGES slideshow_photo_duration = 1; // HOW LONG TO SHOW THE PHOTO (SECONDS) slideshow_cycle_pause_duration = 3; // HOW LONG TO PAUSE BEFORE AFTER LAST SLIDESHOW HAS BEEN SWITCHED slideshow_fade_speed = 12; // HOW FAST TO TRASITION BETWEEN IMAGES slideshow_border = 1; // SLIDESHOW BORDER IN PIXELS slideshow_border_color = "000000"; // SLIDESHOW BORDER COLOR (NO # SIGN) // DETAILED BORDER COLORS CAN BE DEFINED IN STYLES SHEET //total_slideshows = 2; // TOTAL NUMBER OF SLIDESHOW THIS SCRIPT NEEDS TO HANDLE // GENERATE TOTAL SLIDESHOWS VARIABLE for(eval_slot=1;eval_slot < slideshow_group.length;eval_slot++) { // PARSE SLIDESHOW GROUP DATA groupinfo_split = slideshow_group[eval_slot].split(","); eval_foldername = groupinfo_split[0].replace(/[ ]/g,"_"); eval_slideshow_count = groupinfo_split[1]; if(eval_foldername == slideshow_foldername) { total_slideshows = eval_slideshow_count; break; } } ////// ARRAY SETS ////// slideshow_slot = []; slideshow_data = []; slideshow_info = []; slideshow_layout = []; for(i=1;i <= total_slideshows;i++) { slideshow_slot[i] = []; slideshow_data[i] = []; slideshow_info[i] = []; slideshow_layout[i] = []; } filter_set = []; timer_set = []; var currently_set_image = []; ////// END ARRAY SETS ////// // SET FIRST IMAGE AS CURRENT IMAGE FOR ALL SLIDESHOWS for(i=1; i <= total_slideshows;i++) { currently_set_image[i] = 1; } //////////////////////////////////////////////////////////////// ////// DO NOT CHANGE VARIABLE INFORMATION BELOW THIS LINE ////// current_slideshow = 1; //var slideshow_id = 0; opacity = 0; // VARIABLE ADJUSTMENTS slideshow_photo_duration = slideshow_photo_duration * 1000; slideshow_cycle_pause_duration = slideshow_cycle_pause_duration * 1000; slideshow_width = slideshow_width - slideshow_border; slideshow_height = slideshow_height - slideshow_border; function getBrowserStatus() { browser_status = ""; var UAgent=navigator.userAgent; ieloc = UAgent.indexOf("MSIE "); if(ieloc != -1) { versionInfo = UAgent.substr(ieloc,10).toLowerCase().replace(/[;]/,''); versionNumber = versionInfo.replace(/msie/,""); versionNumber = parseFloat(versionNumber); if(versionNumber >= 9) { browser_status = "laterversion" } else { browser_status = "olderversion" } } return browser_status } bStatus = getBrowserStatus(); var browserName=navigator.appName; if(browserName != "Microsoft Internet Explorer" || bStatus == "laterversion") { slideshow_fade_speed = slideshow_fade_speed * .01; }