Home » JavaScript (page 20)

JavaScript

Creating a NodeJS Web Server to Run angular-seed

The angular-seed project on GitHub is a great way to start playing with AngularJS. It allows you to get an AngularJS single-page web app up and running very quickly. If you want to run your web app with NodeJS then you will need to create a basic Node server. I will attempt to explain how to create a Node server configuration using some common Express framework components. ...

Read More »

RequireJS Tutorial – How to use RequireJS

Table Of Contents 1. What is require JS? 2. What is AMD? 3. Configuration 4. Require 5. Define 6. Module loading error handling 7. Optimizations 8. Plug-ins 8.1 text 8.2 domReady 8.3 i18n 8.4 CSS 9. Creating libraries using RequireJS 10. Conclusions 11. Download 12. Links This article is about RequireJS, it describes its main features and what specification it ...

Read More »

A Gentle Introduction to Node.js

Recently at work, I sought to familiarize myself with Node.js. Naturally, I started searching the pool of applications in Keyhole’s GitHub repository. This was the first time I was using Node.js and the instructions in the application readme file to run the application locally was thoroughly detailed. However, I ran into some very basic questions trying to run the application ...

Read More »

Javascript Window Size Example

Say that you are working on an app that among other things uses a lot of differently sized windows, and their sizes affect the User Experience or comfortable usage of the app. That means you have to alter the size of the new windows that are generated, or even the one the user is currently working on, if the need ...

Read More »

jQuery Enable/Disable Example

The aim of this example is to show you how to enable/disable the html elements by using jQuery. In some cases, we need to enable or disable a HTML element. This will help us to allow/prevent the user from doing some actions. jQuery provides very simple code to enable/disable any HTML element. The following code is used respectively for this ...

Read More »

Javascript Refresh / Reload Example

When Javascript first started to be used on webpages, it had a very big advantage to it: It allowed the webpage to load information from the server asynchronously. These days you can make your webpage reload even without asking for the user’s permission, or by adding other features that improve the performance of your web app such as timing the ...

Read More »

Javascript Onmouseover Example

Over time, programmers started paying attention not only to the functionality of their app or website, but also security, manageability and a lot of other additions that are nowadays a requirement. The one who was the most widespread and improved specifically fast was User Experience. It was given so much attention that by now there are whole concepts, programming languages, ...

Read More »