views:

16

answers:

1

hi everyone,

does anyone know how to create a code so that after a user logs onto a site for say like 10 seconds, a screen drop down. on the screen (new page layer) is a youtube embedded video.

A: 

Here's to get you started:

  • Create a DIV with your embedded youtube video player
  • using CSS, position the div offscreen and don't display it
  • Create a javascript function (use jquery if you want) that toggles the display and animates - the div moving onto the screen
  • Use settimeout to call the function after 10 seconds
davidosomething