jQuery thumbnail scroller
A thumbnail/image scroller that can be used as standalone or alongside lightboxes, gallery scripts etc. Features include: scrolling by cursor movement, buttons and/or touch, vertical and/or horizontal scrolling, customization via CSS and option parameters, methods for triggering events like scroll-to, update, destroy etc., user-defined callbacks functions and more.
Current version 2.0.3 (Changelog) – Version 1.x.x (no longer actively maintained)
How to use it
HTML
Get plugin files. Extract and upload jquery.mThumbnailScroller.min.js and jquery.mThumbnailScroller.css to your web server (more info)
Include jquery.mThumbnailScroller.css in the head tag your html document
<link rel="stylesheet" href="/path/to/jquery.mThumbnailScroller.css">
Include jQuery library (if your project doesn’t use it already) and jquery.mThumbnailScroller.min.js in your document’s head or body tag
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="/path/to/jquery.mThumbnailScroller.min.js"></script>
Create the markup with your images, links, etc. which is basically an element (e.g. a div) holding an unordered list (ul)
<div id="my-thumbs-list"> <ul> <li><a href="image-1-link"><img src="/path/to/image-1-file" /></a></li> <li><a href="image-2-link"><img src="/path/to/image-2-file" /></a></li> <li><a href="image-3-link"><img src="/path/to/image-3-file" /></a></li> <li><a href="image-4-link"><img src="/path/to/image-4-file" /></a></li> <!-- and so on... --> </ul> </div>
CSS
Give your element (in the example above #my-thumbs-list) a width and/or height value and a CSS overflow value of auto or hidden. For example:
#my-thumbs-list{ overflow: auto; width: 800px; height: auto; }
If you’re creating a vertical scroller, you’ll need to set a height (or max-height) value
#my-thumbs-list{ overflow: auto; width: 300px; height: 500px; }
Initialization
Initialize via javascript
Create a script and call mThumbnailScroller function on your element selector along with the option parameters you want
<script> (function($){ $(window).load(function(){ $("#my-thumbs-list").mThumbnailScroller({ axis:"x" //change to "y" for vertical scroller }); }); })(jQuery); </script>
Initialize via HTML
If you prefer to initialize the plugin without a script, you can simply give your element the class mThumbnailScroller
and optionally set its orientation via the HTML data attribute data-mts-axis
("x"
for horizontal and "y"
for vertical). For example:
<div id="my-thumbs-list" class="mThumbnailScroller" data-mts-axis="x"> <ul> <!-- your content --> </ul> </div>
Basic configuration & option parameters
The 2 basic options are axis
which defines the scroller orientation and type
which defines how the user interacts with the scroller.
axis
The default scroller orientation is horizontal, so if you don’t set an axis
option value, it defaults to "x"
$("#my-thumbs-list").mThumbnailScroller({ axis:"x" });
To create a vertical scroller, set axis
option to "y"
$("#my-thumbs-list").mThumbnailScroller({ axis:"y" });
or use data-mts-axis="y"
if you’re initializing the plugin via HTML
type
You can set the type of scroller via javascript, for example:
$("#my-thumbs-list").mThumbnailScroller({ type:"hover-50" });
or using the HTML data attribute data-mts-type
, e.g.:
<div class="mThumbnailScroller" data-mts-type="hover-50">...</div>
There are 4 basic scroller types:
"hover-[number]"
(e.g."hover-33"
,"hover-80"
etc.)Scrolling content in linear mode by hovering the cursor over the scroller edges. The edges are defined by the type name, where [number] indicates the percentage of the scroller area in which scrolling is idle. For example, setting
"hover-50"
(default value) on a 600 pixels wide horizontal scroller, means that scrolling will be triggered only when the cursor is over the first 150 pixels from the left or right edge. And when cursor is over the 50% of the scroller width (300 pixels), scrolling will be idle or stopped.hover-precise
Scrolling content with animation easing (non-linear mode) by hovering the cursor over the scroller. The scrolling speed and direction is directly affected by the cursor movement and position within the scroller.
"click-[number]"
(e.g."click-50"
,"click-90"
etc.)Scrolling content by clicking buttons. The scrolling amount is defined by type name, where [number] indicates a percentage of the scroller area. For example, setting
"click-50"
on a 800 pixels wide horizontal scroller, means that each time you click the left or right arrow buttons, the content will scroll by 400 pixels (50% of 800px) to the left or right.click-thumb
Scrolling each image/thumbnail at a time by clicking buttons.
"hover-[number]"
and hover-precise
types become disabled on touch-enabled devices and replaced by content touch-swipe scrolling.
Configuration
You can configure your scroller(s) using the following option parameters when calling mThumbnailScroller function
Usage $(selector).mThumbnailScroller({ option: value });
setWidth: false
- Set the width of the scroller (overwrites CSS width), value in pixels (integer) or percentage (string).
setHeight: false
- Set the height of the scroller (overwrites CSS height), value in pixels (integer) or percentage (string).
setTop: 0
- Set the initial css top property of content, accepts string values (css top position).
Example:setTop: "-100px"
.
setLeft: 0
- Set the initial css left property of content, accepts string values (css left position).
Example:setLeft: "-100px"
.
type: "string"
- Scroller type defines the way users interact with the scroller.
Available values:"hover-[number]"
(e.g."hover-50"
)
Scrolling content in linear mode by hovering the cursor over the scroller edges. The edges are defined by the type name, where [number] indicates the percentage of the scroller area in which scrolling is idle. Scrolling accelerates proportionally according to cursor position: e.g. scrolling speed increases as the cursor moves towards the edges and decreases as it moves towards the center of the scroller area."hover-precise"
Scrolling content with animation easing (non-linear mode) by hovering the cursor over the scroller. The scrolling speed and direction is directly affected by the cursor movement and position within the scroller.click-[number]
(e.g."click-80"
)
Scrolling content by clicking buttons. The scrolling amount is defined by type name, where [number] indicates a percentage of the scroller area."click-thumb"
Scrolling each image/thumbnail at a time by clicking buttons. Each click will scroll the content by the width/height of the next non-visible adjusted image.
axis: "string"
- Define scroller axis (scrolling orientation).
Available values:"y"
,"x"
,"yx"
.axis: "y"
– vertical scrolleraxis: "x"
– horizontal scroller (default)axis: "yx"
– vertical and horizontal scroller (useful when panning images or switching axis on-the-fly)
speed: integer
- Set the scrolling speed (higher=faster). Default value is
15
.
contentTouchScroll: integer
- Enable or disable content touch-swipe scrolling for touch-enabled devices.
To completely disable, setcontentTouchScroll: false
. Integer values define the axis-specific minimum amount required for scrolling momentum (default value is25
).
markup:{ thumbnailsContainer: "string" }
- Set the element containing your thumbnails. By default, this is an unordered list (
ul
).
markup:{ thumbnailContainer: "string" }
- Set the element containing each thumbnail. By default this is a list-item (
li
).
markup:{ thumbnailElement: "string" }
- Set the actual thumbnail element. By default, this is an image tag (
img
).
advanced:{ autoExpandHorizontalScroll: boolean }
- Auto-expand content horizontally (for
"x"
or"yx"
axis).
If set totrue
(default), content will expand horizontally to accomodate any floated/inline-block elements (such asli
,a
,img
etc.).
advanced:{ updateOnContentResize: boolean }
- Update scroller(s) automatically on content, element or viewport resize. The value should be
true
(default) for fluid layouts/elements, adding/removing content dynamically, hiding/showing elements etc.
advanced:{ updateOnImageLoad: boolean }
- Update scroller(s) automatically each time an image inside the element is fully loaded. The value is
true
by default.
advanced:{ updateOnSelectorChange: "string" }
- Update scroller(s) automatically when the amount and size of specific selectors changes.
Useful when you need to update the scroller(s) automatically, each time a type of element is added, removed or changes its size.
For example, settingupdateOnSelectorChange: "ul li"
will update the scroller each time list-items inside the element are changed. Setting the value totrue
, will update the scroller each time any element is changed. To disable (default) set tofalse
.
theme: "string"
- Set a ready-to-use scroller theme (plugin’s CSS contains all themes).
callbacks:{ onInit: function(){} }
- A function/custom code to execute when the scroller has initialized (callbacks demo).
Example:
callbacks:{ onInit:function(){ console.log("scroller initialized"); } }
callbacks:{ onScrollStart: function(){} }
- A function/custom code to execute when scrolling starts (callbacks demo).
Example:
callbacks:{ onScrollStart:function(){ console.log("scroll started"); } }
callbacks:{ onScroll: function(){} }
- A function/custom code to execute when scrolling is completed (callbacks demo).
Example:
callbacks:{ onScroll:function(){ console.log("scroll completed"); } }
callbacks:{ onTotalScroll: function(){} }
- A function/custom code to execute when scrolling is completed and content is scrolled all the way to the end (bottom and/or right) (callbacks demo).
Example:
callbacks:{ onTotalScroll:function(){ console.log("Scrolled to 100%"); } }
callbacks:{ onTotalScrollBack: function(){} }
- A function/custom code to execute when scrolling is completed and content is scrolled back to the beginning (top and/or left) (callbacks demo).
Example:
callbacks:{ onTotalScrollBack:function(){ console.log("Scrolled back to 0%"); } }
callbacks:{ onTotalScrollOffset: integer }
- Set an offset for the onTotalScroll callback option.
For example, settingonTotalScrollOffset: 100
will trigger the onTotalScroll callback 100 pixels before the end of scrolling is reached.
callbacks:{ onTotalScrollBackOffset: integer }
- Set an offset for the onTotalScrollBack callback option.
For example, settingonTotalScrollBackOffset: 100
will trigger the onTotalScrollBack callback 100 pixels before the beginning of scrolling is reached.
callbacks:{ whileScrolling: function(){} }
- A function/custom code to execute while scrolling is active (callbacks demo).
Example:
callbacks:{ whileScrolling:function(){ console.log("scrolling..."); } }
callbacks:{ alwaysTriggerOffsets: boolean }
- Control the way onTotalScroll and onTotalScrollBack offsets execute.
By default, callback offsets will trigger repeatedly while content is scrolling within the offsets.
SetalwaysTriggerOffsets: false
when you need to trigger onTotalScroll and onTotalScrollBack callbacks only once.
live: boolean, "string"
- Enable or disable the creation of scroller(s) on all elements matching the current selector, now and in the future.
Setlive: true
when you need to add scroller(s) on elements that do not yet exist in the page. These could be elements added by other scripts or plugins after some action by the user.
If you need at any time to disable or enable the live option, setlive: "off"
and"on"
respectively.
You can also tell the script to disable live option after the first invocation by settinglive: "once"
.
liveSelector: "string"
- Set the matching set of elements to apply a scroller, now and in the future.
Plugin methods
Methods are ways to execute various scroller actions programmatically from within your script(s).
update
Usage $(selector).mThumbnailScroller("update");
Call the update method to manually update existing scrollers to accomodate new content or resized element(s). This method is by default called automatically by the script (via updateOnContentResize
option) when the element itself and/or its content size changes.
scrollTo
Usage $(selector).mThumbnailScroller("scrollTo", position, {options});
Call the scrollTo method to scroll content to the position parameter. Position parameter can be a string (e.g. "#element-id"
, "bottom"
, "left"
etc.), an integer indicating number of pixels (e.g. 100
), an array for y/x axis (e.g. [100,100]
), a js/jQuery object, a function etc. method demo
scrollTo position parameter
Position parameter can be:
"string"
- Element selector
For example, scroll to element with id “element-id”:
$(selector).mThumbnailScroller("scrollTo","#element-id");
- Special pre-defined position
For example, scroll to right:
$(selector).mThumbnailScroller("scrollTo","right");
Pre-defined position strings:
"bottom"
– scroll to bottom"top"
– scroll to top"right"
– scroll to right"left"
– scroll to left"first"
– scroll to the position of the first element within content"last"
– scroll to the position of the last element within content
- Number of pixels less/more: (e.g.
"-=100"
/"+=100"
)
For example, scroll by 100 pixels right:
$(selector).mThumbnailScroller("scrollTo","-=100");
- Element selector
integer
- Number of pixels (from left and/or top)
For example, scroll to 100 pixels:
$(selector).mThumbnailScroller("scrollTo",100);
- Number of pixels (from left and/or top)
[array]
- Different y/x position
For example, scroll to 100 pixels from top and 50 pixels from left:
$(selector).mThumbnailScroller("scrollTo",[100,50]);
- Different y/x position
object/function
- jQuery object
For example, scroll to element with id “element-id”:
$(selector).mThumbnailScroller("scrollTo",$("#element-id"));
- js object
For example, scroll to element with id “element-id”:
$(selector).mThumbnailScroller("scrollTo",document.getelementbyid("element-id"));
- function
For example, scroll to 100 pixels:
$(selector).mThumbnailScroller("scrollTo",function(){ return 100 });
- jQuery object
scrollTo method options
speed: integer
- Scrolling speed.
Example:
$(selector).mThumbnailScroller("scrollTo", "-=200", { speed: 30 });
duration: integer
- Scrolling animation duration, value in milliseconds.
Example:
$(selector).mThumbnailScroller("scrollTo", "right", { duration: 1000 });
easing: "string"
- Scrolling animation easing, values:
"easeInOut"
"easeOut"
"easeInOutSmooth"
"easeOutSmooth"
"easeInOutStrong"
"easeOutStrong"
"easeInOut"
"easeInOut"
Example:
$(selector).mThumbnailScroller("scrollTo", 300, { easing: "easeOutSmooth" });
callbacks: boolean
- Trigger user defined callbacks after scroll-to event is completed, values:
true
,false
.
Example:
$(selector).mThumbnailScroller("scrollTo", "top", { callbacks: false });
timeout: integer
- Method timeout (delay). The default timeout is 60 (milliseconds) in order to work with automatic scroller update functionality, value in milliseconds.
Example:
$(selector).mThumbnailScroller("scrollTo", "last", { timeout: 0 //no timeout });
stop
Usage $(selector).mThumbnailScroller("stop");
Stops running scrolling animations. Usefull when you wish to interrupt a previously scrollTo call.
disable
Usage $(selector).mThumbnailScroller("disable");
Calling disable method will temporarily disable the scroller(s). Disabled scrollers can be re-enabled by calling the update method.
To disable a scroller and reset its content position, call the method by setting its reset parameter to true
:
$(selector).mThumbnailScroller("disable", true);
destroy
Usage $(selector).mThumbnailScroller("destroy");
Calling destroy method will completely remove the scroller and return the element to its original state.
Scroller styling & themes
You can style your scroller(s) using jquery.mThumbnailScroller.css which contains the basic/default styling and few ready-to-use themes.
You can modify the default styling or an existing scroller theme directly, clone a theme and change it to your needs or overwrite the CSS in another stylesheet. If you wish to maintain compatibility with future plugin versions (that may include an updated version of jquery.mThumbnailScroller.css), I recommend using your own custom (or cloned) theme (creating your own custom theme), or overwriting the CSS. This way you can always upgrade jquery.mThumbnailScroller.css without having to redo your changes.
Themes
Plugin’s CSS includes a number of ready-to-use themes for quickly applying a basic styling to your scroller(s). To apply a theme, use theme
option parameter:
$(selector).mThumbnailScroller({ theme: "theme-name" });
or the HTML data attribute data-mts-theme
in your markup:
<div class="mThumbnailScroller" data-mts-theme="theme-name">...</div>
creating your own custom theme
User-defined callbacks
You can trigger your own js function(s) by using plugin’s callbacks option parameter (see all availbale callbacks in configuration section). Some examples:
$(selector).mThumbnailScroller({ callbacks:{ onScroll: function(){ /* do something */ } } });
$(selector).mThumbnailScroller({ callbacks:{ onTotalScroll: function(){ myFunction(); } } }); function myFunction(){ /* do something */ }
The plugin returns a number of values and objects that can be used inside the callbacks
this
– the scroller elementthis.mts.content
– the scrollable element containing the content (e.g. theul
element) as jquery objectthis.mts.top
– content’s top position (pixels)this.mts.left
– content’s left position (pixels)this.mts.topPct
– content vertical scrolling percentagethis.mts.leftPct
– content horizontal scrolling percentagethis.mts.direction
– content’s scrolling direction (returns"x"
or"y"
)
Plugin dependencies & requirements
- jQuery version 1.6.0 or higher
License
This work is released under the MIT License.
You are free to use, study, improve and modify it wherever and however you like.
https://opensource.org/licenses/MIT
Donating helps greatly in developing and updating free software and running this blog 🙂
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.
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
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!
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!
You can use the script with latest jQuery (1.8.x)
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.
Instead of having the content show on just one horizontal line, is there a way to add another horizontal row directly beneath the first?
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?
Thanks so much!
This a really nice script. Is it possible to set a default position? Like set item number in the middle of scroller view field.
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…
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.
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?
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
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
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
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?
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!
the vertical scroll is still broken in IE, images scroll horizontally. Is there an update for that?
Otherwise , very nice script.
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?
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.
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″ .
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
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?
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.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; }
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
Not currently possible. Check comment 248 to see if another custom script I made suit your needs.
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?
This is done by using additional plugins such as:
http://lokeshdhakar.com/projects/lightbox2/
and http://fancybox.net/
Can you somehow post an example of how lightbox/fancybox would be integrated into the code? Please and thank you! Love your code regardless! 🙂
hi,
in your custom jquery ui what functions are included? one easing and other else?
Regards
Just the core and easing functions of jQuery UI.
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?
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
Thank you! Much appreciated
Any idea how I could get this to still work in IE7? That is my only issue now 🙁
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
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..
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!
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>
hi,
just want to make sure that, the only document that i have to modifi is only jquery.thumbnailScrollerOriginal.js? rigth?
Thanks.
do i need to delete some code?
I am right in understanding that this doesn’t work with Magento?
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.
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;}
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