Categories
Technology

What does Force Touch mean for UI and UX?

Force Touch or 3D Touch technology looks like promising from a user interface (UI) with user experience (UX) perspective. It is the fact that Apple is not the first technology company to implement the Force Touch technology but the key selling points for the iPhones is Force Touch or 3D Touch which Apple now brands […]

Categories
SEO

Leverage browser caching

Leverage browser caching is a process when webmaster has instructed the browsers how their resources should be dealt with. Basically, browser caching stores webpage resource files on your local computer when any user visits a webpage. When any webpage displays on a web browser then there are so many things to load i.e. logo, css […]

Categories
jQuery

Add table row dynamically in jQuery

Want to add an additional row to a table as the last row in jQuery? Use jQuery after() method to add table row dynamically after last row. You can include anything within the after() method and this is a valid HTML, including multiple rows as per the example below: Example to add table row dynamically: […]

Categories
jQuery

How to check checkbox with jQuery?

The correct way to check checkbox on the DOM elements can be done using jQuery .prop or .attr method. By using JavaScript’s “checked” property, we can solve the problem directly, instead of manipulating the DOM into doing what we want it to do. To check checkbox see the below script: After jQuery version 1.6 you […]

Categories
jQuery

jQuery Checkbox checked property

The checkbox checked property of a checkbox element gives you the checked state of the element. But you can also check using is() method. Example of Checkbox checked: <input type=”checkbox” id=”checkID”/> Then using checked property you can check this: if(document.getElementById(‘checkID’).checked){ // checked } else { // unchecked } Alternatively, you can use jQuery is() function […]

Categories
jQuery

Difference between jQuery’s replaceWith() and html()

The jQuery replaceWith() method replaces each element in the set of matched elements with a new content and return the set of elements that was removed. Lets discuss about the difference between replaceWith and html. Possible values: – HTML elements – jQuery objects – DOM elements But in jQuery html() it sets the HTML contents […]

Categories
SEO

WWW or non-WWW version?

Any website can be accessed either WWW or non-WWW version. It can be harmful for search engine ranking. Google and other search engines can see two separate versions with the same content. Basically “www” is the sub domain which can target to another content. Any search engines based on how many incoming links are pointing […]

Categories
jQuery

idTabs – jQuery Plugin

idTabs is a jQuery plugin which adds multiple tabs into a website in a simple and easy way. It has endless possiblities. Using idTabs is very easy. Just download the library and copy and paste the following code into the <head> <script type=”text/javascript” src=”jquery.idTabs.min.js”></script> Now use the following scripts: <ul class=”idTabs”> <li><a href=”#tab-1″>Tab 1</a></li> <li><a […]

Categories
jQuery

imgAreaSelect – image crop jQuery plugin

This is plugin for jQuery to select and image crop rectangular wise of an image as well as other user interface features such as photo notes (like those on Flickr). Features: – This is very Lightweight and highly configurable – Can customizable with CSS – Handles scaled images – Support keyboard for moving and resizing […]

Categories
jQuery

jQuery Face Detection Plugin

jQuery Face Detection Plugin – This is a jQuery plugin to detect faces over images, videos and canvases. Include jQuery library and the plugin. <script type=”text/javascript” src=”http://code.jquery.com/jquery-1.11.1.min.js”></script> <script type=”text/javascript” src=”path/to/dist/jquery.facedetection.min.js”></script> Now set a photo with some faces in your HTML page. <img id=”image” src=”img/myface.jpg”> Apply the plugin to this photo and get the face coordinates. […]