Skip navigation
Currently Being Moderated

I want to insert thumbnails in my page that are links to videos in popup windows

Jul 14, 2012 1:14 PM

I can do this by a hyperlink but getting a thumbnail from the video and making it a link I am struggling with. I could sort the thumbnail out as an image, but it is the link i don't know how to do. I can't seem to get hotspots involved with the js link as in:

 

<script type="text/javascript">

 

        // Popup window code

        function newPopup2(url) {

        popupWindow = window.open(

        url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=yes, scrollbars=yes,toolbar=no,menubar=no,location=no,directories=no,status =yes')

        }

 

        </script> <a href=

        "JavaScript:newPopup2('pop.htm');">Link text</a>

 

 

This works like a charm, but I can't swap the "link text" for an thumbnail and hotspot or however it is done.

 

Help would be great.

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points