December 28, 2024
1 min read
Essential Code Snippet For Web Developers

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);

Leave a Reply

Your email address will not be published. Required fields are marked *

Sequential Fading jQuery Text Animation

This code animates text using jQuery, creating a seamless, captivating effect with elegant fades, enhancing user engagement and enriching web design.

Add custom Elementor widgets in the Hello child theme

learn how to add custom Elementor widgets to the Hello child theme.

JetAppointment Set lock time before more than 24 hours

Extend JetAppointment’s “Locked Time Before” booking from 24h to 30 days or more. Developer guide with PHP snippet to customize your booking buffer.

WordPress Post Approval Email Notification

Learn how to create a WordPress email notification system for post approvals. Customize email templates, support multiple post types, and improve user engagement with this developer-friendly guide.

Web Development Project in mind?

if you looking for a web developer for paid contribution to your project I am available for work.

Mukto
Mukto

Click the button below to chat with me.