Jquery code for var windowsHeight = $(window).height(); but inside a parent div with min-height
$10-30 USD
Tamamlandı
İlan edilme: yaklaşık 8 yıl önce
$10-30 USD
Teslimde ödenir
Hello,
I'm looking to improve my jquery shown below:
function setDimensions(){
var windowsHeight = $(window).height();
var customHeight = windowsHeight *0.4;
$('.min-height40').css('min-height', customHeight + 'px');
}
//when resizing the site, we adjust the heights of the sections
$(window).resize(function() {
setDimensions();
});
setDimensions();
This code calculate the min-height 40% for the class .min-height40
I need a new class called .fullheight that claculates the value 100% inside .min-height40
I need a value in px inside min-height40 so I can use CSS display table rules.
Thanks.
S.
Ready to start working right now. Can provide you my past work with jQuery as reference.
Make milestone only after you are convinced talking to me.
Awaiting further discussion.
Thanks
I'm looking to improve my jquery shown below:
function setDimensions(){
var windowsHeight = $(window).height();
var customHeight = windowsHeight *0.4;
$('.min-height40').css('min-height', customHeight + 'px');
}
//when resizing the site, we adjust the heights of the sections
$(window).resize(function() {
setDimensions();
});
setDimensions();
This code calculate the min-height 40% for the class .min-height40
I need a new class called .fullheight that claculates the value 100% inside .min-height40
I need a value in px inside min-height40 so I can use CSS display table rules.
Thanks.
S.
I have checked your requirement,
will do this work for you ,i have over 4+ year experience with HTML, CSS , JavaScript, Ajax ,PHP
I am new at freelancer but have much experience,
please message me i am online to discuss now.
Thanks.