View Full Version : Changing contents within a page

02 Jul 2009, 03:07 AM
Hi I just designed a page with a wysiwyg program and a embedded a YouTube video. I have 3 videos I would like to embed but what I would like to do is that when they click a link called video2 then the curent video changes without the page changing so they're alwas on the index page ? Can someone direct me to a tutorial or so on how to do this sort of stuff?

16 Jul 2009, 07:35 AM
I won't do the work for you but I can tell you what a good way to go about doing this would be, that way you can google your self through to the solution and find out how to do it.

You can put all the 3 videos onto the page.
Set the style of video 2 and 3 to hidden.

Then, using javascript, you can change 1 and 3 to hidden when you click the link for video 2.

If you take a look at this url, I think it will provide you exactly with what you need, examples and all: