• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
JavaScriptSource

JavaScriptSource

Search 5,000+ Free JavaScript Snippets

  • Home
  • Browse Snippets
    • Addon
    • Ajax
    • Buttons
    • Cookies
    • CSS
    • Featured
    • Forms
    • Games
    • Generators
    • Image Effects
    • Math Related
    • Miscellaneous
    • Multimedia
    • Navigation
    • Page Details
    • Passwords
    • Text Effects
    • Time & Date
    • User Details
Home / Archives for Generators

Generators

How To Generate a GUID in JavaScript

How To Generate a GUID in JavaScript

In JavaScript, there are several libraries and built-in methods that can be used to generate a GUID.

Generators

Range generator

Range generator

Creates a generator, that generates all values in the given range using the given step. Use a while loop to iterate from start to end, using yield to return each value and then incrementing by step. Omit the third argument, step, to use a default value of 1. Source https://www.30secondsofcode.org/js/s/range-generator

Generators

Generate a random hexadecimal color code

Generate a random hexadecimal color code

Use Math.random() to generate a random 24-bit (6 * 4bits) hexadecimal number.

Generators

DHTML Tooltip Generator 3

DHTML Tooltip Generator 3

Sometimes the HTML “alt=” isn’t enough to relay the detail you’d like it to. Here is a tool that will allow you to give your users more interactive tooltips. This script will allow you to create a custom DHTML tooltip box on your site.

Generators

Array Creator 3

Array Creator 3

Coding large arrays can be a bit of a repetitive chore. This script will create a generator that will help speed up the process. Easy to use and implement!

Generators

Flashing Scrollbar Maker

This script lets you create your own flashing scroll bars. Simply type in two colors to the prompt and let JavaScript do the rest!

Generators

Robots Text Generator

Robots Text Generator

This generator creates the meta tag for robots. It also includes the code for the Googlebot.

Generators

Drop Down Menu Generator

Drop Down Menu Generator

Simply select the options you would like in your pulldown menu, enter the text and URL for each listing, and click the button to generate the source code. Easy! And, we can even mail the generated code to you!

Generators

Linear Equation Generator

Linear Equation Generator

This Linear Equation generator asks you to find the relationship between X and Y. This is a straight line formula in the form of Y=MX+B where M is the slope and B is the y-intersect.

Generators

Story Generator

Story Generator

This script allows you to enter your name and gender to have one of over a billion random stories generated about you and your adventures.

Generators, Featured

Primary Sidebar

FREE UPDATES!

Get the latest updates in your inbox for FREE!

Popular Posts

Story Generator

IP Grabber – get a users IP address with JavaScript

Simple Calendar

Remove Ads

Astrological Calculator

Copyright © 2023 JavaScriptSource.com

  • About
  • Privacy Policy
  • Submit
  • FAQ
  • Jobs For Developers
  • Contact Us