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






3 Chaining Levels Dropdown List This is one of JavaScripts that make chaining dropdown lists; in this JavaScript example is Country, State, City, select a country in first HTML dropdown for selecting states in the second dropdown, for cities in last dropdown.

You can customize this JavaScript code as you need, such as automobiles: type/make/model or books: publisher/author/title.


Category: Form, Dropdown

Add CSS Stylesheet by JavaScript Normally, web developers will place CSS code into a pair of tags such as or to a CSS file. But in this snippet, we are creating CSS within JavaScript definition that browsers still understand these CSS properties. Although this CSS example is more complex than old CSS definition, but it is one of ways to develop website; you may consider this is CSS tutorial which quite worthy to see.


Category: Snippet

Dropdown Navigation Controller See the name, maybe you think that this JavaScript code have the complex source code and excellent features? If you are thinking like that, maybe author has disappointed you because this code is quite simple, but author give the name.

This JavaScript creates a drop down control for your content on the page, such as navigation menu, menu vertical or a search form. The content link to drop down is simply hidden in a container and dynamically shown onClick or onMouseover. See also: Overlapping content link if you want.


Category: Menu, Navigation

Dropdown Description Toggle This code uses both CSS to design description content and JavaScript to perform the toggle effect for the links, users click the link to drop it down, click again to close. Excellent when you want to present information and not have to worry about popup blockers.


Category: Link, Tooltip

Streaming Horizontal Banner Use this JavaScript code to make a a horizontal image scroller on your web page. If do not view the source code, maybe you will think that this code use MARQUEE for horizontal scroller.

Very easy to customize, can also include a URL for each image, can set size for each image. And you also see: Streaming Banners.


Category: Image, Slideshow

Alternating Rows for Static Spreadsheet This JavaScript code uses both CSS and JavaScript to design your tabular data stream which based Web.

It make your text data nice and easy to read, you just customize and use, because the JavaScript code is published as the open source code with Commons Creative Commons License.


Category: Form, Table

GIF animated with CSS underlines for links This simple CSS code use hover property to underline links when user move mouse over them, a simple technique but it is very prevalent to highlight links on web pages at present. However, the special thing of this code is the picture used, it is the GIF animated - moving arrows, quite funny - one of backgrounds animated javascript codes. Maybe this code will be useful if your site relates to cartoon, joke,... A good technique for attracting attention of visitors on links with animated gif maker.


Category: CSS

Geometric Properties of a Triangle With this JavaScript code, you will not have to remember the complicated formulas for calculating the values of a triangle. Now this code only solves the simple values such as: area of triangle, area of largest/smallest inscribed circle, the angle between two side.

However, the advantage of simplicity is it will be easy for you to understand how it work and customize it according to your needs. Things you need when use this JavaScript code is enter the values of three sides.


Category: Calculation, Math

Detecting screen/browser resolution This JavaScript is most simple way to detect screen resolution of your visitors, then redirecting them to the appropriate URL; if you want more in this code, such as: set resolution, change resolution, ... it can not. This JavaScript just have a few code lines, just for browser detect by detecting the screen width.


Category: Browser

Simple Date Format library This library can help you format a date object to a string or vice versa by very simple functions. This library works similar as SimpleDateFormat class in the Java language, so there will not be difficult when you do use this library if you know Java. In example page, there are many date format examples, converting formats, convert string to date, timestamp date... For more information about usage, please read more documentation written by author.


Category: Time, Clock

iPhoneKer.com
Save up to 630$ when buy new iPhone 15

GateIO.gomymobi.com
Free Airdrops to Claim, Share Up to $150,000 per Project

https://tooly.win
Open tool hub for free to use by any one for every one with hundreds of tools

chatGPTaz.com, chatGPT4.win, chatGPT2.fun, re-chatGPT.com
Talk to ChatGPT by your mother language

Dall-E-OpenAI.com
Generate creative images automatically with AI

AIVideo-App.com
Render creative video automatically with AI

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web