web design

jQuery thumbnail scroller

jQuery thumbnail scroller

A cool jquery/css thumbnail scroller plugin inspired by the ones made in Flash. It works by cursor movement or next/previous buttons, has auto-scrolling feature and it’s simple to configure and style through css.

How to use it

In order to implement the plugin, you first need to insert inside the head tag of your document the jquery.min.js (load it from Google CDN), the jquery-ui-1.8.13.custom.min.js (a custom build jQuery UI for custom animation easing) and the jquery.thumbnailScroller.css which is the file where you can style your scroller(s).

<link href="jquery.thumbnailScroller.css" rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script src="jquery-ui-1.8.13.custom.min.js"></script>

Next you’ll need to insert the markup of the thumbnail scroller with your images and links inside the body tag. The structure of the markup is exactly the same for every scroller instance. You can use class names e.g. .jThumbnailScroller or you can add a unique id for using multiple, different type scrollers on the same page.

<div id="tS2" class="jThumbnailScroller">
    <div class="jTscrollerContainer">
        <div class="jTscroller">
            <a href="#"><img src="thumbs/img1.jpg" /></a>
            <a href="#"><img src="thumbs/img2.jpg" /></a>
            <a href="#"><img src="thumbs/img3.jpg" /></a>
            <a href="#"><img src="thumbs/img4.jpg" /></a>
            <a href="#"><img src="thumbs/img5.jpg" /></a>
        </div>
    </div>
    <a href="#" class="jTscrollerPrevButton"></a>
    <a href="#" class="jTscrollerNextButton"></a>
</div>

The final step is to include the actual thumbnail scroller plugin (jquery.thumbnailScroller.js) and the function that calls and configures the scroller(s) at the end of your document, just before the closing body tag. We also add jQuery.noConflict(); for using the plugin along with other libraries (e.g. prototype, scriptaculous etc.). thumbnailScroller function selector can be id, class, tag name etc. (in this example the id of the .jThumbnailScroller div in the markup above).

<script>
jQuery.noConflict();
(function($){
window.onload=function(){
    $("#tS2").thumbnailScroller({
        scrollerType:"hoverPrecise",
        scrollerOrientation:"horizontal",
        scrollSpeed:2,
        scrollEasing:"easeOutCirc",
        scrollEasingAmount:600,
        acceleration:4,
        scrollSpeed:800,
        noScrollCenterSpace:10,
        autoScrolling:0,
        autoScrollingSpeed:2000,
        autoScrollingEasing:"easeInOutQuad",
        autoScrollingDelay:500
    });
}
})(jQuery);
</script>
<script src="jquery.thumbnailScroller.js"></script>

You can configure each scroller by setting the parameters of the function call as options

Options parameters

scrollerType: String
Scroller type based on mouse interaction, values:
"hoverPrecise"
(default)
"hoverAccelerate"

"clickButtons"
scrollerOrientation: String
Scroller orientation, values:
"horizontal"
(default)
"vertical"
scrollEasing: String
Scroll easing type only for hoverPrecise type scrollers
See jquery UI easing for all available easing types
scrollEasingAmount: Integer
Scroll easing amount only for hoverPrecise and clickButtons type scrollers (0 for no easing). Example:
scrollEasingAmount:800
acceleration: Integer
Acceleration value only for hoverAccelerate type scrollers, default: 2
scrollSpeed: Integer
Scrolling speed only for clickButtons type scrollers, values: milliseconds, Example:
scrollSpeed:600
noScrollCenterSpace: Integer
Scroller null scrolling area only for hoverAccelerate type scrollers (0 being the absolute center of the scroller and the default value), values: pixels
autoScrolling: Integer
Initial auto-scrolling (0 equals no auto-scrolling and the default value), values: amount of auto-scrolling loops
autoScrollingSpeed: Integer
Initial auto-scrolling speed, values: milliseconds, Example:
autoScrollingSpeed:8000
autoScrollingEasing: String
Initial auto-scrolling easing type
See jquery UI easing for all available easing types
autoScrollingDelay: Integer
Initial auto-scrolling delay for each loop, values: milliseconds, Example:
autoScrollingDelay:2500

Multiple scrollers

To set multiple scrollers with different style and features on a single page, give them a unique id and add a function call for each one. For example:

<script>
(function($){
window.onload=function(){
    $("#tS2").thumbnailScroller({
        scrollerType:"clickButtons",
        scrollerOrientation:"horizontal",
        scrollSpeed:2,
        scrollEasing:"easeOutCirc",
        scrollEasingAmount:600,
        acceleration:4,
        scrollSpeed:800,
        noScrollCenterSpace:10,
        autoScrolling:0,
        autoScrollingSpeed:2000,
        autoScrollingEasing:"easeInOutQuad",
        autoScrollingDelay:500
    });
    $("#tS3").thumbnailScroller({
        scrollerType:"hoverPrecise",
        scrollerOrientation:"vertical",
        scrollSpeed:2,
        scrollEasing:"easeOutCirc",
        scrollEasingAmount:800,
        acceleration:4,
        scrollSpeed:800,
        noScrollCenterSpace:10,
        autoScrolling:0,
        autoScrollingSpeed:2000,
        autoScrollingEasing:"easeInOutQuad",
        autoScrollingDelay:500
    });
}
})(jQuery);
</script>

You can style all and each scroller separately in jquery.thumbnailScroller.css.

Scrolling long content

There’s a bug in jquery.min.js that resets to 0, an animate value greater than 9999 pixels. This bug will affect the scroller if content width or height is equal or greater than 10000 pixels, resulting a scrolling jerk. This annoying bug is going to be fixed on a future release of the library. Until then, we need to come up with a temporary solution and since editing jquery.min.js is not the best of practices, we’ll overwrite the jquery function containing the buggy code ;)
Insert the following code below the window load function:

<script>
/* function to fix the -10000 pixel limit of jquery.animate */
$.fx.prototype.cur = function(){
    if ( this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null) ) {
      return this.elem[ this.prop ];
    }
    var r = parseFloat( jQuery.css( this.elem, this.prop ) );
    return typeof r == 'undefined' ? 0 : r;
}
</script>

Check the multiple scrollers demo to see all type of scrollers in action. The image thumbnails used in the demos are the work of Alex Varanese (http://www.alexvaranese.com).

Changelog

  • Oct 8, 2011
    • Changed anchors css display property to block and added float:left; (instead of display:inline-block;) to avoid extra whitespace between thumbnails
  • May 30, 2011
    • Plugin is greatly upgraded by the addition of new features and updated to be conflict-proof with other js libraries and scripts by changing css class names, thumbnailScroller function calling, jquery.thumbnailScroller.js and by adding jQuery.noConflict();
      Added 2 more scrolling types (3 total): an additional scrolling via mouse movement and a new scrolling type via next/previous buttons. The 3 types of scroller are: “hoverPrecise”, “hoverAccelerate” and “clickButtons”
      Added auto-scrolling feature
  • Feb 23, 2011
    • Automatically setting content width for horizontal scrollers is no longer calculated via javascript. Instead of using jQuery .each() or for statements, the width is now set by adding an additional div (.horWrapper) that wraps content and by setting the display of .container div to inline, thus expanding its width automatically (check the updated css file for details)
  • Jan 1, 2011
    • Modified the plugin to scroll images with different widths horizontally
  • Nov 29, 2010
    • Created a plugin out of the original script for easy implementation, configuration and multiple scrollers on a single page
      Minor code fixes and enhancements
  • Nov 26, 2010
  • Oct 18, 2010
    • Brad Mace added some code to increase the left and right margins of the thumbnail scroller in order to be easier to get the first and last thumbnails all the way on the screen, without having to move the mouse to the very edge. Script updated :) thanks Brad!

