Changing The className
It performs the toggle function to change the class of the paragraph tags and reverts back to the default class name when user rollout of it. You can embed the CSS style code inside the Head section...
View ArticleLive Date Lite v1.08
A simple date picker with live 12/24hr clock, month/week names, 2/4 digits' year display and supported with configuration settings...
View ArticleProgress Bar
A simple progress bar that you can addUp with some common events' like redirecting the user to another source. And while they wait let this progress bar do some work for them...
View ArticleStylesheet changer
A basic example on how to change your stylesheet dynamicaly! I will use a dropDown list to control the environtment! Assuming that you have 4 different .css ( default, red, blue and green ) on your...
View ArticleDecimal to Binary Converter
As usual i searched google to convert Decimal numbers to their Binary equivalents but i couldnt find any short algorithm for that matter. So here is mine..
View ArticleBinary to Decimal Converter
Converts binary numbers to their equivalent decimal numbers.
View ArticleMips multiplication simulator
This pure javascript code simulates how multiplication is done by mips processors.
View ArticleBinary to decimal using bitwise operators
to demonstrate some usage of bitwise shift and xor operators, i created a conversion function using these two.
View ArticleFunction to find prime numbers
Accepts number as input, writes the prime numbers up to that number to the screen.
View ArticleThe W3Cs Validation tools
In for the latest addition to my code snippets, here's one you'll trully appreciate. This validation tools is packed with the W3Cs (x)HTML Markup validator, CSS validator, MobileOK tester and...
View ArticleTab menu with rounded corners generator
I have searched for a tab menu script for a long time but none of them was flexible enough,then i created one for me. The algorithm is nice so the script is not too long although being flexible. your...
View Articlexml to html table v.2
I saw that in some xml files, child numbers are not the same for the elements which will correspond to our table rows. So i created a more smart version which is error tolerant.
View ArticleTab Menu
very simple very powerful tab menu, it can be used as a switch menu or to hide-show associated panels.
View Articlehtml table string to dom table
converts the html tables which are created by string concatenation to dom table objects
View ArticleComparing two html tables without a primary key
in the previous snippet i compared two tables having columns as name and value pairs. this new one compares two tables of any number of columns(as long as it is the same number on both tables).
View Article