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 7551079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:23:12+00:00 2026-05-30T10:23:12+00:00

This is my first question so I’ll try to be as descriptive as possible…

  • 0

This is my first question so I’ll try to be as descriptive as possible… I am using the jQuery Cycle Plugin with Joomla. It completely blows up in IE7. Although it seems to work perfectly in Chrome, I noticed the following error when inspecting the Console.

Uncaught TypeError: Cannot read property 'cycleW' of undefined

The slideshow appears to work in Chrome 17.0.963.56, Firefox 9.0.1, and Safari 5.1.3. I haven’t tested it in IE8+, as I don’t have a windows computer easily accessible to me. I’m calling the slideshow with an external js file in the header like so…

<head>
        <script type="text/javascript" src="js/jquery.min.js" /></script>
        <script type="text/javascript" src="js/jquery.cycle.all.js"></script>
        <script type="text/javascript" src="js/init.js"></script>
</head>

Here’s init.js:

$(document).ready(function() { 

    $('#slideshow').cycle({ 
        fx:        'fade', 
        speed:     '900', 
        timeout:   4000,
        pause:     1, 
        pager:     '#nav',
        slideExpr: 'div.slide',
        next:      '#forward', 
        prev:      '#backward',
    });

    $('#slideshow').hover(function() {
        $("#backward").fadeIn(400);
        $("#forward").fadeIn(400);
    },
        function() {
        $("#backward").fadeOut(300);
        $("#forward").fadeOut(300);
    });

    $('#imax').before('<ul id="nav_imax">').cycle({ 
        fx:        'scrollHorz', 
        speed:     '1000', 
        timeout:   5000,
        pause:     1, 
        pager:     '#nav_imax',
        slideExpr: 'div.slide',

        // callback fn that creates a thumbnail to use as pager anchor
        pagerAnchorBuilder: function(idx, slide) { 
            return '<li><a href="#"><img src="' + jQuery(slide).find('img').attr('src') + '" width="50" height="50" /></a></li>';
        },

    });

});

And lastly, here’s the markup. The “moduletable” and “custom” divs are generated by the CMS. However, my slideExpr should bypass those as it should be targeting divs with the class “slide”.

<div id="slideshow">
    <div id="nav"></div>
    <a id="backward">Backward</a>
    <a id="forward">Forward</a>
    <div class="moduletable">
        <div class="custom">
            <div class="slide"><a href="#"><img src="01.jpg" width="860" height="400" border="0" /></a></div>
            <div class="slide"><a href="#"><img src="02.jpg" width="860" height="400" border="0" /></a></div>
            <div class="slide"><a href="#"><img src="03.jpg" width="860" height="400" border="0" /></a></div>
            <div class="slide"><a href="#"><img src="04.jpg" width="860" height="400" border="0" /></a></div>
            <div class="slide"><a href="#"><img src="05.jpg" width="860" height="400" border="0" /></a></div>
            <div class="slide"><a href="#"><img src="06.jpg" width="860" height="400" border="0" /></a></div>
        </div>
    </div>
</div>

I hope I covered everything. If there is any additional helpful information I can provide, please let me know. Thank you!

UPDATE: I didn’t initially include the fact that I am using another slideshow with the ID “imax” and alternate parameters on another page. Since these weren’t on the same page I didn’t include it. However when I comment out the $(‘#imax’) function, the errors go away in Chrome, FF, etc. The slideshow still DOES NOT work in IE7 however…

So I think this is actually two issues…

Here’s a test link: http://jsfiddle.net/V6EeS/3/

  • 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-30T10:23:14+00:00Added an answer on May 30, 2026 at 10:23 am

    I figured out the IE7 issue. The last parameter option should not have a comma (,). I don’t know why Chrome is still giving me the error, but at least the slideshow functions independently in each browser.

    $(document).ready(function() { 
    
        $('#slideshow').cycle({ 
            fx:        'fade', 
            speed:     '900', 
            timeout:   4000,
            pause:     1, 
            pager:     '#nav',
            slideExpr: 'div.slide',
            next:      '#forward', 
            prev:      '#backward' // Comma has been removed
        });
    
        $('#slideshow').hover(function() {
            $("#backward").fadeIn(400);
            $("#forward").fadeIn(400);
        },
            function() {
            $("#backward").fadeOut(300);
            $("#forward").fadeOut(300);
        });
    
        $('#imax').before('<ul id="nav_imax">').cycle({ 
            fx:        'scrollHorz', 
            speed:     '1000', 
            timeout:   5000,
            pause:     1, 
            pager:     '#nav_imax',
            slideExpr: 'div.slide',
    
            // callback fn that creates a thumbnail to use as pager anchor
            pagerAnchorBuilder: function(idx, slide) { 
                return '<li><a href="#"><img src="' + jQuery(slide).find('img').attr('src') + '" width="50" height="50" /></a></li>';
            }  // Comma has been removed
    
        });
    
    });
    

    Here is the working link: http://jsfiddle.net/V6EeS/4/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my first question in StackOverflow, so I would try to explain my
This is my first question here, and I will try to follow all the
Referred this question first. But seems my context is different. I'll try to be
this is my first question here. I have the following jquery code: $(document).ready(function(){ $(a).click(function(){
this is my first question to the stack. jQuery.ajax type: Post to an ashx
This is my first question on Stackoverflow. I'm wanting to make an A.I. using
this is my first question to stackoverflow so here it goes... I use cruise
this is my first question here so I hope I can articulate it well
This is my first question so please be patient :) Background: I'm implementing an
this is my first question.. so, here we go. i have a site, 100%

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.