Admin Admin
Posts : 47 Join date : 08.04.14 Age : 35
| Subyek: Membuat Efek Salju Fri Apr 11, 2014 6:07 pm | |
| Buat temen - temen yang ingin membuat efek salju pada web or blog, saya punya trik javascript untuk membuatnya :
/* DHTML PNG Snowstorm! OO-style Jascript-based Snow effect -------------------------------------------------------- Version 1.2.20041121a Dependencies: GIF/PNG images (0 through 4.gif/png) Code by Scott Schiller - www.schillmania.com -------------------------------------------------------- Description: Initializes after body onload() by default (via addEventHandler() call at
bottom.) Properties: usePNG --------------- Enables PNG images if supported ("false" disables all PNG usage) flakeTypes --------------- Sets the range of flake images to use (eg. a value of 5 will use images ranging from 0.png to 4.png.) flakesMax --------------- Sets the maximum number of snowflakes that can exist on the screen at any given time. flakesMaxActive --------------- Sets the limit of "falling" snowflakes (ie. moving, thus considered to be "active".) vMax --------------- Defines the maximum X and Y velocities for the storm. A range up to this value is selected at random. flakeWidth --------------- The width (in pixels) of each snowflake image. flakeHeight --------------- Height (pixels) of each snowflake image. flakeBottom --------------- Limits the "bottom" coordinate of the snow. snowCollect --------------- Enables snow to pile up (slowly) at bottom of window. Can be very CPU/resource-intensive over time.
Download File Selengkapnya
Tulis code tersebut pada Tab HTML or blog kalian, jika malas mencatat code tersebut tinggal copy paste ja Contah Efek salju lihat [url=http://yuwan.orgfree.com/Belajar Html.html] Di Sini[/url] | |
|