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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:30:34+00:00 2026-05-31T03:30:34+00:00

im loading some content into a div using .load and but im having a

  • 0

im loading some content into a div using .load and but im having a little trouble getting nivo slider to run as part of the loaded content. I think its somthing to do with binding but im not realy sure..

at the moment im uisng this for the .load

google.load("jquery", "1.6.2");

google.setOnLoadCallback(function() {
$("#pegasus-tile, #o-w").click(function(){
    $("#proj-content").load("projects/pegasus.html")
    });
});

and this for the nivo slider

$(window).load(function() {
$('#slider, #slider2').nivoSlider();
});

is there a simple way to get this to work ?

  • 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-31T03:30:36+00:00Added an answer on May 31, 2026 at 3:30 am

    You can’t intialize the slider unitl the html exists for it. To do this you need to intialize it within the success callback of ajax. You need to change your ajax load() method as follows

        $("#proj-content").load("projects/pegasus.html", function(){
                    /* new html exists here*/
                    $('#slider, #slider2').nivoSlider();
        });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a situation where I'm loading some content using a URLLoader but the
I am loading some text dynamically into a div, but have the problem that
I am using the jQuery qTip plugin and am having trouble loading html content
I have a document that loads some content into a div with JQuery's .load()
I'm loading some some html into a div through ajax using jquery. Once the
I'm loading new HTML/JS content using ajax and appending it to some div block
I am having some trouble with getting jquery to recognize classes/ids of content that
I am loading some content from the web into a UIWebView , but I'd
Hello everyone I got trapped when Im using jquery loading some content into my
I'm loading some HTML via Ajax with this format: <div id=div1> ... some content

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.