Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript resize browser problems

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #190132
    geedi
    Participant

    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

    #190183
    geedi
    Participant

    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

    #190185
    geedi
    Participant

    this is the id that needs to be black ttr_page_inner

    #190209
    geedi
    Participant

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.