Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Gábor Papp
Added: Sep 8, 2019 3:33 AM
Views: 14
Tags: no tags
  1. function magassag() {
  2.     hw=$(window).height();
  3.     mag=hw-90;
  4.     $('#responsive').css('height',mag+'px');
  5. }
  6. jQuery(window).resize(function() {
  7.     magassag();
  8. });