Give help. Get help.

  • # December 3, 2012 at 5:41 pm

    Hi css-tricks people,

    I have a nightmare to find out why the carousel script is not working on the imege gallery. Im very new to JS. Perhaps can someone let me know where my error is, and if I have included the jQuery the right way, would much appreciate that. The link to page ( ).

    Many thanks.

    # December 5, 2012 at 2:33 am

    Seems to me that you have forgot to include the js-file of the carousel that you want to use. It should be included after jquery.js and before code you have put in galleryscript.js you need. I also suppose that the carousel comes with a CSS-file that you also have forgot to include.

    # December 5, 2012 at 4:09 pm

    Thank you for checking ,

    I think I have included both jquery and my galleryscript.js files as well as css for the gallery.

    #foo1 li{
    display: inline;

    .image_carousel {
    padding: 15px 0 15px 40px;
    .image_carousel img {
    border: 1px solid #ccc;
    background-color: white;
    padding: 9px;
    margin: 7px;
    display: block;
    float: left;

    And JS:

    auto : {
    items : 5,
    duration : 7500,
    easing : “linear”,
    timeoutDuration : 0,
    pauseOnHover : “immediate”

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.