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






Prototype Dollar Function The dollar function is a simple way to grab an element quickly. It not only takes in strings, it takes objects too. Instead of: document.getElementById('a'); use: $('a'). If you want a whole collection of elements, you can simply do this: $('a','b',obj,obj2,'c','d');.


Category: Snippet

getPosition When a layer is inside another layer, it's style.left and style.top positions can both be '0' but the layer itself can be 500 pixels away from the actual margin. These functions will return the true offset.


Category: Snippet

getElementsByClass A quick and elegant way of grabbing elements by a class name. JavaScript provides functions for obtaining elements by id, name, and tag name, but not by class. This function will do the trick!


Category: Snippet

getElementsByAttribute Ever run into a situation where you want to get an array of all elements with a specific attribute? Or even want elements with a certain value for that chosen attribute as well? Just add this JavaScript code JavaScript snippet to your script and your problem will be solved.


Category: Snippet

Greeting Message II script This JavaScript depends on system time to give the greeting message.


Category: Snippet

Greeting Message script This JavaScript depends on system time to give the greeting message.


Category: Snippet

Fade Function script This script creates a JavaScript function that fades HTML elements in or out. This script creates a JavaScript function to fade any HTML element in or out at a specified time frame. This could have any number of uses and is completely re-useable throughout your Web page. Use this function on as many elements as you want.


Category: Snippet

Text Shadow effects This JavaScript uses filters to make shadow for messages.


Category: Snippet

Format Input script Format the text case inside a form, reverse the text, or see the ASCII code behind the input. Cool!


Category: Snippet

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