May 22, 2012, 11:12:41 AM
Pages: [1]   Go Down
  Send this topic  |  Print  
Share this topic on FacebookShare this topic on DiggShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter Topic: Video Hover Tooltip effect  (Read 1560 times)
0 Members and 1 Guest are viewing this topic.
mikethedj4
Full Member
Resident Badass
*****

Reputation: +9/-1
Offline Offline

Posts: 548


Train Insane or Remain The Same


View Profile WWW
« on: October 14, 2010, 02:58:01 AM »

When you go to VideoCopilot you'll notice when you hover over the preview images of the tutorials you'll see a video show shows up, and it shows you the video in action. Well today I'm going to show you guys how you can achieve that hover effect.

The first thing you're going to need to do is download the compressed zip file here to get the javascript and css files you'll need for this tutorial.

Now that we got files we need lets create a new file, and start putting down our code in order for our images to have that hover effect.

First  off lets create our head tags.

Code:
<head>

</head>

Now lets incorporate thoughs files you just downloaded.

Code:
<head>
<script type='text/javascript' src='js/mootools.js'></script>
<script type='text/javascript' src='js/blenderpimp.js'></script>

<link type='text/css' rel='stylesheet' href='css/floater.css' />
</head>

Now lets add in our body tags.

Code:
<head>
<script type='text/javascript' src='js/mootools.js'></script>
<script type='text/javascript' src='js/blenderpimp.js'></script>

<link type='text/css' rel='stylesheet' href='css/floater.css' />
</head>

<body >

</body>

Now inside your body tags add in

Code:
<a href="http://blenderpimp.tk/tutorials/"><img src="holdingfire.jpg" width="320" border="0" onmouseover="showtrail('fireinhandsorig.flv', 'video','Holding Fire',320,240,0,'hqmedia','');" onmouseout="hidetrail();" /></a>

Now your full code in your new index.html file should now look like this.
Code:
<head>
<script type='text/javascript' src='js/mootools.js'></script>
<script type='text/javascript' src='js/blenderpimp.js'></script>

<link type='text/css' rel='stylesheet' href='css/floater.css' />
</head>

<body >
<a href="http://blenderpimp.tk/tutorials/"><img src="holdingfire.jpg" width="320" border="0" onmouseover="showtrail('fireinhandsorig.flv', 'video','Holding Fire',320,240,0,'hqmedia','');" onmouseout="hidetrail();" /></a>
</body>

NOTE: Don't forget to change the names of your images, and videos.

Click Here: to see it in action.

* sourcefiles.zip (116.3 KB - downloaded 2 times.)
« Last Edit: October 16, 2010, 11:25:12 PM by B.SkiLLs » Logged







B.SkiLLs
Xtreme Administrator
Resident Badass
*****

Reputation: +56/-0
Offline Offline

Posts: 2365



View Profile WWW
« Reply #1 on: October 15, 2010, 07:22:23 PM »

 thumbs up

and yeah there are a few good one for vid hovers.. By sample. This one dont seem to bad either.

Mike rename subject to. So can easier be found here through web searches ok. Thxs.
[once rename let me know so i can correct the URL to the same.] Since it only sticks auto to the first subject wrote out ok.
Logged




mikethedj4
Full Member
Resident Badass
*****

Reputation: +9/-1
Offline Offline

Posts: 548


Train Insane or Remain The Same


View Profile WWW
« Reply #2 on: October 16, 2010, 04:49:27 PM »

thumbs up

and yeah there are a few good one for vid hovers.. By sample. This one dont seem to bad either.

Mike rename subject to. So can easier be found here through web searches ok. Thxs.
[once rename let me know so i can correct the URL to the same.] Since it only sticks auto to the first subject wrote out ok.

Done!!! Smiley
Logged







B.SkiLLs
Xtreme Administrator
Resident Badass
*****

Reputation: +56/-0
Offline Offline

Posts: 2365



View Profile WWW
« Reply #3 on: October 16, 2010, 11:28:14 PM »

Hey damn thing wont work and has an update so just report it please ok. That will work for now. Thxs man
Logged




Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to: