Page 14 of 56

How to read JSON using AngularJS

Last updated on November 22nd, 2024 at 12:35 pmAngularJS snippet sets up a basic application that reads data from a JSON file and displays it in a table. Below is an explanation of the script and suggestions to make it functional. AngularJS is a JavaScript library maintained by Google. It is a web application framework […]

How to Use HTML5 Geolocation Using Google Map

Last updated on November 11th, 2022 at 12:12 pmIn this script we will first identify a user’s geographical position using longitude and latitude from the browser using HTML5 Geolocation API. This is only available in HTML5 navigator.geolocation enabled web browsers. In this script the browser will first confirm with user to approve whether it can […]

Understanding the HTML5 Vibration API

Last updated on November 7th, 2024 at 12:18 pmWhen a web page is being loaded, the navigator.vibrate() function can be utilized to trigger vibrations on an iPhone or smartphone. This functionality can serve as a means to alert users, encouraging them to engage with specific features on your page or website. For example, Here the […]

How to rotate image on hover using jquery

Last updated on June 7th, 2022 at 08:47 amImage displayed will get randomly tilted to different angles defined in an array either towards right or left. While mouse hover(Move mouse over the top of image) it will zoom within the defined range using CSS. Here I am zooming it to scale(2.1). Image will also have […]

« Older posts Newer posts »