Sign Up

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

Have an account? Sign In

Have an account? Sign In Now

Sign In

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

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

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

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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

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

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

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

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

Mobile menu

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:42:33+00:00 2026-05-23T06:42:33+00:00

I have an image slider ( NivoSlider ) which simply fades through a range

  • 0

I have an image slider (NivoSlider) which simply fades through a range of images on our website. It’s working fine on the homepage with the following code:

HEAD of INDEX.PHP

<!-- Image Slider -->
    <link rel="stylesheet" href="_ui/css/slider.css" type="text/css" media="screen" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
    <script src="_ui/js/jquery.nivo.slider.pack.js" type="text/javascript"></script>

    <script type="text/javascript">
    $(window).load(function() {
    $('.nivoSlider').nivoSlider({
    effect:'fade', // Specify sets like: 'fold,fade,sliceDown'
    slices:15, // For slice animations
    boxCols: 8, // For box animations
    boxRows: 4, // For box animations
    animSpeed:500, // Slide transition speed
    pauseTime:2000, // How long each slide will show
    startSlide:0, // Set starting Slide (0 index)
    directionNav:false, // Next & Prev navigation
    directionNavHide:false, // Only show on hover
    controlNav:false, // 1,2,3... navigation
    controlNavThumbs:false, // Use thumbnails for Control Nav
    controlNavThumbsFromRel:false, // Use image rel for thumbs
    controlNavThumbsSearch: '.jpg', // Replace this with...
    controlNavThumbsReplace: '_thumb.jpg', // ...this in thumb Image src
    keyboardNav:true, // Use left & right arrows
    pauseOnHover:false, // Stop animation while hovering
    manualAdvance:false, // Force manual transitions
    captionOpacity:0.8, // Universal caption opacity
    prevText: 'Prev', // Prev directionNav text
    nextText: 'Next', // Next directionNav text
    beforeChange: function(){}, // Triggers before a slide transition
    afterChange: function(){}, // Triggers after a slide transition
    slideshowEnd: function(){}, // Triggers after all slides have been shown
    lastSlide: function(){}, // Triggers when last slide is shown
    afterLoad: function(){} // Triggers when slider has loaded
    });
    });
    </script>   

DIV OF SLIDER IN INDEX.PHP

    <div class="nivoSlider">
     <img src="_media/img/home_first_final.jpg" alt="" />
     <img src="_media/img/home_second_final.jpg" alt="" />
     <img src="_media/img/home_third_final.jpg" alt="" />
</div>

The above code is working fine and can be reviewed here.

When I try and re-use the code on a sub-content page I get the following error:

[cycle] terminating; zero elements found by selector
Uncaught TypeError: Object [object Object] has no method 'nivoSlider'
  (anonymous function)
  c.event.handle
  c.event.add.j.handle.o

I checked the code on the sub-content pages (an example page here) and the code is now an exact duplicate of the HEAD of INDEX.PHP but the DIV is as follows:

<div class="nivoSlider">
 <img src="_media/img/services_first_final.jpg" alt="" />
 <img src="_media/img/services_second_final.jpg" alt="" />
 <img src="_media/img/services_third_final.jpg" alt="" />
</div>

Any idea what’s going wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T06:42:34+00:00Added an answer on May 23, 2026 at 6:42 am

    You are loading jQuery twice on the second page.

    You have this near the end of the page

    <script type="text/javascript" src="_ui/js/jquery-1.5.min.js"></script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created jquery image slider and it is working good. However i have
I have a jquery Image slider in a content page that worked fine. Once
I have a Object Orientated Content/Image Slider I'm working on. I am having trouble
I have an image slider that I built for my website, and I have
I have an image slider written in jQuery. I need the images to be
I have a jQuery image slider on the header section of my website that
I have an existing website that the image slider no longer performs its slideshow
I have an image slider / viewer in which an absolutely positioned div containing
I wanted to make an image slider with jquery I have 5 jpg images
Hi I currently have a jquery image slider script that pulls images from a

Explore

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

Footer

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

Insert/edit link

Enter the destination URL

Or link to existing content

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