JavaScript : cool tips and tricks

Agreed JavaScript has nothing to do with Java, except for the sufix, I know JavaScript is not a full fledged programming language and many serious programmers consider it as a toy for teenagers, but it does pull up some powerfull yet cool stuffs for the web browser/UI. If you can take advantage of it, you can present your data in a better and flashyer way and win hearts, remember however complex your code might be, in the software world appearence does matter!.

some cool tricks .. most of it might be lame for javascript pros, but i want to put them together here for my reference…

Quick & Simple Auto Redirection

<script type="text/javascript">
window.location = ""

Simple Page with java Script for a Tabbed Page : – Example – summary.html

JS example of creating a Dynamic Tabbed Html page – This has the feature to dynamically load the tabs ( or the html files associated with the tabs ) instead of loading all data at once.

Drop Down to display stuff in the same page : – – Example – index.html

Collapsing Table using Javascript/DOM/CSS : – Example –

Leave a comment

Filed under javascript

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s