JQuery Auto Hight

jQuery height change after a specific time interval

With this code we will get a height of a div and use that height in another place. And the height value will change automatically based time intervale.

Custom.js
setInterval(function () {
   var topp = $('.header_area').outerHeight() - 50;
   console.log(topp);
           
   $('#header_paddig').css('height', topp);
}, 2000);
Previous Code

WordPress Related Post

Show related post on blog single page or any custo ...

Next Code

Sticky Menu Show when scrolling up

Header bar only show when scrolling up with simple ...

0 Comment

    Leave a Reply

    Your email address will not be published.

    one × 3 =

    Jquery Custom Tab

    ...

    Jquery Replace specific text in all element

    ...

    Sticky Menu Show when scrolling up

    Header bar only show when scrolling up with simple ...

    Cookie Popup with jQuery

    Browser cookies popup accept, store cookies in bro ...

    Counter up with a simple jQuery

    count down numbers with jquery ...

    ACF

    JavaScript

    jQuery

    Others

    PHP

    WooCommerce

    WordPress

    skype

    Need Coding Help?

    Connect Skype
    top