PDA

View Full Version : Dynamic HTML



netboy
04-16-2002, 11:31 AM
I was thinking if I can have the browser play a video file ONLY when I click on an inline image... Can I do that?

Example.. the image's height and width is 100..
the when I click on the image, the video file will replace the image and play on 100 x 100..

Can anyone help?

Thanks in advance.

Brian
04-16-2002, 01:11 PM
the only way i can think of is to use an iframe and a quicktime movie..wouldn't look very good

compjinx
04-16-2002, 01:30 PM
can't you just put the image in a div tag, and when the user clicks on the div tag, the html of the tag is replaced with HTML that points to a video. I'm not that great at DHTML so I miight not even be talking about the right thing.