Miscellaneous
Results 1 - 20 of 62
Create a Slide-In Panel with jQuery
This tutorial will explain how to create a slide-in panel effect with jQuery. Basically, this means a hidden panel the slides into view when it is triggered by a button or other action. This is often used to display a contact form in a fun way. As it...
(show more)
Document Object Model Manipulation
This script introduces few functions (appendChild, nodeValues...) commonly use for DOM navigation. It features a live example which has been tested on IE & Mozilla/Firefox.
Display a message for adblock users
This tutorial will allow you to modify your ads to display a custom message whenever it is detected that they are being blocked with programs like adblock. It only requires the creation of one javascript file and a very simple edit to your ad placements.
Events in Select Objects
JavaScript and Ajax based applications could launch any function with the right input. Although this could be found in other programming languages, JavaScript have the ability to launch certain functions even if the inputs are unconventional. For...
(show more)
Proper Handling of Onerror Event
Onerror event is one of the many functions developers have to exhaustively use if they are building highly interactive Ajax or JavaScript based application. This form of error handling in JavaScript aids developers in properly handling unexpected errors...
(show more)
Porting Mouseenter / Mouseleave Functions
Mouseenter and Mouseleave functions in IE is one of the main reasons why developers would sometimes have to tweak their applications specifically for IE. Not only is IE the most popular browser, the specific mouse-related commands are very easy to...
(show more)
DOM HTML Attributes
Adding HTML in an Ajax based application is one of the smart moves a developer would have in building a lightweight online application. By using HTML, developers are harnessing the best the HTML would provide – a lightweight source of data with...
(show more)
Customizing JSON Response
JSON is a very useful output for JavaScript. As an output that is specifically built for the same programming language, it is expected that it could work without any problem with JavaScript and Ajax based applications. Although there is still browser...
(show more)
Using Functions Try, Catch and Finally
Handling errors and exceptions in JavaScript is a very tricky task for developers. A single error or exception could mean something is wrong in the general coding of the application. This would prompt developers to seek the source of the problem and...
(show more)
Limiting JavaScript Access to Other Websites
Security should always be the priority of every developer no matter what their programming language they are working on. But security has been on the special focus for JavaScript developers because of the security flaws reported on JavaScript and other...
(show more)
Using Two or More JavaScript Scripts
An ideal scenario for lightweight Ajax and JavaScript based application is to use one script only. An effective application is not necessarily about the dazzling scripts that you can add in your online application. You need to have a smart application...
(show more)
Handling Non-Get Requests
The easiest way of transferring data for an Ajax based application is to use the GET form in XHR. Although there are browser challenges a developer would face, using this function is still the best way to transfer data. Because of browser...
(show more)
Server Timeout Avoidance Using javascript
Often when executing a batch process to convert or move records of data your script execution is subject to a timeout specified in a configuration parameter on the various servers in any of the Web server, dynamic server-side scripting or database...
(show more)
JavaScript Tips for ASP.NET Developers
ASP.NET server controls make your life easier on the server-side, but you may still need to do some client-side programming to build a powerful UI.
JavaScript is the most powerful language on the client-side, and this white paper and the accompanied...
(show more)
Sharing your Google reader shared items
I use Google reader all the time, and its cool sharing items that you read about. The only problem is I don’t know many people that use Google Reader and therefore not that many of them see what I share.So how can we get around this?
MetaTags For Websites, Documents & Articles
Find all the metatags availlable for front pages, documents and articles. Article also includes a metatag generator.
JavaScript: Detecting Caps lock
I wanted to see if you could detect caps lock in JavaScript. Why? As a small usability touch, basically alerting users that caps lock is enabled when they are entering passwords for example. I’ve wrapped up the logic in a simple function that can help...
(show more)
Roll your own script.aculo.us effect
Scriptaculous Javascript library comes with a nice set of effects; if they're not enough, roll your own.
Better DOM for JavaScript
Data Mart is a subset of the data resource, usually oriented to a specific purpose or major data subject, that may be distributed to support business needs. The concept of a data mart can apply to any data whether they are operational data, evaluational...
(show more)
Selective printing
Separate CSS rules assigned to print media type, helps printing designated parts
