Tag: Javascript

Free Responsive HTML5 & CSS3 Web Templates

Are you looking for free HTML5 and CSS3 templates for building your website ? Here’s some of the free responsive HTML5 and CSS3 Web templates with some amazing features which the web developers can utilize to build their website. Free Responsive HTML5 & CSS3 Web Templates SimpleWork StartUp Travel Big Picture KreativePixel Flex Learner Superior Dragonfruit Sprint Sonic Fitness

List of Files Created by the Blank App JavaScript template in Windows 8

When a new JavaScript project is created in the Windows 8 ( Windows Store App ) , the Visual Studio 2012 Express for Windows 8 creates the following files 1. default.html – This is the default html startpage of the Windows Store App 2. default.js – Javascript file 3. default.css – CSS file 4. Images – set of logos to display in the Windows 8…

Verify if the variable is a non-empty string in JavaScript

If you want to test if a variable that is defined is a non-empty string in JavaScript , you can use the typeof keyword to find if the type is a sring as well as check for the length of the string as shown below. How to verify if the variable is a non-empty string in JavaScript ? This will cause the else part to…

How to Derive a Class (Inheritance) in Javascript (WinJS) ?

If you want to derive a class from another class in Javascript when developing a Windows store app using WinJS library , you can use the WinJS.Class.derive method to do it. How to Derive a Class (Inheritance) in Javascript (WinJS) ? Below is a sample code snippet demonstrating how to derive a class in WinJS.

Top 10 JavaScript Drawing Libraries

Are you a Web developer and looking for the drawing libraries in JavaScript ?. In this blog post , we list out some of the popular JavaScript drawing libraries. Top 10 JavaScript Drawing Libraries D3.js Paper.js Raphael Processing.js Fabric.js p5.js Maker.js Snap.svg pixi.js Paths.js Are there any other interesting JavaScript drawing libraries that you use ?. Feel free to share them in the comments section.

Get the Current Location from Windows 8.1 Store App using JavaScript

Below is a sample code snippet demonstrating the procedure on how to get the current user location Windows 8.1 Store App using JavaScript. How to Get the Current Location from Window 8.1 Store App using JavaScript ? Add the button and the span element to the html page where you want to show the current location. <button id=”GetLocation”> Get Location </button> <span id=”locationinformation”></span> Add the…

How to remove or replace array element in JavaScript ?

To remove or replace an element in an array in JavaScript , you can use the splice method as shown below. How to remove or replace array element in JavaScript ? To remove the array element , you can use the splice method and specify the index of the array to remove the array element. The second parameter determines the number of elements to remove….

How to append an array to another in JavaScript ?

In JavaScript , you may want to append one array to another array(s) to combine their elements resulting in to a single array. How to append an array to another in JavaScript ? You can use the concat method of JavaScript to achieve the same. Below is a sample code snippet demonstrating the usage of the concat method of array in JavaScript to combine multiple…

Can we develop Windows Phone 8.1 App using HTML5 , JavaScript and CSS ?

Most of the developers with the web development skills might be keen to know if they can use their existing web development skills (HTML , JavaScript and CSS) to build Windows Phone 8.1 App . Can we develop Windows Phone 8.1 App using HTML5 , JavaScript and CSS ? Yes , you can develop Windows Phone 8.1 App using HTML5 , JavaScript and CSS ….

Popular JavaScript Development Frameworks

There are plenty of JavaScript frameworks that can be used by the Web Developers . Below are some of the popular and well known JavaScript Development frameworks. Popular JavaScript Development Frameworks Emberjs http://emberjs.com/ Sencha http://www.sencha.com/products/extjs SpineJS http://spinejs.com/ Knockout JS http://knockoutjs.com/ Angular JS https://angularjs.org/ Cappuccino Project http://www.cappuccino-project.org/ Batman.js http://batmanjs.org/ Stapes.js http://hay.github.io/stapes/ ToDoMVC http://todomvc.com/ Backbone.js http://backbonejs.org/ Javascript MVC http://javascriptmvc.com/ Rappidjs http://www.rappidjs.com/#/home Mochikit http://mochi.github.io/mochikit/ Serenade.js http://serenadejs.org/

Creating a Windows 8 App using HTML , CSS and JavaScript

This is the first of the series of blog post on the Windows 8 app development using HTML , JavaScript and CSS. To create a new Windows 8 App using HTML , JavaScript and CSS , follow the below steps. Make sure that you have installed Visual Studio 2012 Express for Windows 8. Launch Visual Studio 2012 Express for Windows 8 and Navigate to File…

Popular LINQ for JavaScript libraries

Below are some of the popular LINQ for JavaScript libraries that allows the developers to query JavaScript objects using LINQ like syntax. Popular LINQ for JavaScript libraries jLinq linq.js – LINQ for JavaScript LINQ to JavaScript Reactive Extensions for Javascript $linq