I have a JavaScript slide show that executes when the main web page is visited. When the visitor clicks a link to visit another page (example: pricing) and returns to the main page, the javascript executes the slideshow again which can "get on your nerves" after awhile.
Is there a way to track a visitor during the session so that the main page's slideshow only executes that first time they visit the site?
Here is the code and the site is https://www.softechsystems.com
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="fadeslideshow.js"></script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [741, 218], //width/height of gallery in pixels. Should reflect dimensions
of largest image
imagearray: [
["images_iob/admin_panel_3a.jpg", "", "admin panel", ""],
["images_iob/admin_panel_2a.jpg", "", "admin panel", ""],
["images_iob/admin_panel_1a.jpg", "", "admin panel", ""]],
displaymode: {type:'auto', pause:1000, cycles:1, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: "",
oninit: function(){
--this.setting.totalsteps;
}
})
</script>
Bear with me, I am a low information newbie .. thanky ... Scott Sagnette