When Loading php file into div not all functionality carries over

Hello all,

I am not sure if this would fall under the php category but I am having a hard time trying to load content into a div. I have a demo site pwrc.me that I am using for testing. Notice when you load the site the main slider functionality. If I click on “search” it loads my search Iframe property. However when I go back to the “home” page, the page loads but all my slider functionality is not working…

This is the js I am using:
$(’.menu_top’).click(function() {
var href = $(this).attr(‘href’);
$(’#content_area’).load(href);

return false;

});

Any help would be greatly appreciated. I am new to coding and using template to learn as I go. Thank you in advance.

try modifying the actual link to just go to pwrc.me

that would work, but the problem is that I am trying to use jquery to load in content so the entire site does not re-fresh each time I click a button. The way I have it outlines is that the header/footers stay and just the “content_area” changes.

well it works now
but its kind of off

Sponsor our Newsletter | Privacy Policy | Terms of Service