Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8120077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:00:30+00:00 2026-06-06T05:00:30+00:00

I have modified a slider script to mimic ebay’s slider on home page. I

  • 0

I have modified a slider script to mimic ebay’s slider on home page.
I am not familiar enough with Javscript to modify the code to allow the slideshow to pause on mouseover. Any help would be appreciated.

Working sample is at http://camoshop.com/test.html

Javascript code:

var TINY={};

function T$(i){return document.getElementById(i)}
function T$$(e,p){return p.getElementsByTagName(e)}

TINY.fader=function(){
function fade(n,p){this.n=n; this.init(p)}
fade.prototype.init=function(p){
    var s=T$(p.id), u=this.u=T$$('li',s), l=u.length, i=this.l=this.c=this.z=0;
    if(p.navid&&p.activeclass){this.g=T$$('li',T$(p.navid)); this.s=p.activeclass}
    s.style.overflow='hidden'; this.a=p.auto||0; this.p=p.resume||0;
    for(i;i<l;i++){
        if(u[i].parentNode==s){
            u[i].style.position='absolute'; this.l++; u[i].o=p.visible?100:0;
            u[i].style.opacity=u[i].o/100; u[i].style.filter='alpha(opacity='+u[i].o+')'
        }
    }
    this.pos(p.position||0,this.a?1:0,p.visible)
},
fade.prototype.auto=function(){
    this.u.ai=setInterval(new Function(this.n+'.move(1,1)'),this.a*1000)
},
fade.prototype.move=function(d,a){
    var n=this.c+d, i=d==1?n==this.l?0:n:n<0?this.l-1:n; this.pos(i,a)
},
fade.prototype.pos=function(i,a,v){
    for(j=0;j<this.u.length;j++){if(j!=this.c && j!=i)this.u[j].style.zIndex=0;}
    this.u[this.c].style.zIndex=1;
    var p=this.u[i]; p.style.zIndex=2;
    clearInterval(p.si); clearInterval(this.u.ai); this.u.ai=0; this.c=i;
    if(p.o>=100&&!v){p.o=0; p.style.opacity=0; p.style.filter='alpha(opacity=0)'}
    if(this.g){for(var x=0;x<this.l;x++){this.g[x].className=x==i?this.s:''}}
    p.si=setInterval(new Function(this.n+'.fade('+i+','+a+')'),20)
},
fade.prototype.fade=function(i,a){
    var p=this.u[i];
    if(p.o>=100){
        clearInterval(p.si); if((a||(this.a&&this.p))&&!this.u.ai){this.auto()}
    }else{
        p.o+=5; p.style.opacity=p.o/100; p.style.filter='alpha(opacity='+p.o+')'
    }
};
return{fade:fade}
}();
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T05:00:31+00:00Added an answer on June 6, 2026 at 5:00 am

    Replace fade.prototype.move function to following code

    fade.prototype.move=function(d,a) {
       if($(this).is(":hover") == false)
          var n=this.c+d, i=d==1?n==this.l?0:n:n<0?this.l-1:n; this.pos(i,a)
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have modified a website with a redirection to a single page: RewriteCond %{REQUEST_FILENAME}
I have modified unobtrusive validation script to replace error messages with qtips. To do
Recently I have modified my code to While taking input form STDIN, I moved
I have modified bx.slider to have the thumbnails underneath text content with an image
I have taken and essentially lightly modified a jQuery image slider to operate how
I have modified the code in this question ,according to the answers there, in
i have modified some open source code but i haven't figured how to change
I have modified the Apple sample code TableSearch, but there is one thing I
I have found a piece of code on the web and have modified it
I wrote this script awhile back and have modified it to use css sprites

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.