I’m trying to have an avi file open up on a “Tv-Screen” within the same webpage (inside a single table cell, same spot) when a particular button/link is clicked (and changed accordingly whenever a different button/link is clicked). If you want to read how the whole thread started out [url=http://forums.webdeveloper.com/showthread.php?s=&postid=95810#post95810][b]Click Here
Otherwise here’s the JavaScript “solution” I got [i](which unfortunately, i’m still too dumb to figure out the rest of the [b]body code
[COLOR=royalblue]
Originally posted by PunkSktBrdr01
Well, if you want to use multiple videos, you could make a page for each one, or you could use JavaScript. I think this might work:
code:——————————————————————————–
<script type=”text/javascript”>
funtion changeChannel(channel) {
document.tv_screen.src = channel;
}
Put that in the head of the page. Then add name=”tv_screen” to the embed tag. In each link that will change the video, change the href to ‘#’ and add onClick=”changeChannel(‘video file name’);”. I think that’s what you’re looking for.