Home / Web Development / Javascript (page 4)

Javascript

Save the HTML or PHP webpage as PDF – JAVASCRIPT

Hi all, Save the HTML or PHP web page as .PDF format using Javascript. It’s simple and useful, window.print() method is used for saving or printing the page as pdf. The print() method prints the contents of the current window or opens the Print Dialog Box. We have to connect …

Read More »

Count Number of Files in a Directory / Folder – PHP

Hi Guys, Today I share some useful topic related to two inbuilt function s in php for count number of files in php. The functions are: glob(() count() Here’s a simple code of PHP code to get the total number of files in a directory using the glob() and count() …

Read More »

Geoloaction in form input type

Here I’m going to tell you interesting topic regarding google map application in web development. Most of the website need googlemap location while we are entering location name, for that we have one solution. Here I explain,when we are entering the location name in input type you will get the …

Read More »

Popup the image gallery with form

Hi Friends, Popup the image with enquiry form using CSS,jquery and javascript in html or php page. This is simple, can edit style, image,form etc.To use it in a real life project like ecommerce website, the customers can post feedbacks as comments in specified product.$(“.mylink”).on(“click”, function (e) { } helps …

Read More »

Drag and Drop Concept – Jquery

Hi all, Here I’m going to show you, how to implement drag and drop functionality using jquery. This drag and drop method mostly used for designing purpose.Drag the image from div and drop to specified div after successfully droped the success message box display otherwise fail alert box display. Here …

Read More »

Multiple Image Upload Preview before image uploading

Good Morning To all, This article provides you to simple description with example and source code based on Multiple Image Upload Preview before image uploading. Upload multiple image using html and also provide multiple image preview. When ever we are uploading image we need instant image preview, for that we …

Read More »

How to make Blinking the text/button/div in html5 and Javascript

The blinker() function helps to blink text/div/button etc.. Set the fadein and fadeout time in blinker(). Also set the timeinterval. Blinking code <button class=”blink_me” >This will blink </button> <script src=”http://code.jquery.com/jquery-1.9.1.js”></script> <script> function blinker() { $(‘.blink_me’).fadeOut(500); $(‘.blink_me’).fadeIn(500); } setInterval(blinker,1000); </script>

Read More »

Responsive CSS tab

A good design of tab system for accordions with responsive design. We can find many special effects made for html websites with the help of jquery and css. An interesting tab menu with added icons and text with additional styles and interest to the viewer. In desktop browser the tabs …

Read More »

Javascript-operators

Javascript support different types of operators. They are: Arithmetic Operators Comparision Operators Logical (or Relational) Operators Assignment Operators Conditional (or ternary) Operators —–>Arithmetic Operators JavaScript supports arithmetic operators . A typical arithmetic operation operates on two numbers. eg: var x=100=50; or var x= a+b;(using variables) Operator Description (+) Addition Add …

Read More »
Social Media Auto Publish Powered By : XYZScripts.com