Scroll to top

Blog

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to use if condition and change on scroll in jqurey?

 use if condition  and change on scroll in jqurey? <script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js”></script><script> $(document).ready(function(){var $w = $(window).scroll(function(){    if ( $w.scrollTop() > 1000 ) {          alert(“hello”);    

Read More »

How to create print button function?

<html><body> <p>Click the this button for printing</p> <button onclick=”myFunction()”>Print this page</button> <script>function myFunction() {  window.print();}</script> </body></html>                   or <button onClick=”window.print()”>Print this page</button>

Read More »

How to create custom popup in html, css and jQuery?

Create custom popup in html, css and jQuery   <html> <head> <script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js”></script> <style> body{ margin:0px; padding:0px; } .outer_quick_view_box {     width: 100%;     height: 100vh;    

Read More »

How to Update Custom Cart Count with AJAX in WooCommerce?

How to Update Custom Cart Count with AJAX in WooCommerce? function totalcartqty(){ ?> <div class=”header-cart-count”><?php echo WC()->cart->get_cart_contents_count(); ?></div> <?php } add_action(‘wp_head’,’totalcartqty’); add_filter( ‘woocommerce_add_to_cart_fragments’, ‘iconic_cart_count_fragments’, 10, 1 ); function iconic_cart_count_fragments( $fragments

Read More »