برف آمدن بسیار طبیعی برای سایت شما
آخرین زمان حضور: Apr 2018


نگارش: انتخاب نشده امتیاز:
نصب شده: 1 بار

زمان انتشار: 2009/09/25 بروزرسانی: هرگز دریافت شده: 32 بار

با سلام.
این هم یک برف اومدن
که برف ها به طرف ماوس میره و بسیار واقعی هست و ته صفحه میمونه
نمونه :
http://www.schillmania.com/projects/...c-example.html
کار هایی که باید بکنید :
1. Upload 2 folder: clientscript and images to your forum.
2. Just add the code below into headinclude
Edit something in snowstorm.js if u want!کد:<script type="text/javascript" src="clientscript/snowstorm.js"></script>
(Line 71)
Demo:کد:// PROPERTIES // ------------------ var imagePath = 'images/snow/'; // relative path to snow images (including trailing slash) var flakesMax = 128; var flakesMaxActive = 64; var vMaxX = 8; var vMaxY = 4; var usePNG = true; var flakeBottom = null; // Integer for fixed bottom, 0 or null for "full-screen" snow effect var snowStick = true; var snowCollect = false; var targetElement = null; // element which snow will be appended to (document body if undefined) var followMouse = true; var flakeTypes = 6; var flakeWidth = 5; var flakeHeight = 5; // ------------------
- http://schillmania.com/projects/snow...c-example.html
Thanks:
- Scott Schiller (http://schillmania.com/projects/snowstorm/)
علاقه مندی ها (Bookmarks)