ANA SAYFA | FORUM | BLOG | SİTENİZ İÇİN | İÇERİK EKLE | EN YENİLER | EN POPÜLERLER | EN BEĞENİLENLER | REKLAM | İLETİŞİM
Arama:
Tüm kategorilerde Google Forumda JAVAScript Araçlar
// ÖZELLEŞTİR
E-posta:
Şifre:
Üye Ol
|
Şifremi Unuttum
>> ARŞİVİMİZ FORUM AÇILDI! (0 yorum)>> Ramazan Bayramınız kutlu olsun (2 yorum)>> Kurban Bayramı (0 yorum)>> 10 Kasım (1 yorum)>> CUMHURİYET BAYRAMI (0 yorum)
// EN YENİLER
// EN POPÜLER
// Anasayfa » JAVASCRIPT» Grafik işlemleri
Oy:
>> Arşivimiz Forum'da Smart Images (ing) ile ilgili açılmış konuları ara>> Veya bu içerik ile ilgili yeni bir konu aç
Smart Images Smart Images These are Smart Images. They know when the mouse gets near them, and they enlarge the closer the mouse gets! The distance is determined by the current center of the image and where the mouse is. Then the distance formula is used to calculate how far apart they are in pixels. You are able to set how far away you want the image to begin enlarging, how big it should enlarge to, and also how small it should shrink back to! To use this on your images, just set the images "class" attribute to "smart". The script will do the rest! I think it looks better if you set startEnlarge, the variable that holds when the enlarging should begin, to at least 250. Right now it is set to 250. This is great for image links! Check out my JavaScript site at Nick's Scripts.be.
These are Smart Images. They know when the mouse gets near them, and they enlarge the closer the mouse gets! The distance is determined by the current center of the image and where the mouse is. Then the distance formula is used to calculate how far apart they are in pixels. You are able to set how far away you want the image to begin enlarging, how big it should enlarge to, and also how small it should shrink back to!
To use this on your images, just set the images "class" attribute to "smart". The script will do the rest! I think it looks better if you set startEnlarge, the variable that holds when the enlarging should begin, to at least 250. Right now it is set to 250. This is great for image links! Check out my JavaScript site at Nick's Scripts.be.
Kodu Kopyala
Hata Bildir | Tavsiye Et
Bu içeriğe oy verin:
Yorumlar / Yeni Yorum Yaz Bu içeriğe yorum yazılmamış.
ANA SAYFA | İÇERİK EKLE | YENİ EKLENENLER | EN POPÜLERLER | EN BEĞENİLENLER | REKLAM | DESTEKLEYENLER | İLETİŞİM
JAVAScript İndir © 2004 - 2008Web Tasarımı: Emir Emiroğlu | Kodlama: Can "FiNaRFiN" HANHAN , Korkut TAHAOĞLU, Göktuğ İÇÖZ