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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:11:15+00:00 2026-06-13T22:11:15+00:00

I have a site that is utilizing full width background images as well as

  • 0

I have a site that is utilizing full width background images as well as dynamically sized divs for single page smooth scrolling.

The link is http://teneo.telegraphbranding.com/.

I want to load about.php via ajax so that the sidebar doesn’t have to reload, but I’m not having any luck.

When you click on ‘About’ in the sidebar the about page is not rendering correctly. It seems like the containers are ignoring the jquery. They should butt up next to the side bar but not go past it, except for the underlying background image.

Im loading the page with this script:

$(document).ready(function () {
var dropDown = $('.dropdown');
$('h3.about').on('click', function() {
    dropDown.slideDown('fast', function() {
        $('#index-wrap').load('about2.php');
    });
});
});

Also, it isn’t loading a couple of divs that don’t have any content but have background images and are supposed to fill the screen.

$(document).ready(function () {
var snapshotWrap = $('#snapshot-wrap');
var w = $(window);
w.bind('load resize',function() {
    snapshotWrap.css({ width:w.width(), height:w.height()});
});

});

$(document).ready(function () {
var snapshotContent = $('#snapshot-content');
var w = $(window);
w.bind('load resize',function() {
    snapshotContent.css({ width:w.width() - 205 });
});

});

Am I correctly using jquery/ajax to load the page?

  • 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-06-13T22:11:16+00:00Added an answer on June 13, 2026 at 10:11 pm

    When you load elements of a page with ajax, in order for jquery to use those elements, you have to attach event handlers to those new elements after they have loaded. Look up the documentation for .on() to see how to do this, it will be clear once you’ve read that page. If you get stuck again, be sure to make a new question.

    So instead of using the .click() function you might say:

    $("#object").on("click", function(event){
    alert($(this).text());
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a site that will have a column of images and divs (a
I have a site that uses a large centered background image, which naturally loads
I have a site that collects URLs. A full HTTP URL is entered into
I have a site that has an admin page (eg admin.php) that is normally
Background : I have to create a plain site that accepts incoming posted XML
I have one site that I never perused and I might as well redirect
I have a site that i want to redirect all requests accept for 1
I have a site that allows download or streaming of mp3 files. All the
I have a site that can be accessed both through http (http://mysite.com) and https
I have a site that has an Rss feed, and this feed is consumed

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.