Quote:
Originally Posted by SlamDesigns
Bump back to the front page. Thanks!
|
a few ways to go about this.
heres an example (this is for pics)
http://www.cryer.co.uk/resources/jav...13_gallery.htm
would need to modify it for videos.
or jquery
Code:
<ul>
<li><a href="#video1" class="video">Video 1</a></li>
<li><a href="#video2" class="video">Video 2</a></li>
<li><a href="#video3" class="video">Video 3</a></li>
<li><a href="#video4" class="video">Video 4</a></li>
<li><a href="#video5" class="video">Video 5</a></li>
<li><a href="#video6" class="video">Video 6</a></li>
<li><a href="#video7" class="video">Video 7</a></li>
</ul>
<div id="videodiv">Video code</div>
Code:
$('.video').each(function() {
$(this).click(function(event) {
event.preventDefault();
var video = $(this).attr('href');
$('#videodiv').html('<h1>Hello</h1>');
});
});
of course you would replace <h1>hello</h1> with the actual embed function.