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 shrink navbar on scroll ?

Shrink navbar on scroll  <style>.nav_logo_scroll{ width: 120px !important;     transition: all 0.5s linear; margin-left: 45px}.jassi{ width: 100% !important;   transition: all 0.5s linear;}</style> <script>jQuery(document).ready(function($){ $(window).scroll(function() { if($(document).scrollTop() >=1) {

Read More »

How to update data in database in wordpress?

<?php if(isset($_POST[“submit”])){ extract($_POST);$parametername = $_POST[‘parametersname’]; $id = 4;/***** updating user *****/ $userstable = $wpdb->prefix . “apindt_parameters”; $where = array( ‘ID’ => $id ); $wpdb->update( $userstable, array( ‘parameters_name’ => $parametersname, ‘wet’

Read More »

How to create professional login form in HTML and CSS ?

 create professional login form <html> <head> <style> section.elementor-element.elementor-element-809d463.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default.elementor-section.elementor-top-section { display: none; } .elementor-inner { display: none; } .wrapper{ width:100%; height:100vh; display: flex; justify-content: center; align-items: center; } .wrap{ width:80%; margin:auto;

Read More »

How to use jquery on checkbox in worpdress ?

How to use jquery on checkbox in worpdress ? <html lang=”en”> <head> <meta charset=”utf-8″> <title>Check the Status of Checkboxes</title> <script src=”https://code.jquery.com/jquery-1.12.4.min.js”></script> <script type=”text/javascript”> $(document).ready(function(){ $(‘input[type=”checkbox”]’).click(function(){ if($(this).is(“:checked”)){ alert(“Checkbox is checked.”); }

Read More »

How to accept image extension from url in php?

How to accept image extension from url in php? <?php  $file_name = ‘http://localhost/brrrr/wp-content/uploads/2019/11/New-Business-card-4.jpg’; echo $file_name.”<br>”; $allowed = array(‘gif’, ‘png’, ‘jpg’); $ext = pathinfo($file_name, PATHINFO_EXTENSION); if (!in_array($ext, $allowed)) {    

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 »