The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery include

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #41133

    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.


    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.


    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)
  • The forum ‘JavaScript’ is closed to new topics and replies.