What is this effect?

On this page , on the right side, where 3% is indicated, you will notice that every 20 or so seconds, a plane flies in this section. Is this done using javascript, or is it part of the animated image, and how is it done? I could not find a sample code.

PS Please return if it is not javascript

+3
source share
5 answers

How to find out what is on the page:

  • Install Chrome or Firefox with Firebug (or Safari, but I'm not a Safari user, so I cannot provide instructions)
  • Download page
  • Use the "Elements" developer tab in Chrome or the "HTML" tab in Firebug to select the appropriate element.
  • DOM, , .

<div> ( "id" "flashcontent_home" ), <div> - <embed>. Flash.

IE 8 9 , , . , "View source" - .

+4

CSS/JS.

background-image, overflow hidden. () , animate , opacity voila:

http://jsfiddle.net/niklasvh/DXQ5a/

+4

flash

,

firebug embed, jpg. , - , , ( ).

, javascript, , .

+2

Sameold, , . :

<embed width="618" height="315" wmode="transparent" menu="false" scale="scale" quality="high" bgcolor="#ffffff" name="header_home" id="header_home" style="" src="/img/swf/header_home.swf" type="application/x-shockwave-flash">

: http://armavia.am/img/swf/header_home.swf

, , , JavaScript/CSS (, canvas).

+2

This is a transparent flash image overlaid on a background image. you can see the flash here: http://armavia.am/img/swf/header_home.swf you can save the .swf file and use it on your own site just like them (although that would be a copyright violation.)

+1
source

All Articles