JavaScript

Exploring some interesting fact of java-script and some js framework and libraries.

Featured
JavaScript
Web Technology

JavaScript Utility

Below are few Java Script methods to help you. Debugging in JavaScript: Debugging in JavaScript is now become easier with modern browsers.But still you will be facing issues in many cases so the alternative can be writing print statments in javaScript (i.e. console.log(“Message”)). But in IE browser if you console is not opened (it can […]

Read More
JavaScript
Web Technology

YUI Handbook

Note : AUI (Alloy User Interface) is a wrapper to YUI (Yahoo User Interface), so all JavaScript syntax will remain same. Lets explore some features of YUI. 1. Loading Libraries on demand In YUI you can load the libraries that are required for your Website. ex : 2. Node Selector As of Jquery YUI comes […]

Read More
JavaScript

AUI Ajax Call and Periodic Refresh

Below code demonstrate how to use Ajax Call in your Liferay Code/Yahoo Code. Example 2 : A Generic Method to Manage Your Ajax Calls function ajaxPush(targetDiv, requestURL, postData, syncMode) { A.use(‘aui-io-request’, function(A) { A.io.request(requestURL, { method : ‘POST’, cache: false, dataType : ‘html’, data : { postKey : postData }, sync : syncMode, on : […]

Read More
JavaScript

YUI (Yahoo! User Interface)

YUI is one of finest work from YAHOO!. That’s the reason why Liferay Alloy UI is based out of it. So a default question comes to your mind, how I can start using YUI library. Here it goes. If you know JQuery very well and its just a matter of time for you. Just Visit […]

Read More
JavaScript
Web Technology

IOS Iframe Scaling Issue

Here is the big question ? The iframe’s content is scaled up correctly, but when I try to touch any of the controls in the iframe, then it seems that the touch event is being received at the wrong location (I can see that the control’s “shadow” is highlighted at the wrong place upon touch). […]

Read More