Question: Is all the content going to be on one page or does the content reside on different pages?
If you're loading stuff from other pages, here's an example of how to do it. There's nicer ways to do for multiple tabs, but this is the most basic way
Code:
If you're loading stuff from other pages, here's an example of how to do it. There's nicer ways to do for multiple tabs, but this is the most basic way
Code:
Code:
$('#tab1').click(function() { //When tab1 gets clicked
//Load #container from ajax/test.html into #content div
$('#content').load('ajax/test.html #container');
return false; //Prevents default click function
});