tags; PART 2 is the HTML Form neccessary for the proper functioning of the script.
// INSTRUCTIONS:
// ...do not change anything in the JavaScript itself.
// ...in the HTML Form, add or subtract tags from the list as needed. Change the "value" in each tags as necessary.
// ...you MUST have at least one image already in place on the page, and you must add this attribute within the tag of the image you wish to change for the script to work: ID="chosenImage"
// ...I recommend putting the image already on the page as the first option so people will know what it is.
function CustomProPhotoSelect() {
i = document.PhotoList.ViewPhoto.selectedIndex;
source = document.PhotoList.ViewPhoto.options[i].value;
document.getElementById("chosenImage").src = source;
}
-->
![]() |
|---|