You Are Here: Home »   Codelist

Code Library

Javascript Code

Add Bookmark

1,889 Views

A simple snippet so visitors can add your site to their favorities

Alert Once Box

1,598 Views

Pop up a message alert box for your visitors, that they only see on the first visit

Block Errors

1,442 Views

This will block the "done but with errors on page" message that you sometimes get on the statusbar

Break Out Of Frames

1,422 Views

Stop your website getting trapped in a frame (forces the window ontop)

Check Radio Buttons

1,479 Views

Simple function to loop through a number of radio buttons in a form to see if one is checked

Custom Cursor

1,690 Views

Allows you to use a custom mouse cursor on your site

Email encode

1,553 Views

This javascript will encode an email however still let mailto: work with it :)

Extra Button(Proboards)

1,702 Views

This lets you add an extra button to the top menu bar, so you can add a button to link to your website homepage, chatroom or whatever

Guest Redirect(Proboards)

1,377 Views

Redirects guests on your proboards forum to the register page, this is a heavily modified version of a non-working code i found at support.proboards.com (place in your main header)

Hide Show Layers

2,134 Views

Ability to hide and show elements of a html page.

MailForm

1,981 Views

A basic html mail/contact form layout

Page Refresh

1,529 Views

Let visitors refresh your page from a button, usefull if you display some random content

Play Music

1,992 Views

Code to play an mp3 file as background music on your site

Popup Window

1,660 Views

Create a simple popup window, you can easily edit the size and other attributes

Random Page

1,222 Views

Put this code in your page, and you will goto one of 3 pages you assign

Redirect Page

1,415 Views

Automatically redirect people to a certain page when the visit another

Rules Popup(Proboards)

1,261 Views

This mod can display your rules thread in a popup window when a new user clicks the registration page

Set As Homepage

1,399 Views

Let visitors set your site as their default homepage

Shake Browser

1,506 Views

When you click an assigned button, it shakes your browser and everything on the page

Show And Hide Content

1,869 Views

Use this for collapsible menus or any content you want to show/hide from a link

Time And Date JS

4,417 Views

Display the current time & date on your website

View Page Source

1,531 Views

Pop up the source of the page from a link. (IE/Mozzila)

Window Popup

1,470 Views

When the page loads make a window popup.