I like to know how to do this effect any seen or know it?

  • CStrauss
  • Graduate
  • Graduate
  • User avatar
  • Joined: Mar 23, 2006
  • Posts: 119
  • Loc: St. Louis MO. USA
  • Status: Offline

Post July 3rd, 2009, 3:01 pm

I saw this effect on this web site

http://www.videocopilot.net/tutorials/

Where they mouse over the thumbnail and it shows the video clip. Obviously it's reading and flv or more likely and swf file and javascript anyone see any tuts or know how to do this they can show me?

Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 3rd, 2009, 3:01 pm

  • Rabid Dog
  • Cheese Monkey
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3188
  • Loc: South Africa
  • Status: Offline

Post July 3rd, 2009, 3:13 pm

A simple view source would have explained the process

Code: [ Download ] [ Select ]
 
<a href="http://www.videocopilot.net/tutorials/dvd_authoring/"><img src='http://www.videocopilot.net/assets/public/images/vc_cool/tutorialpics/new/91.jpg' border="0" onmouseover="showtrail('http://www.videocopilot.net/assets/public/flash/tutorialvids/91.flv', 'video','DVD Authoring',266,150,0,'hqmedia','');" onmouseout="hidetrail();" /></a>
 
 
  1.  
  2. <a href="http://www.videocopilot.net/tutorials/dvd_authoring/"><img src='http://www.videocopilot.net/assets/public/images/vc_cool/tutorialpics/new/91.jpg' border="0" onmouseover="showtrail('http://www.videocopilot.net/assets/public/flash/tutorialvids/91.flv', 'video','DVD Authoring',266,150,0,'hqmedia','');" onmouseout="hidetrail();" /></a>
  3.  
  4.  


showtrail is the function to display the trailer and hidetrailer hides the trailer. As you can see the showtrail is hooked to the onmouseover event and the hidetrail is hooked to the onmouseout event.

If you look through the head portion of the site (in view source) you will see the JavaScript links, you might want to go through these files to find the functions. I personally think it is as easy as finding the object you working with, displaying / writting a layer with the neccessary tags and urls and displaying it. Hiding it probably sets the layers visibility to none. Again a perfect example of a display layer being twisted to do strange things *sigh*

Note to mod: If this type of info ain't allowed here please let me know and remove this post.
My Software Development Company
Music I have recorded (fixed now :))
Image

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 155 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.