www.richandlucy.com © www.richandlucy.com
Home | Photos | Stuff | Forum

> Stuff > Lucy's Portfolio! > Javascript Example 5
  • Create a frameset document with 2 or more frames
  • One of the frames (A) should contain a heading and a pull down with several numbers in it
  • Another frame (B) should contain an image with a name
  • When the pull down in frame A is changed the image in frame B should change accordingly.

You will need a series of images in an images directory all with the same core name followed by a number e.g. image1.jpg, image2.jpg, image3.jpg etc.

The images will need to be put into an array

The function called when the pull down is changed will change the image src of the image in frame B - this is not in the same document anymore because of the frames, but frames are in an array in a similar way to forms.


You can see the page created here


2 3 4 5 6 7 8 9 10 11 12 13
© www.richandlucy.com - 2004 All content created and owned by www.richandlucy.com | Contact us