in INDEX.PHP
my tabs are declared as:
$(function() {
$( "#tabs" ).tabs({
load: function(event, ui) {
console.log("load event ran");
$('a', ui.panel).live("click", function() {
$(ui.panel).load(this.href);
return false;
});
}
});
});
i have tabs liked to external php file to load content:
<div id="tabs">
<ul>
<li><a href="content.php?div=Production">Production</a></li>
<li><a href="content.php?div=Digital">Digital</a></li>
</ul>
</div>
the forms on these pages are submitted by ajax:
$(document).ready(function(){
$("#Search_form").validate({
debug: false,
submitHandler: function(form) {
$.post('search_db.php', $("#Search_form").serialize(), function(data) {
$('p.results').fadeIn();
$('#results').html(data);
});
}
});
});
results are displayed within a tab, BUT browser doesn’t create vertical scrolling bar to view the content that didn’t fit in the browser window.
I understand this is s/t to do with multiple ajax functions inside each other, how can i force browser to review page content and create a scrollbar please?
P.S. I have only general understanding of jQuery and DOM functionality…
Try adding this to your css
ps. sounds like your problem is only related to the stylesheet / styles and not jquery / script