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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:16:06+00:00 2026-05-27T18:16:06+00:00

I have this problem which i find a bit difficult to explain but I

  • 0

I have this problem which i find a bit difficult to explain but I will try:

I have a page which fades in and out some divs taken from other pages with the load() function on click event. One of this divs contain a selection of pictures showed using Jquery.Cycle. Although on the page itself the jquery.Cycle works ok, when imported in to the page it does not. Hope my explanation is clear.

The code for importing is this:

$('#wrapper a').live("click", function(evt) {

    evt.preventDefault();

    var url = $(this).attr('href');
    var oldDiv = $('#wrapper-content');
    var newDiv = $('#wrapper-content1').load(url + ' #wrapper-content');
    newDiv.hide();
    $('#wrapper-mid-in-right').prepend(newDiv);
    newDiv.fadeIn(1000);
    oldDiv.fadeOut(1000,function() {

    $(this).remove();
    });

});

As said the cycle effect works ok on the page. Please help me. F.

$('#gallery').cycle({
fx: 'scrollRight',
timeout: 100000,
speed: 500,
delay: -2000,
pager: '#pager'

});

  • 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-27T18:16:07+00:00Added an answer on May 27, 2026 at 6:16 pm

    I believe your problem has nothing to do with the code block you posted. The plugin works in the page itself because of a few things:

    1. the Cycle plugin is loaded
    2. the markup already exists
    3. the plugin is initiated appropriately ($(document).ready(), etc.)

    When dynamically loading this content into a page, none of these facts may be true.

    1. Is the Cycle plugin being loaded in this page?
    2. You have to initiate the Cycle plugin after you’ve imported the new markup.

    The JS in the the parent page (the page loading the Cycle content) should be something roughly like:

    $('#wrapper-content1').load(url + ' #wrapper-content', function() {
        $('#gallery').cycle({
            fx: 'scrollRight',
            timeout: 100000,
            speed: 500,
            delay: -2000,
            pager: '#pager'
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this little problem, that I cannot figure out which arguments to pass
I'm quite new to hibernate and have stumbled on this problem, which I can't
Consider this problem: I have a program which should fetch (let's say) 100 records
I have this .bat script which I use to maven package my application. Problem
Problem Hello all! I have this code which takes my jpg image loops through
i have this problem to find a particular xml node l have post this
I know I've come across this problem before, but I'm having a bit of
I'm a bit confused on how to approach this problem. I have a large
I can't seem to find a .NET answer to this problem, which I would
I am solving a quantum-mech problem which requires me to find some eigenvalues by

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.