google+javascriptbanktwitter@js_bankfacebook@jsbankrss@jsbank






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,

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,

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,

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,

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,

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,

Select Option Navigation Menu You can use this JavaScript code to create a drop-down navigation menu for links to other sites. Everytime visitors click for selecting, their browser will direct visitors to specific addresses in dropdown. A very tiny JavaScript effect but too efficient to the sites contain many things, need to save page-spaces.


Category: Menu,

AIVideo-App.com
Generate your business videos by AI with voice or just text

chatGPTaz.com
Talk to ChatGPT by your mother language

AppAIVideo
Your first FREE AI Video App

Deepfake Video
Deepfake AI Video Maker

Deepfake
Deepfake AI Video Maker

AI Deep Fake
Deepfake AI Video Maker

AIvidio
AI Video Mobile Solutions

AIvideos
AI Video Platform & Solutions

AIvedio
AI Video App Maker

Artificial General Intelligence
Ai and higher level Artificial General Intelligence (AGI)

Artificial General Intelligence
Ai and higher level Artificial General Intelligence (AGI)

Faceswap AI Online
Swap Faces Video, Photo & GIFs Instantly with Powerful AI Tools - Faceswap AI Online FREE

Faceswap AI Online
Swap Faces Video, Photo & GIFs Instantly with Powerful AI Tools - Faceswap AI Online FREE

Faceswap AI Online
Swap Faces Video, Photo & GIFs Instantly with Powerful AI Tools - Faceswap AI Online FREE

Powerful AI Presentation PPT Maker for FREE
Build an impressive presentation with our free online AI presentation app

Your next top AI Assistant
Claude AI, developed by Anthropic

Your next top AI Assistant
Claude AI, developed by Anthropic

Temu Free $500 for New Users
Claim Free Temu $500 Credit via Affiliate & Influencer Program

Free TikTok Ads Credit
Master TikTok Ads for Your Business Marketing

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

chatGPT4.win
Talk to ChatGPT by your mother language

First AI Product from Elon Musk - Grok/UN.com
Speak to Grok AI Chatbot with Your Language

Tooly.win
Open tool hub for free to use by any one for every one with hundreds of tools

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

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

Buy Tesla Optimus Robot
Order Your Tesla Bot: Optimus Gen 2 Robot Today for less than $20k

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web