Tagged: javascript

How to Prevent screenshots using JavaScript Code 0

How to Prevent screenshots using JavaScript Code

How to Prevent Screenshots Using JavaScript Code In today’s digital world, protecting your content from unauthorized access and distribution is crucial. One of the most common ways people steal content is by taking screenshots....

Mastering React JS 0

Mastering React JS – Ultimate Guide

Are you interested in learning how to create dynamic web applications using React JS? If so, you’ve come to the right place! In this comprehensive guide, we will cover the basic fundamentals of React...

How to Fix NPM Deprecated Warnings, Errors, and Version Issues 0

How to Fix NPM Deprecated Warnings, Errors, and Version Issues

NPM is an essential tool for managing packages and dependencies in your web development projects. However, you may encounter deprecated warnings, errors, and version issues when using NPM. In this blog post, we’ll show...

Custom linkedin button for share and auth 1

Custom linkedin button for share and auth

Custom linkedin button for share and auth <script src=”http://platform.linkedin.com/in.js”> api_key: //onLoad: onLinkedInLoad scope: r_basicprofile r_emailaddress r_fullprofile authorize:true </script> <script> function onLinkedInAuth() { IN.API.Profile(“me”) .fields(“firstName”, “lastName”, “industry”, “location:(name)”, “picture-url”, “headline”, “summary”, “num-connections”, “public-profile-url”, “distance”, “positions”,...

countdown timer in php 20

countdown timer in php

countdown timer in php $dateFormat = “d F Y — g:i a”; $targetDate = $futureDate;//Change the 25 to however many minutes you want to countdown change date in strtotime $actualDate = $date1; $secondsDiff =...

check canvas empty or not 2

check canvas empty or not

check canvas empty or not <“canvas11″ height=”200px” width=”200px”> <asp:Button runat=”server” ID=”btn1″ Text=”Save” OnClientClick=”checkcanvas();” /> <script type=”text/javascript”> function checkcanvas() { var i = isCanvasTransparent(); //i =true if canvas empty //i =false if canvas has image...

google translate selected language 0

google translate selected language

google translate selected language   A very common problem is to add google translator with already selected language which can be fix by the following code. function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: ‘en’, includedLanguages:...

drupal 6 basic form , create form in drupal 0

drupal 6 basic form , create form in drupal

drupal 6 basic form <?php function test_myform($form_state) { // Access log settings: $options = array(‘1’ => t(‘Enabled’), ‘0’ => t(‘Disabled’)); $form[‘access’] = array( ‘#type’ => ‘fieldset’, ‘#title’ => t(‘Access log settings’), ‘#tree’ => TRUE,...

validation of number in javascript 0

validation of number in javascript

validation of number in javascript function check_number() { var number=document.getElementById(“mobileno”).value; if(isNaN(number)) { alert(“number only”); return false; } else { return true; } }

Creating a Shopify App using Laravel How to Create Custom WordPress Plugin? How to Build a Telegram Bot using PHP How to Convert Magento 2 into PWA?