Jump to content

A video div layer.....


dewey_witt

Recommended Posts

www.ixwebhosting.com

 

On this page you will notice that if you click on erica it plays the intro video. My question is a two part question

A. how is this implemented onclick?

B. how do you retain a "clear" backgound.

 

If Im not being clear say so I will do my best to re-explain.

Thank you in advance.

Link to comment
Share on other sites

the woman has a "clear" background because she was probably filled infront of a green-screen that was later removed.  The video is actually a .swf (flash) file which can have a transparent background.

 

then they set the CSS z-index to a value higher then the rest of the elements on the page, giving the ability to create layers so the video plays on-top of the rest of the page.

 

as for the "on click" -- its a flash file, so they probably just use the action script version of javascript's onClick()

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.