- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › resize browser problems
HI guys im having trouble with resizing my site.
Persistest.nl WordPress 4.01
this is how it looks like now when i resize
postimg.org/image/k1l4kgayz/
this is how it supposed to keep on looking on every size
http://postimg.org/image/628m4t0vt/.
Tell me any file i need to get
Yeah i have made a new thread that other one whas going way to many pages. But yo this code works
jQuery(window).on(‘load’, function() {
var content = jQuery(‘#ttr_content_and_sidebar_container’);
content.css(‘min-height’, 457);
fullPage();
jQuery(window).resize(function() {fullPage()});
function fullPage() {
var window_height = jQuery(window).height();
var body_height = jQuery(document.body).height();
if (body_height < window_height) {
differ = window_height-body_height;
content_height = content.height()+differ;
content.css(‘height’, content_height);
}
}
});
</script>
but with your other code that make’s it look get a black background doesnt work on this one
this is the id that needs to be black ttr_page_inner
yeah i have made it work your last one u gave me it is even beter i have made couple of changes on the slider plugin.
Could u make me with that same thing a black backgound that works with that code please.