Results 1 to 2 of 2

Thread: ultimate fadein slideshow-stop pausing on mouseover

  1. #1
    Join Date
    Apr 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default ultimate fadein slideshow-stop pausing on mouseover

    I am needing to remove the code that causes the slideshow to pause when moused over. Do I change something in this part of the code?

    fadeshow.prototype.startit=function(){
    var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
    this.populateslide(crossobj, this.curimageindex)
    if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
    var cacheobj=this
    var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
    crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
    crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
    }

    Script URL: http://www.dynamicdrive.com/dynamici...nslideshow.htm
    Last edited by thetestingsite; 05-01-2007 at 02:18 AM. Reason: adding link to script

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    In the part that you place in the body of the html document, change from this:

    Code:
    <script type="text/javascript">
    new fadeshow(fadeimages, 140, 225, 0, 3000, 1, "R")
    </script>
    to this:

    Code:
    <script type="text/javascript">
    new fadeshow(fadeimages, 140, 225, 0, 3000, 0, "R")
    </script>
    That will stop the pausing onmouseover.
    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •