Skip to content

Raz Rassel

  • Home
  • About Raz
  • Contact Raz
  • Buy Now
YouTube Spotify
Raz Rassel
Web Dev

JS Full Window Height

// Image section height.
var windowHeight = $( window ).height();

$( ‘.image-section’ ) .css({‘height’: windowHeight +’px’});

$( window ).resize(function(){

var windowHeight = $( window ).height();

$( ‘.image-section’ ) .css({‘height’: windowHeight +’px’});

});

Post navigation

Previous Previous
Allow Iframe but restrict direct access
NextContinue
Center text over image

Similar Posts

  • Web Dev

    Reposition Genesis header right widget

    Read More Reposition Genesis header right widgetContinue

  • Web Dev | Wordpress

    Woocommerce Widget Featured Product by Category

    Read More Woocommerce Widget Featured Product by CategoryContinue

  • Web Dev

    Modal Popup

    Read More Modal PopupContinue

  • Web Dev

    Remove Browser Meta Title Tooltips

    Read More Remove Browser Meta Title TooltipsContinue

  • Web Dev | Wordpress

    Show excerpt on Woocommerce archive list

    Read More Show excerpt on Woocommerce archive listContinue

  • Web Dev

    Unminify CSS, HTML, and JS

    Read More Unminify CSS, HTML, and JSContinue

YouTube Spotify
  • Home
  • About Raz
  • Contact Raz
  • Buy Now

© 2026 Raz Rassel

Scroll to top
  • Home
  • About Raz
  • Contact Raz
  • Buy Now