License

You are free to use, study, improve and modify this script wherever and however you like.
Creative Commons License All works are licensed under GNU General Public License, GNU Lesser General Public License or Creative Commons Attribution 3.0 Unported License.


540 Comments

Post a comment

Comments pages: 1 2 3

  1. alambrado
    Posted on May 16, 2013 at 00:24 Permalink

    Thanks for the script

    Reply
  2. criação de site
    Posted on May 9, 2013 at 00:08 Permalink

    do i need to delete some code?

    Reply
  3. john
    Posted on May 3, 2013 at 16:10 Permalink

    having a problem with the script..

    It loads and works fine.. however some of my other scripts stop working.. (Prettyphoto)

    Wondering if there is a way to get them to work together?

    Reply
  4. yaron
    Posted on April 28, 2013 at 14:58 Permalink

    hi.
    I find this plugin very good, and started some test to implement it on my web site.
    My thumbnails are all in same size (i.e 80×105).
    Im using the scroller with “clickButtons” type.
    Initial state is that i show 3 of them side by side inside a . and it looks good (same margings both sides..

    When I click the NEXT buttom few times, and thumbnails are scrolling, after a few scrolls to the same direction i lose the position of the thumbnails, i.e. i see “half” of thumb in the left, and half of thumb in right.

    My problem/question is:
    How you can controll the x-axis px movement amount ?

    ty

    Reply
  5. Rico
    Posted on April 25, 2013 at 04:29 Permalink

    Hi Malihu and thanks for your great plugin(s)!

    I’m trying to use jquery thumbnail scroller from inside a tab switcher. All is well when the tab containing the scroller is visible on page load; but if the page opens on another tab, since visibility is 0, jquery thumbnail scroller initializes with a height of 0.

    I believe I would need to issue a re-initialize command to the jquery thumbnail scroller when its tab is shown. Is there a simple way to do that? (see http://elricoshow.com)

    Thanks!

    Reply
  6. Udeh
    Posted on April 19, 2013 at 14:45 Permalink

    Thanks..

    Reply
  7. Aruna
    Posted on April 12, 2013 at 14:06 Permalink

    Hi,

    The thumbnail scroller works great on Firefox and chrome. But not in IE. When I hover over the images, instead of scrolling the whole div “jtscroller” shifts all the way out. Looking at the html in developer tools, everytime I hover the inline style “left” is a huge negative number.

    How do I fix this? I was able implement it without any issues in other browsers.

    Thanks
    Aruna

    Reply
  8. Andy
    Posted on April 5, 2013 at 19:49 Permalink

    Exactly what i was looking for. Thanks for sharing this info.

    Reply
  9. Menno
    Posted on March 25, 2013 at 12:30 Permalink

    Hi there! Can it be that the demo’s are no longer functional?

    Reply
  10. Desenvolvimento de Loja Virtual
    Posted on March 7, 2013 at 16:14 Permalink

    Thanks for the script! Very good.

    Reply
  11. Pavel Janecek
    Posted on March 1, 2013 at 07:29 Permalink

    HI, nice script so I have ui-1.10.1 for my website and not able to use this? is it my mistake or script is not fit for that version of jquery? is there anybody who knows? many thanks

    Reply
  12. stereo
    Posted on February 27, 2013 at 19:26 Permalink
  13. Robert
    Posted on February 23, 2013 at 18:36 Permalink

    There is a problem with web kit based browsers, not fully load the thumbnails, to update and loaded all updates again if not fully charged. This sucks. do not fix it since 2011.

    Existe un problema con navegadores basados en web kit, no carga completamente las miniaturas, al actualizar cargan todas y si nuevamente se actualiza no carga completa. Esto apesta. no arreglan esto desde el 2011.

    Reply
  14. Susan Delgado
    Posted on February 17, 2013 at 17:17 Permalink

    Your plugin is great! I wanted you to know that I believe someone has been selling you plugin as there own. http://codecanyon.net/item/thumbnail-scroller-wordpress-plugin/2068683
    I just wanted to help you protect what is yours.

    Reply
  15. Dale McConnell
    Posted on February 5, 2013 at 14:26 Permalink

    I had to modify it somewhat to allow the use of external elements as controls. The external elements of choice can now be set in the initial call.

    Oringinal
    var defaults={ //default options scrollerType:"hoverPrecise", //values: "hoverPrecise", "hoverAccelerate", "clickButtons" scrollerOrientation:"horizontal", //values: "horizontal", "vertical" scrollEasing:"easeOutCirc", //easing type scrollEasingAmount:800, //value: milliseconds acceleration:2, //value: integer scrollSpeed:600, //value: milliseconds noScrollCenterSpace:0, //value: pixels autoScrolling:0, //value: integer autoScrollingSpeed:8000, //value: milliseconds autoScrollingEasing:"easeInOutQuad", //easing type autoScrollingDelay:2500 //value: milliseconds }; var options=$.extend(defaults,options); return this.each(function(){ //cache vars var $this=$(this); var $scrollerContainer=$this.children(".jTscrollerContainer"); var $scroller=$this.children(".jTscrollerContainer").children(".jTscroller"); var $scrollerNextButton=$this.children(".jTscrollerNextButton"); - var $scrollerPrevButton=$this.children(".jTscrollerPrevButton");

    Changed to
    var defaults={ //default options scrollerType:"hoverPrecise", //values: "hoverPrecise", "hoverAccelerate", "clickButtons" scrollerOrientation:"horizontal", //values: "horizontal", "vertical" scrollEasing:"easeOutCirc", //easing type scrollEasingAmount:800, //value: milliseconds acceleration:2, //value: integer scrollSpeed:600, //value: milliseconds noScrollCenterSpace:0, //value: pixels autoScrolling:0, //value: integer autoScrollingSpeed:8000, //value: milliseconds autoScrollingEasing:"easeInOutQuad", //easing type autoScrollingDelay:2500, //value: milliseconds nextButton:'#next', prevButton:'#prev', }; var options=$.extend(defaults,options); return this.each(function(){ //cache vars var $this=$(this); var $scrollerContainer=$this.children(".jTscrollerContainer"); var $scroller=$this.children(".jTscrollerContainer").children(".jTscroller"); var $scrollerNextButton=$(options.nextButton); var $scrollerPrevButton=$(options.prevButton);

    Reply
  16. Ephraim
    Posted on February 5, 2013 at 02:37 Permalink

    Great plugin!
    Hoping you might have a solution for touch screens…??

    Reply
    • malihu
      Posted on April 18, 2013 at 13:33 Permalink

      Right now I’m developing version 2.0 of the plugin which will support touch-devices via touch-swipe scrolling (for iOS, Android, Microsoft tablets etc.).

      Reply
  17. Greebo_Gumjob
    Posted on January 31, 2013 at 19:31 Permalink

    Hi there.
    I did love this scroller until I found an awful bug. When you use the browser zoom, it totally breaks. Is there a way around this?

    Reply
    • malihu
      Posted on February 1, 2013 at 15:41 Permalink

      This happens on webkit browsers (known issue). I’ll fix it on the next plugin version.

      Reply
    • Christina Beymer
      Posted on May 4, 2013 at 09:38 Permalink

      What browser does it break in? What do you mean by break? Does it work if you reload. I can’t duplicate it. I tried in IOS (double tap) and it was fine. Are you talking about the command + zooming?

      Thanks!

      Reply
  18. Vincent
    Posted on January 10, 2013 at 10:34 Permalink

    Hi, I appreciate your work. It is very useful.

    But one thing I would suggest is: is it possible to make a scroller work if we change the width of jScrollerController in runtime? It is more flexible. I.e. developers can add more photos, or remove them as they like.

    Reply
    • malihu
      Posted on January 10, 2013 at 12:57 Permalink

      Hi and thanks a lot for the feedback!

      Next version will have many features regarding dynamic elements, such as adding/removing images and scrollers on-the-fly. I’m planning on making this plugin extremely flexible with user defined option parameters for each feature, callback functions, scroll-to method, thumbnail titles & descriptions etc.
      I’ll also make it really easy to implement by making all plugin markup generate automatically.

      At the moment I’m upgrading few image galleries (which is very time consuming) so I’ll probably publish the new version in 3 or 4 weeks.

      Reply
      • Marcel R
        Posted on April 17, 2013 at 13:54 Permalink

        Hi Malihu,

        Great plugin by the way. Tell me, will the upgraded plugin be responsive too? I’m finding that my websites plugins are needing to be upgraded making way for more and more tablet and smartphone usage. (responsive, touch, swipe etc)

        Reply
        • malihu
          Posted on April 18, 2013 at 13:35 Permalink

          Next version will fully support touch devices.

          Reply
      • Bush
        Posted on April 20, 2013 at 06:48 Permalink

        Do you have an updated ETA for the new version?

        Reply
        • malihu
          Posted on April 20, 2013 at 11:17 Permalink

          Early May (in about 2 weeks).

          Reply
  19. Dave
    Posted on January 10, 2013 at 04:27 Permalink

    Hi,

    I have 60 images and was wondering what controls the width of the scroll on the “on click” version.

    Reply
    • Dave
      Posted on January 10, 2013 at 05:09 Permalink

      For instance if I set the width to 1022 px, does the scroller scroll 1022 px when I click the next button?

      By the way, excellent job on this!

      Reply
      • malihu
        Posted on January 10, 2013 at 12:41 Permalink

        Yes, the scroll amount is the scroller’s visible width.

        Reply
  20. Oleg
    Posted on January 7, 2013 at 22:38 Permalink

    We are looking forward to use your thumbnals-scroller plugin in JSF (JavaServer Faces). This is exactly what I need currently, but we need a new version (you mentioned in the last post) as soon as possible. Please post here a link when it’s finished. Thanks.

    Reply
    • malihu
      Posted on January 8, 2013 at 01:23 Permalink

      I’ll try to include and publish at least the basic upgrades & features (better scrolling functions, touch support, dynamic elements etc.) as soon as possible.

      Reply
      • Oleg
        Posted on January 8, 2013 at 15:48 Permalink

        Basic functionality is fine.

        One question yet. Can images be loaded lazy? We have thumbnails which are loaded from a backend system dynamically. The loading takes some time. I would like to show placeholders first and load images when they are coming into the view (visible area). That mean, they will be loaded when scrolling. Is it possible with your plugin?

        Thanks for your effort! Looking forward.

        Reply
        • malihu
          Posted on January 8, 2013 at 18:42 Permalink

          I think you would need to give images a fixed width/height and call thumbnailScroller function on document ready (instead of window load). I’ll try to implement an automatic way of lazy-loading images on the next version.

          Reply
  21. Alberto
    Posted on December 27, 2012 at 10:07 Permalink

    i have error in chrome and safari. when i resized the window only works in firefox and explorer… i read some fix in this page but. not resolve my problem.??? you can view this bug in the demo (this page) resized and view the error.. (chrome)… some fix for this? help

    Reply
    • Alberto
      Posted on December 27, 2012 at 10:19 Permalink

      on hoverAccelerate

      Reply
      • malihu
        Posted on December 27, 2012 at 11:13 Permalink

        I’ll try to update the script with an updated hoverAccelerate function within the next week. Thanks for the feedback.

        Reply
        • Alberto
          Posted on December 28, 2012 at 23:13 Permalink

          Thanks Malihu! your are great bro!
          you can tellme when you finish? Reply this or sendme a email =).. or only update in the page, i still monitoring…. happy holidays y new year

          Reply
          • malihu
            Posted on December 29, 2012 at 01:40 Permalink

            I’m reading almost every comment before I finish a new plugin version in order to include users requests etc., so I’ll probably also reply here when done.
            Happy holidays :)

  22. Andrew
    Posted on December 23, 2012 at 10:35 Permalink

    Awesome script! Thank you!

    I was wondering if I wanted to hide the container of jThumbnailScroller, how do I make the script work when the container is hidden? Right now I’m hiding the container after setting scroller options inside window.onload function.

    If I try to hide the container before the thumnailScroller function, it doesn’t work properly,

    Thanks!

    Reply
  23. Big Chris
    Posted on December 21, 2012 at 15:06 Permalink

    I love these plugins. Well done Malihu. And thank you!

    Just a quick question on the thumbnail scroller…. you mentioned on a previous reply back in July (2012) that the next iteration of the plugin should support touchscreen “swipe” – i.e. to enable the thumbnail scroller to work by users swiping the gallery.

    Do you have an idea when the next iteration may be released….?

    I have had a play with your full-screen gallery (with thumbnails) and added an automated “timed slideshow” element to the script so when someone presses “play” it hides everything but the fullscreen picture and the “play/pause” button… works very well actually!

    The icing on the cake would be getting the thumbnail scroller to work on touchscreens… this would be one hell of a fullscreen gallery if we could get this working! All thanks to you!

    Regards,

    Chris

    Reply
    • malihu
      Posted on December 23, 2012 at 17:42 Permalink

      Hi Chris and thanks for your comments :)
      If everything goes well, next version will be released within January. I’m currently finishing a big update on the fullscreen image gallery that’ll have the touch-swipe support. I’ll publish the gallery update very soon (within the next couple of days).
      You can take a sneak-peek of the scroller here (please note that this link is beta and will probably change as I’m testing all kinds of stuff there).

      Reply
  24. wynn
    Posted on December 18, 2012 at 17:08 Permalink

    Hi, is it possible to join a lightbox?

    Reply
  25. bobsov
    Posted on December 1, 2012 at 22:37 Permalink

    The scroller plugin is great. However, it does not work with twitter bootstrap modal window. Any suggestion in tweaking css to make it work?

    Reply
  26. adoor
    Posted on November 17, 2012 at 19:48 Permalink

    Hi, this plugin is amazing!
    I want to use it in my WordPress website, but when I put

    into

    Conflict happens. All of my plugin fucked up.
    Is it because there’s other versions of jQuery working in my website?
    How do I combine them?
    Thanks very much!

    Reply
    • adoor
      Posted on November 17, 2012 at 19:50 Permalink

      sorry,it’s this script into :

      Reply
      • adoor
        Posted on November 17, 2012 at 19:51 Permalink

        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> into<head></head>

        Reply
  27. Adam
    Posted on November 7, 2012 at 20:10 Permalink

    Hello,
    A really good and stylish plugin, good work.
    I use the plugin for text and I would like to know how I can get the height to be dynamic.
    Right now, the height must be specified in pixels, is there any quick fix to make it to be auto.

    Regards

    Reply
  28. Lore
    Posted on November 6, 2012 at 06:27 Permalink

    Hi,
    I’d like to see an update which works with the most recent version of Jquery.
    Thanks!

    Reply
    • malihu
      Posted on November 7, 2012 at 18:15 Permalink

      Hello,
      I’ve tested the script with jquery 1.8 and it does work. Which version of jQuery and jQuery UI are you using?

      Reply
  29. Patrick
    Posted on October 27, 2012 at 23:06 Permalink

    I’m developing a website for a friend and found this amazing plugin. But I’m not able to get it autoscrolling. If possible, I’d like to have both features, autoscroll and mouse action. Does anybody have a suggestion?

    Reply
  30. Abell
    Posted on October 19, 2012 at 01:06 Permalink

    This works great, I have a lot of pictures Im trying to slide through but the scroller will show half of the next one and then when I click the next button it only shows the other half of that picture, is there any way I can tell it how many pixels for each section (each section you see till you say next)?

    Reply
  31. Bruno
    Posted on October 16, 2012 at 20:23 Permalink

    Hi! Its working very fine to me! But i need one thing: It´s possible add one diferent class and take it to the center the anchor tag selected or mousehovered?
    Thnak´s for this great plugin.

    Reply
  32. Mohd Ilyas
    Posted on October 12, 2012 at 14:20 Permalink

    Can any body help me to have a continuous auto scroll with constant speed my Jquery Settings are as follows
    $(“#tS2″).thumbnailScroller
    ({ scrollerType:”hoverAccelerate”,
    scrollerOrientation:”horizontal”,
    scrollSpeed:2,
    scrollEasing:”easeOutCirc”,
    scrollEasingAmount:600,
    acceleration:4,
    scrollSpeed:800,
    noScrollCenterSpace:0,
    autoScrolling:1,
    autoScrollingSpeed:8000,
    autoScrollingEasing:”easeInOutQuad”,
    autoScrollingDelay:2500})
    });

    but its not working as I wanted to be its rotating only 1 time from and the speed increasing constantly while rotating.’you can see it on http://72.3.234.248/stoneworld/Default.aspx

    I would be very much tahnk full if any body would solve and mail me on ahe_ilyas_at_yahoo_dot_com

    I want constant speed continuous scroll

    Reply
  33. kim
    Posted on October 12, 2012 at 09:13 Permalink

    Great scroller! Very pretty!

    I’ve gone through some of the comments and didn’t notice this. How do I make an image appear above the scroller on click of the thumbnail?

    Any help would be appreciated!

    Thank you!

    Reply
  34. Latasia
    Posted on October 10, 2012 at 14:41 Permalink

    Wondering if there is any way to use a more current version of the jQuery library, like 1.8.2 instead of 1.5?
    I cannot use both together that I know of. If I just switch it all to the 1.5 jQuery library, then I lose functionality of other parts of my site that are utilizing 1.8.2 (:

    Great tutorial and amazing script! It’s really helping me understand jQuery more!

    Reply
    • malihu
      Posted on October 10, 2012 at 16:05 Permalink

      You can use the script with latest jQuery (1.8.x)

      Reply
  35. Aaron
    Posted on October 8, 2012 at 04:09 Permalink

    If the contents of are modified by AJAX, how do you call the function again to update the scroll bar? I see window.onload right now but I need to do this on the fly.

    Reply
  36. Rhys Davies
    Posted on October 7, 2012 at 00:15 Permalink

    Instead of having the content show on just one horizontal line, is there a way to add another horizontal row directly beneath the first?

    Reply
  37. chris
    Posted on October 2, 2012 at 16:14 Permalink

    hi, great plugin. Im using it for an auto scroll on a bunch of thumbnails. When i initiate the auto scroll it seems to accelerate as the scroll progresses, is there a way to keep the scroll speed the same all the way through the animation? Also, is there a way to loop back to the first thumbnail when it gets to the end of the the div, rather than reversing the animation?

    Reply
  38. lcdung
    Posted on September 30, 2012 at 16:55 Permalink

    Thanks so much!

    Reply
  39. tcuser
    Posted on September 26, 2012 at 17:27 Permalink

    This a really nice script. Is it possible to set a default position? Like set item number in the middle of scroller view field.

    Reply
  40. David
    Posted on September 24, 2012 at 06:36 Permalink

    Really want a fix for dramatic window resize.

    Going from 960 to 1920 width completely breaks the precise scrolling. I think it’s just dimension fix needed on resize. Should be quick fix for someone coding js at your level…

    Reply
    • David
      Posted on September 24, 2012 at 07:06 Permalink

      I actually just found a nice workaround.

      The main issue I was having was going from pretty small (windows size), to quite large. While I had modified the .jThumbnailScroller css to be a width of 80%, the math gets to be off and it looks quite broken to the user.

      My simple fix, which was a compromise, but still looks good, was append max-width: 960px, after width: 80% .

      Effectively, this make the math okay again :) and it still looks good overall.

      Reply
      • Alberto
        Posted on December 27, 2012 at 10:06 Permalink

        this not solved in chrome and safari. only works in firefox and explorer… other solution??? you can view this bug in the demo (this page) resized in view the error.. some fix?

        Reply
  41. Philip Fredericia Sacht
    Posted on September 6, 2012 at 17:26 Permalink

    thank you so much for this module. helped me alot! free on top of that. mmm!

    i have a question for you though, regarding the autoscroll function contra the hover function.

    when i hover on the scrollbar on autoscroll it disables the autoscroll function and stops until page is refreshed once again.

    Q: is there a way to make is continue autoscroll after you hover on it?

    dearest phillip

    thank you in advance

    Reply
  42. Amrinder
    Posted on September 4, 2012 at 00:51 Permalink

    Hi malihu

    Thanks alot for this plugin.
    I have a problem, i have to make vertical scroller with two fixed arrows (one on top and one on bottom). when click on bottom arrow scroller should move downwards and vice-versa)
    Pls help

    Reply
  43. Mirko
    Posted on August 24, 2012 at 00:16 Permalink

    Hi Malihu,

    I was wondering if you maybe have an time estimate on when will you update the plugin.
    I think that swipe gestures are really needed to go along with hoverAccelerate version of the plugin.

    That functionality would make this plugin complete!! Or do you maybe have some dirty fix to make hover version work with swipe gestures? Maybe combining with hammer.js or some other script?

    Many thanks

    Reply
  44. seangou
    Posted on August 21, 2012 at 07:05 Permalink

    Great job malihu.. really useful plugin, thanksssss!!!!

    And now I got a problem. I upload images by using ajax and the scroll does not work. Is there any way to fix with that?

    Reply
  45. robert
    Posted on August 20, 2012 at 18:20 Permalink

    Excellent scroller, thank you so much for putting it out!

    Having trouble with the scroller type. They all work for me except the “clickButtons,” is there any reason why the other types would work and not this one? Is there any other settings I need to change if I want this type to apply? I’ve checked the code multiple times between the examples and mine and can’t figure out what the issue is.
    Thanks!

    Reply
  46. stereok
    Posted on August 16, 2012 at 21:38 Permalink

    the vertical scroll is still broken in IE, images scroll horizontally. Is there an update for that?
    Otherwise , very nice script.

    Reply
    • stereok
      Posted on August 16, 2012 at 22:51 Permalink

      solved the issue by changing the css jTscrollerContainer and .jThumbnailScroller#tS3 position to relative, yet the scroll is kind of jumpy in IE8.
      I have another Q though, I could use a function that would automatically scroll the script to a specific image id given in the href tag ( this way I can group images in categories, and when click on a category link the script will scroll to that category start image). Is that possible?

      Reply
      • malihu
        Posted on August 17, 2012 at 15:08 Permalink

        Not possible at the moment. I’ll definitely implement such feature on the next version of the plugin (I plan on developing version 2.0 soon). Thanks for the suggestion.

        Reply
        • stereok
          Posted on August 17, 2012 at 17:14 Permalink

          well, I managed to do some kind of a dirty fix that will suit my needs for now (I’m not much of a scripter) using Alro’s code from his comment.
          That is I’ve declared an empty namespace var. to be able to access Alro’s custom function inside the windows.onLoad code that will make the image with the specified ID go at the top of the scroller when called by an onClick event on my href. The only drawback is the scroll happens instantly, click on the link and the scroller jumps directly to that image. Something like this:

          window.IDscroll= {};
          (function($){
          window.onload=function(){
          $(“#tS3″).thumbnailScroller({
          //all the scroller params;
          });

          window.IDscroll.bh = function(myid) {
          var posOne= 10 – $(‘#’+myid).position()['top'];
          $(‘#tS3 .jTscroller’).css(‘top’, posOne); }
          }})(jQuery);

          and in HTML on the href tag I have the onClick=”window.IDscroll.bh(‘picture3′)” that will make the scroller jump to the picture with id=”picture3″ .

          Reply
        • Hemant
          Posted on October 17, 2012 at 11:56 Permalink

          I have same situation is there any updation for this on jquery thumbnail scroller, i have tried according to category but still slider images not loaded,as width is not set for jscroller container.please let me know asap .

          Thanks
          Hemant

          Reply
  47. Eric
    Posted on August 15, 2012 at 00:17 Permalink

    Hi! Thanks for this beautiful work. I’ve installed this thumbnail scroller on the new version of my website, using thumbnails pulled from a database. I’ve run into a curious problem that only seems to happen in Firefox, the last image will appear below the other images, pushing the format out.

    It happens here: http://durangoplants.com/durangoplants.php?plantdisplay=yes&id=3 but it does NOT happen here…

    http://durangoplants.com/durangoplants.php?plantdisplay=yes&id=18

    Any idea what I might be missing?

    Reply
  48. Joern
    Posted on August 13, 2012 at 15:57 Permalink

    Thanks for sharing, it is really nice.

    I found one issue. Using HTML5 doctyp <!DOCTYPE html>) causes a white border at the bottom of the thumbnails. In that case it looks like the calculated hight is different. Maybe you want/can fix that problem.

    Reply
    • Kirill
      Posted on February 13, 2013 at 10:45 Permalink

      It has nothing to do with the html version. White space at the bottom of images appears because display: inline is default.
      The solution is to add a css line:
      a img { display: block; }

      Reply
  49. Zac
    Posted on August 13, 2012 at 11:31 Permalink

    Sorry, one other question!

    For the Thumbnail Scroller, is it possible to snap to nearest image on scroll? Otherwise there are some images that are never ‘fully visible’. If you know what I mean.

    Eg. images that flow across 2 section

    Reply
    • malihu
      Posted on August 15, 2012 at 14:44 Permalink

      Not currently possible. Check comment 248 to see if another custom script I made suit your needs.

      Reply
  50. Biffa
    Posted on August 11, 2012 at 18:49 Permalink

    I adore this image scroller alot. However when I saw it on another site, the images popped out upon clicking which doesn’t happen in the live demo. (Be nice I’m a teenybopper teaching herself joomla /design/coding) Would I need to do something separate to make this happen?

    Reply
  51. lorenco
    Posted on August 11, 2012 at 01:05 Permalink

    hi,

    in your custom jquery ui what functions are included? one easing and other else?

    Regards

    Reply
    • malihu
      Posted on August 15, 2012 at 14:36 Permalink

      Just the core and easing functions of jQuery UI.

      Reply
  52. Zac
    Posted on August 10, 2012 at 07:53 Permalink

    Great plugin!

    Just wondering if you can suggest the best way to make the scroller move 1 thumbnail at a time, rather than a whole screen width?

    Reply
    • malihu
      Posted on August 10, 2012 at 17:42 Permalink

      The plugin does not provide an option to scroll by thumbnail. However, I’ve made a similar custom script that does what you need. Get it here:
      http://manos.malihu.gr/tuts/products-scroller.zip

      Reply
      • Zac
        Posted on August 12, 2012 at 09:18 Permalink

        Thank you! Much appreciated

        Reply
      • Zac
        Posted on August 13, 2012 at 11:23 Permalink

        Any idea how I could get this to still work in IE7? That is my only issue now :(

        Reply
  53. someone
    Posted on August 9, 2012 at 13:48 Permalink

    Hello,

    there is a serious bug in the script, if you resize the window on any platform or zoom in the browser on windows, the scroller gets messed up. I reproduced the issue even on your demo.

    thanks

    Reply
  54. Kevin
    Posted on August 8, 2012 at 18:44 Permalink

    Great script but i have some problems.

    Is there any way there is no actual ease animation? I mean, i just want ti to scroll with the same speed the whole time, as it is now, it just speeds up until it reaches the end point and in jquery ui ease effects there is no such thing.

    also, is there any way when you hover an image to just pause?

    one last thing, does anybody else has “jumpy” issues? the animation seems like going a bit shaky (as well as when hovering with mouse)

    thank you!

    p.s: basically what im trying to do is replace Flash Image Scroller FX with this script..

    Reply
  55. Daniel
    Posted on August 5, 2012 at 10:07 Permalink

    Hello,

    I’m having a problem with right-to-left content. My page has “direction: rtl” under body, and the scroll shows blanks after the first click. Any help would be appreciated! Thanks!

    Reply
  56. gil
    Posted on August 3, 2012 at 21:16 Permalink

    hi, great plugin and all but i have a problem, the code that is inside the body is making my code in the head not work, how can i fix this? here´s my code.

    any ideas ?

    <head> $(document).ready(function() { $('nav#primary a').hoverIntent( function () { $(this).prev().show('.1'); }, function () { $(this).prev().hide('.1'); } ); }); </head> <body> <script> jQuery.noConflict(); (function($){ window.onload=function(){ $("#tS2").thumbnailScroller({ scrollerType:"hoverPrecise", scrollerOrientation:"horizontal", scrollSpeed:2, scrollEasing:"easeOutCirc", scrollEasingAmount:600, acceleration:4, scrollSpeed:800, noScrollCenterSpace:10, autoScrolling:0, autoScrollingSpeed:2000, autoScrollingEasing:"easeInOutQuad", autoScrollingDelay:500 }); } })(jQuery); </script> </body>

    Reply
  57. robert
    Posted on August 1, 2012 at 05:57 Permalink

    hi,

    just want to make sure that, the only document that i have to modifi is only jquery.thumbnailScrollerOriginal.js? rigth?

    Thanks.

    Reply
  58. wasykes
    Posted on July 26, 2012 at 23:38 Permalink

    I am right in understanding that this doesn’t work with Magento?

    Reply
  59. jukrzy
    Posted on July 23, 2012 at 16:54 Permalink

    Hi, I have a problems with the horizontal scroller. On Firefox is works perfect with the hoverAccelerate, but when I try it on Chrome, it seems to give me a few thumbnails and then starts over on the next row instead of flowing in one line. Also to let you know, I’m scrolling articles and not just thumbnails. I hope you can figure out a solution for me. Thanks.

    Reply
    • Marcus Ellend
      Posted on February 28, 2013 at 20:04 Permalink

      I had the same problem here. You have to add a with declaration to the “a” tag style and then it will work. Example:

      .jThumbnailScroller .jTscroller a {– other stuff –; with: 180px;}

      Reply
  60. Meadsy
    Posted on July 22, 2012 at 23:50 Permalink

    Hi great script, thank you.

    I’m sorry if this has been addressed already but I have been unable to find it so far. Can I automatically scroll the scroller to the start by clicking a link?

    Cheers

    Reply
  61. wasykes
    Posted on July 19, 2012 at 21:18 Permalink

    Sorry forgot to mention that this scroller has been implimented into a Magento theme, but for some reason the buttons are working to scroll the images.

    Here is the code used:
    <div id="tS3" class="jThumbnailScroller"> <div class="jTscrollerContainer"> <div class="jTscroller"> <?php if (count($this->getGalleryImages()) > 0): ?> <ul class="img-list"> <?php foreach ($this->getGalleryImages() as $_image): ?> <li><a href="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile());?>" class="fancybox" rel="product-images"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(60); ?>" alt="" width="60" height="60" /></a></li> <?php endforeach; ?> </ul> </div> </div> <a href="#" class="jTscrollerPrevButton"></a> <a href="#" class="jTscrollerNextButton"></a> </div> <script> jQuery.noConflict(); (function($){ window.onload=function(){ $("#tS3").thumbnailScroller({ scrollerType:"clickButtons", scrollerOrientation:"vertical", scrollSpeed:2, scrollEasing:"easeOutCirc", scrollEasingAmount:600, acceleration:4, scrollSpeed:800, noScrollCenterSpace:10, autoScrolling:0, autoScrollingSpeed:2000, autoScrollingEasing:"easeInOutQuad", autoScrollingDelay:500 }); } })(jQuery); </script> <script src="jquery.thumbnailScroller.js"></script>

    Once again, any assistance is appreciated.

    Reply
    • wasykes
      Posted on July 21, 2012 at 16:27 Permalink

      Buttons are not working :o |

      Reply
  62. Cris
    Posted on July 19, 2012 at 14:16 Permalink

    me again;)

    I fixed the buttons problem (i just deleted by mistake the button links from my html..ups)

    now the buttons appear, but both in the corner up-left.

    any idea why? I’m gonna touch the css, but maybe its a bug.

    ah! another bug! on Firefox sometimes doesn’t show all the pictures.

    ps: I love this script =)

    Reply
    • Cris
      Posted on July 19, 2012 at 16:42 Permalink

      mmmm… and the arrows don’t show on Firefox :S

      Reply
  63. Cris
    Posted on July 19, 2012 at 11:44 Permalink

    hi, it’s me again =)

    Im changing the scroll from hoverprecise (in this option everything works properly) to buttons, but when I change this value here..

    jQuery.noConflict();
    (function($){
    window.onload=function(){
    $(“.jThumbnailScroller”).thumbnailScroller({
    scrollerType:”clickButtons”,
    scrollerOrientation:”horizontal”,
    scrollSpeed:2,
    scrollEasing:”easeOutCirc”,
    scrollEasingAmount:600,
    acceleration:4,
    scrollSpeed:800,
    noScrollCenterSpace:10,
    autoScrolling:0,
    autoScrollingSpeed:2000,
    autoScrollingEasing:”easeInOutQuad”,
    autoScrollingDelay:500
    });
    }
    })(jQuery);

    it doesn’t move neither the buttons appear…. do you have any idea why can it be?

    thank you very much

    Reply
    • Cris
      Posted on July 19, 2012 at 19:34 Permalink

      solved, i deleted the links by mistake =)

      Reply
      • luisa
        Posted on January 23, 2013 at 05:06 Permalink

        Cris ,
        I have the same problem, but I’m not sure what links you are referring tom
        thanks

        Reply
  64. inspire
    Posted on July 18, 2012 at 18:35 Permalink

    Exactly what I was looking for

    Reply
  65. Seb
    Posted on July 18, 2012 at 14:00 Permalink

    Hello,

    I’ve recently implemented this thumbnailscroller (I first gave a try to the also great custom scroller) in one of my website’s pages and it works very well.
    Maybe the following question will be here somehow out of place and I will understand if I get no reply to it.
    I’m totally new to web design, I’ve just learned html and css by myself and I think I’ve done so far good stuff in my website. I’m now implementing enhancements like the thumbnail scroller.
    I’m currently working off-line using notepad++, and html 5 doctype.
    When I launch the page with the plugin in IE9 I get the browser’s allow or block scripts in this page question. But if I open this page’s demo in the same browser it loads without any interruption.
    The question is why the same script pops the question up if contained in my page and not if contained in yours?
    It also makes me wonder what else I must learn besides html and css.
    Thanks a lot.

    Reply
    • malihu
      Posted on July 18, 2012 at 14:11 Permalink

      Hello,

      It’s just a security feature of IE when opening pages that contain scripts locally. Just click “allow” ;) When you open pages from a live server (online) you don’t get such messages (that’s why you don’t see the security alert when you open the demo).

      Reply
      • Seb
        Posted on July 18, 2012 at 14:40 Permalink

        So it’s a fact of live or local execution, that simple it is! It makes me feel reasured cause I’m just starting to swim into the scripts’ waters and I already have lots of wrinkles in my forehead with all the noscript coding. Thanks again.
        Somewhere in the future I’ll post a comment filling the website input so you can see your plugins in action if you want.

        Reply
  66. Stacked Images when not 600px fixed size
    Posted on July 16, 2012 at 20:51 Permalink
  67. wasykes
    Posted on July 15, 2012 at 22:56 Permalink

    For some reason I can seem to get the buttons on the scroller to scroll the images up and down.

    Any assistance would be highly appreciated.

    Reply
  68. wezyr512
    Posted on July 14, 2012 at 13:57 Permalink

    Thank you very much for scroller!
    I have little problem with moving thumbnails in axis Y. How can I disable this? Is any way to remove this option in script? My thumbnails move about 10px up and down invert direction than mouse cursor. I used in my page parallax script to make layers moving but this should only work in div with class “shell”. When I move out whole thumbnail scroller div from “shell” is still this effect on thumbs. When I even remove parallax script from page is not help. I’ll be appreciate for help! Thanks a lot!

    Reply
    • wezyr512
      Posted on July 26, 2012 at 16:55 Permalink

      Malihu, can you help me with this? How can I remove Y axis in script? I’ll be grateful

      Reply
      • malihu
        Posted on July 27, 2012 at 16:24 Permalink

        Find line:
        $scroller.stop(true,false).animate({left:destX,top:destY},options.scrollEasingAmount,options.scrollEasing);
        Replace with:
        $scroller.stop(true,false).animate({left:destX},options.scrollEasingAmount,options.scrollEasing);

        Reply
        • wezyr512
          Posted on August 2, 2012 at 21:57 Permalink

          Works great! Thank you very much for plugin and for you help!

          Reply
  69. Chris
    Posted on July 12, 2012 at 16:05 Permalink

    Very nice script, it works beautifully. One question. Is there a way to make it start somewhere other than thumbnail 1. So if I had a row of 50 thumbs for example, could I make it load with thumb #25 showing giving me the option to scroll left and right to see the others?

    Many thanks.

    Reply
  70. cris
    Posted on July 10, 2012 at 20:44 Permalink

    Hello, I put your plugin in my page, but when I enter with mobile or ipad or any touch device the scroll (non buttons version) is not working properly, any suggestion? or should I switch to the buttons version?

    Thank you

    Reply
    • malihu
      Posted on July 11, 2012 at 02:46 Permalink

      Yes, currently there’s no touch-device support for non-buttons scroller. I’ll definitely implement such feature on the next plugin update.

      Reply
      • flavin
        Posted on April 2, 2013 at 21:08 Permalink

        Now the ipad, iphone are supported?

        thanks for you great plugin

        Reply
        • malihu
          Posted on April 2, 2013 at 21:18 Permalink

          I’ll release version 2.0 very soon. Among others, it’ll support all touch devices (iOS, Android, MS windows 8 etc.)

          Reply
  71. Herman
    Posted on July 9, 2012 at 10:03 Permalink

    This is a great plugin. Is it possible when clickin the right or left arrow, it slides not 100% of width, let say slide 100px for every click? Thx Dude!!

    Reply
    • malihu
      Posted on July 9, 2012 at 15:12 Permalink

      Nope sorry. I’ve made another custom plugin that works only horizontally with left/right buttons and scrolls the images by each next image width. Depending on what you need to do, this could be what you need. Let me know so I can send it to you.

      Reply
  72. cristina
    Posted on July 8, 2012 at 12:44 Permalink

    Hello,

    I wonder what can I do to make the miniatures fit the scroller when the miniatures are bigger than the scroller. Any help would be welcome, I’m new in jquery.

    Thank you.

    Reply
    • malihu
      Posted on July 9, 2012 at 15:16 Permalink

      You can do it with css. For example, if you want your images to fit in 150 pixels height, you could do something like:
      .myImagesClass{ height: 150px; width: auto; }

      Reply
  73. Bryan
    Posted on July 5, 2012 at 23:05 Permalink

    love the scroller — it’s just the functionality I needed on my personal site.

    One question: is it possible to change the background color of the scroller window? I’ve fiddled with everything that looks like a hex color code in your script with no result.

    Is there a value where I can use a standard 6-digit hexadecimal code?

    Thanks in advance… my programming knowledge is limited!

    Reply
    • Chris
      Posted on July 12, 2012 at 16:08 Permalink

      Have you tried adding background-color:#ff3344 (for example) to .jThumbnailScroller ?

      Reply
  74. title on hover
    Posted on July 2, 2012 at 18:34 Permalink

    Hi, I would like to know if there is any way to show the title of the picture when you put the cursor on the picture (on hover).

    Thank you

    Reply
  75. Michael M
    Posted on July 2, 2012 at 03:56 Permalink

    Hi! Thanks for all the wonderful work you do!

    I was wondering if it’s possible to scroll divs instead of images? I am going to go ahead and try it anyway, i couldn’t see anything in the comments. Thanks!

    Reply
    • Michael M
      Posted on July 2, 2012 at 04:59 Permalink

      I’m dumb, I checked the code and it makes sense. This works AMAZINGLY for scrolling content as well. Thanks again for being amazing!

      Reply
      • malihu
        Posted on July 2, 2012 at 12:51 Permalink

        Indeed you can scroll anything you want. Sorry for not posting an example of scrolling other content but I focused on images as it’s the most common implementation.

        Thanks for your comments Michael :)

        Reply
  76. Maria
    Posted on June 30, 2012 at 05:50 Permalink

    Hi,

    First, thanks for the wonderful scroller.

    Now that I’m convinced this is the best scroller I could get, I got stuck on 2 issues:
    1- My content is RTL and I need to invert the whole scroller motion. Is there a way to have the scroller scroll right to left?

    2- I’ll be using the “clickButtons”, I want the scroll “space” to be less than the full width. Rather, I want to set it to something small so that the user controls the scrolling as my images are being cut midway using the default scrolling width. How to assign the scroll offset width?

    Thanks in advance.

    Reply
  77. jaouadnet
    Posted on June 29, 2012 at 15:11 Permalink

    It’s me again I just would like to know how make 3 scrolls that looks exactly the same (horizontal and width:100%) in the same page.
    i think for me help

    Reply
    • malihu
      Posted on June 30, 2012 at 07:21 Permalink

      Hi,
      Give them the same class (e.g. .myClass), style this class via css and call the plugin like this:
      $(".myClass").thumbnailScroller();

      Reply
      • Cristina
        Posted on July 1, 2012 at 21:05 Permalink

        should I change the first class jThumbnailScroller for myClass? or how do you mean?

        thank you =)

        Reply
        • malihu
          Posted on July 2, 2012 at 12:45 Permalink

          No, you can keep jThumbnailScroller if you want and call the plugin:
          $(".jThumbnailScroller").thumbnailScroller();

          Reply
          • cristina
            Posted on July 2, 2012 at 15:52 Permalink

            thank you so much for your help , you’re amazing for answering to all of us.

            =) peace!

  78. Cristina
    Posted on June 28, 2012 at 18:25 Permalink

    It’s me again, I just would like to know how to make 2 scrolls that looks exactly the same (horizontal and width:100%) in the same page.

    Reply
  79. Cristina
    Posted on June 28, 2012 at 17:45 Permalink

    Hello, first of all say that this scroller is great, not very often you find something made with good taste =)
    Second say that I’m trying to put it on my website, in fact 2 scrolls the same, so I don’t need the id selector, but I dont know how to use it to call the function, Im trying with the id but It doesn’t work properly, it not even scroll. So I would like to ask for some help if possible.

    thank you

    Reply
  80. Matt
    Posted on June 18, 2012 at 07:56 Permalink

    I love the plugin, but it seems there is a problem with the scrolling function. It was scrolling as normal, but now when scrolling from right to left, it also scrolls down from top to bottom and the images disappear. How can I fix this?

    Reply
    • malihu
      Posted on June 26, 2012 at 21:44 Permalink

      Hi,
      Probably your contents height is greater than the container. Check your css to see if jThumbnailScroller has the correct height of its contents.

      Reply
  81. brad-t
    Posted on June 17, 2012 at 06:35 Permalink

    Hi malihu,

    Thanks for the great idea and for all of your support since you published this. I have a question that hopefully you can help me with. I am using what’s likely a much narrower implementation of this than usual, and what I would like to know is:

    Is it possible to set it up so that when clicked, rather than moving to the next unseen section of images, it centers the next image in the sequence? The issue for me is that sometimes we never see the entirety of the image together:

    For ten images, nine clicks would be necessary to cycle through them all.

    Reply
  82. Nishant
    Posted on June 16, 2012 at 09:11 Permalink

    Hi I love this script but I have a small problem In this link (http://manos.malihu.gr/tuts/jquery_thumbnail_scroller_absolute_position.html) how can I Manage the speed of scrolling..???

    Sry for Bad english….

    Reply
    • malihu
      Posted on June 26, 2012 at 21:49 Permalink

      You cannot change the scrolling speed (there’s none). Scrolling position is determined by how fast you move the mouse over the images area (e.g. if you move mouse slowly, the scrolling “speed” is slow).

      Reply
  83. Rodrigo
    Posted on June 12, 2012 at 19:10 Permalink

    Hello,
    This code is fantastic, but I need a little help with this code.

    I am using this code to display in the div about 200+ pictures, then when someone choose the picture, the scroller should fix the image select at the center and the others in they respective position.

    Example:
    If i have selected image15

    then it should display:
    image13 image14 IMAGE15 image16 image17

    Have someway to autoscroll to this position?

    thank you;

    Reply
  84. arnlig3550
    Posted on June 11, 2012 at 18:48 Permalink

    hello,
    what is the solution for put two times the same scroller on the same page?
    I did a copy / paste the code but only one works, the second does not work!
    thanks !

    Reply
  85. Mika
    Posted on June 9, 2012 at 09:47 Permalink

    Hello, I’m using your plugin is fantastic.

    But I have a little problem.

    I’m using it with: scrollerType “clickButtons” and scrollerOrientation “horizontal” but if someone clicks on the buttons while loading the images on the screen scroll the browser goes to the top.

    It’s annoying, because I’m using the plugin in the bottom of the page, and you have to load many images.

    If an impatient user, clicks, position shifts to the top of the page.

    As I can avoid this? Thank you!

    Reply
    • robert
      Posted on August 17, 2012 at 22:34 Permalink

      I’m running into this problem too… Did you ever figure this out?

      Reply
  86. Camille
    Posted on June 6, 2012 at 20:56 Permalink

    Thank you for developing this scroller! Is there a way to add a short caption under each image?

    Reply
  87. MSR
    Posted on June 6, 2012 at 19:48 Permalink

    Hello,
    Thanks for the scroller. It works great. I have a small request.
    Is there a way to set a scroll position. I want to remember the scroll position of the user and show the user the same position after the page is re-loaded.
    Thank you in advance.
    MSR

    Reply
  88. Dan V
    Posted on June 5, 2012 at 21:43 Permalink

    Hi. I’m using the expanding horizontal scroller…

    When the browser window is more than about 1300px wide, and the scroller is all the ways to the right, I get a jitter like some people have mentioned here before. Have you found a solution to this yet?

    Also, (apologies if this is an obvious question…) but I have some interactive elements within the scroller which I would like to have stop the scroller on mouseenter. How do I do this?

    Here’s a link if you need… http://www.wp.mpa.voyced.com

    Thanks so much and awesome work!

    Dan

    Reply
  89. Olivier
    Posted on June 4, 2012 at 23:10 Permalink

    Hi,

    Thank you for the plugin, is very nice,

    But I have a little bug (maybe me), I want a horizontal scroll, and this working,

    But this is scrolling vertically also, top =-4px on .jTscroller, so this is a good effect for the eyes,

    How can I have take off the vertical scrolling ?

    http://www.capponiconstruction.com/category/group-qualifications/

    Thanks
    Olivier

    Reply
    • malihu
      Posted on June 5, 2012 at 15:28 Permalink

      Your jThumbnailScroller has 71 pixels height. It should be 68 pixels just by inspecting your code with firebug. All your divs inside jThumbnailScroller are 68 pixels high.

      Reply
      • olivier
        Posted on June 12, 2012 at 02:48 Permalink

        Thank you for the tip,

        I have another question, how can I always display left and right arrow. The script display none my arrow

        Thanks
        Olivier

        Reply
        • olivier
          Posted on June 12, 2012 at 02:52 Permalink

          And display the arrow on the left and right of the div .jTscrollerContainer, so not in the picture ?

          Reply
  90. Mario
    Posted on May 28, 2012 at 12:51 Permalink

    Hi, if i enable auto scrolling in horizontal , the scroll works, but, it moves also in vertical position. Is there a configuration I mess?

    Reply
    • malihu
      Posted on May 28, 2012 at 13:19 Permalink

      Hi,
      It’s best to set the exact height of the container in css (including inner heights, margins, paddings etc.)

      Reply
    • Mario
      Posted on May 28, 2012 at 13:24 Permalink

      Solved , in the css I’ve modified
      .jThumbnailScroller .jTscroller{position:relative; height:100%;
      with

      .jThumbnailScroller .jTscroller{position:relative; height:100px;

      using the same dimension in pixel as the container.

      Reply
  91. Diego
    Posted on May 17, 2012 at 18:58 Permalink

    Hello all, brother, I have a problem, how do I get when I move the scroller, to reload the page remains in the stop position, that is, if I position myself in the last image, click and you doi reloading the page, how do I appear in the position of the last picture?

    Reply
  92. GaryS
    Posted on May 16, 2012 at 14:25 Permalink

    Hi all,

    Im looking to add page indicator to this, how could I extend this to add a callback on the previous & next buttons to update a parent div???

    Thanks, G

    Reply
  93. Alpen
    Posted on May 14, 2012 at 13:08 Permalink

    As Will asked a long time ago, I’d like to know if someone found a way to externally call the plugin to scroll to a specific element ?

    Thanks !

    Reply
    • Alpen
      Posted on May 14, 2012 at 13:28 Permalink

      Ok, easy one.

      $(“.jTscroller”).stop().animate({‘left’: hereYouGo});

      Reply
  94. Jay
    Posted on May 8, 2012 at 13:00 Permalink

    Hello all,

    Can anybody tell me how to add youtube videos in this scroller? I tried to copy and paste the youtube link but nothing show up! Do I have to add a class in the CSS for video frame? Please help, I’m so new at this!!

    Thankss!!

    Reply
  95. Yaldaram.com
    Posted on May 4, 2012 at 13:46 Permalink

    Thanks for the script :)

    Reply
  96. Reza
    Posted on April 30, 2012 at 22:20 Permalink

    hi dear

    i used this plugin and it works successfully but 2 errors …

    one that ie 9 cant run javascript to set te width … i set it manualy on css

    then when i load it on an iframe it cant load buttons :( what can i do

    ty

    Reply
  97. Arminder singh
    Posted on April 30, 2012 at 11:20 Permalink

    gud work …. keep it up

    Reply
  98. Ramiya Dixit
    Posted on April 26, 2012 at 11:18 Permalink

    vertical scroller is not working in IE..before 10 days it was working fine.

    Reply
  99. Stayce
    Posted on April 26, 2012 at 04:14 Permalink

    CRAZY COOL! super glad i found this, thanks so much for putting this together. I have been searching all over the web for something like this, most other jquery scrolls are no where near as slick as this one – keep up the great work!

    Reply
  100. Loganathan
    Posted on April 25, 2012 at 12:11 Permalink

    Is it possible to make scroll without mouse interaction, i want to scroll the thumbnails continuously

    Reply

Comments pages: 1 2 3


Post a comment

Your e-mail is never published nor shared. Required fields are marked *

You may use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
You can write or copy/paste code directly in your comment using the <code> tag:
<code>code here...</code>