Home / Free JavaScripts / Images & Music / Here

Cut & Paste Image Selector using selection list

Credit: Cameron Gregory

Description: A JavaScript image selector that uses a selection list to allow surfers to choose among many images to be displayed in one fixed area.



Step 1: Insert the below into the <head> section of your page:

Step 2: Insert the below into the <body> section where you want the selector to appear:

Configuring the script: To change the images to your own, you'll have to edit the code in step 2. The below lists it:

<script language="javascript">
Selector(152,136,"dog2-small.gif condo-view-small.gif hiking1-small.gif hiking2-small.gif malanda-small.gif snowball-small.gif snowcamping-small.gif spider1-small.gif spider3-small.gif ");

Change the first two parameters (152 and 136) to represent the width and height of the image, and the remaining parameter to the name of the images, seperated each by a blank space. You can enter  as many- or as little- images as you want, depending on how many you want be used in the selection list.

JavaScript Tools:
Site Info

CopyRight (c) 2018 JavaScript Kit. NO PART may be reproduced without author's permission. Contact Info