google+javascriptbanktwitter@js_bankfacebook@jsbankrss@jsbank
Guest, register






2D Boids in JavaScript This JavaScript Boids effect is a simulation of flocking/schooling behavior (e.g. birds, fish). A very helpful JavaScript code to practice yourself.


Category: Utility

Simple 3D Graphics Animation in JavaScript Here are some 3D graphics made with just JavaScript, let teach yourself by this advance JavaScript code & tutorial. We have a TIE fighter rotating, and moving left and right; we may change axises, drawing modes, viewing styles and scenes.


Category: Utility

JavaScript Percentage Loading Bar: Code & Tutorial According to jsB@nk's own rating thoughts, this JavaScript example code is very useful, awesome and realistic in some code lines of JavaScript; we may show this JavaScript percentage loading bar for some querying request from users on the web page. This JavaScript percentage loading bar will start from 0 and end when it comes 100%.

Because this is plain-JavaScript source code without any JavaScript framework, then we have to edit it if want to use for your needs. Let write your request in comments of this JavaScript code example, jsB@nk will help you.


Category: Utility

Simple JavaScript RegEx to Parse Domain Name There are many JavaScript resources to parse an URL in JavaScript RegEx. And parsing the domain main is easy since there's a lot of trick. This is useful for checking whether there is a third party domain involved in a page.

Today, jsB@nk would like to present you another JavaScript example code to parse an URL address using JavaScript RegEx. This JavaScript object is built into 2 JavaScript public methods, we can use them to get domain root of an URL address, or check if whether domain is exist.

Other JavaScript RegEx example codes you should try:
- getElementsByClassName: Simple Shorthand Way to Get HTML Element by className with RegExp
- JavaScript RegEx Example Code for Text Input Limitations
- Built-in JavaScript RegEx APIs
- RegExp Validation


Category: Utility, Generator

Simple Programming Language Code Syntax Highlighter with JavaScript Highlighting the source codes is one very great and important functions for the website/blog that mainly shows source codes on the web pages, jsB@nk also presented you many source code syntax highlighting tools, web applications, code syntax highlighters through two JavaScript article tutorial:

- Highlight your PHP and JavaScript codes with PHP highlight_string
- 16 Free Code Syntax Highlighters by Javascript For Better Programming

Really I also had the plan to apply this cool and amazing feature to jsB@nk since two years ago, however I still could not do this intent cause of many objective reasons. But now, I'm pleasure and happy to show you new JavaScript code example for highlighting your source codes. Although it's quite simple (just compared with other highlighting tools above) but they can still work very well for all programming languages.


Category: Utility, Generator

Simple JavaScript Page-Note Glossary If you ever seen many web pages, posts of professional knowledges, specialized in skills or researches; perhaps you would see many specialized in words that they're explained after each post/page.

As a content publisher, when you have to work with specialized in articles, you'll have to spend more time to make more explanations by your hand if they're very long ones. This is reason Aaron Gustafson build this JavaScript code example, it helps us spend less than time for this job, all we have to do now is concentrate on our content, all glossaries will be done automatically.

There's another very useful JavaScript code example to content publishers: JavaScript Content Auto-Indexing using DOM.


Category: Utility, Generator

XMLWriter: Simple JavaScript XML Creator XML - a type of data defining - becoming more popular at present because of its flexibility and convenience, data defined by XML become more visual and clear to query with any platform. XML is being used by more and more web platforms/utilities such as: JavaScript, PHP, .NET, Java, Flash, etc.

Almost web development tools, web applications have exclusive libraries (functions, objects) to process XML data; besides; many famous platforms: WordPress, Zend, Joomla, etc also built its own libraries for XML; this is stable proof to proven above things jsB@nk said.

However, the field of XML is too big to discuss in this short post, because there was many professional books/e-books research it. Now in this post, jsB@nk like only to show you a simple JavaScript application for generating data in XML. Please go to the live demo of this JavaScript code example for short review.

Try more JavaScript XML parse scripts if you like:

- Random of Testimonial Bubbles with XML and jQuery
- getXML


Category: Utility, Generator

JavaScript Virtual Keyboard Interface with Many Languages This JavaScript code example is a cool reusable script to add a graphical virtual keyboard interface to text fields, password fields, and textareas so they can be filled with mouse only for better security issues.

This JavaScript keyboard input script also supports to enter special characters easily. Besides, this script comes with full keyboards for Arabic, Belgian, Dutch, Dvorak, French, German, Greek, Hebrew, Hungarian, Italian, Lithuanian, Norwegian, Number Pad, Polish Programmers, Portuguese, Russian, Slovenian, Spanish (Spain), Turkish-F, Turkish-QWERTY, UK, US Standard and US International keyboard layouts, dynamically selectable. Add additional layouts is simple. Easily implemented on any Web site.

Try more other JavaScript virtual keyboard interface scripts on jsB@nk:

- Virtual Keyboard
- Virtual Keyboard tool
- Real User Keyboard


Category: Utility

JavaScript Filename Array Maker During coding JavaScript applications, we usually have to work with many JavaScript arrays; and sometimes declare/initiate them is the time-consuming tasks.

For this reason, I would like to present you this JavaScript code example. We can use this script to generate many arrays as you need with a lot of options: JavaScript array length, JavaScript string array, names, style to display, etct; that will help speed up your jobs. Easy to use and implement!


Category: Utility, Generator

Marking your Sheet Music Notation with JavaScript One more wonderful JavaScript web application created by JavaScript developers, web developers. That is sheet music notation application from klog, the idea is build an JavaScript application, where people with MIDI keyboards can test their sight-reading online. The JavaScript web program will judge your playing objectively, according to whether you hit the right notes, what your timing was like, whether you got the dynamics right, etc.

Although this free music notation JavaScript is still in developing, coming with features: render two staves (bass and treble) to show left and right hands, render semi-breves, show fingering on notes, dotted notes, quavers, tied quavers. But its demo is a miracle, jsB@nk.com's pleasure to present the demo of sheet music notation with JavaScript.


Category: Utility

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web