ANA SAYFA | FORUM | 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
>> PHP Arşivimiz Gelişiyor! (0 yorum)>> 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)
// EN YENİLER
// EN POPÜLER
// Anasayfa » JAVASCRIPT» Diğer
Oy:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <!-- Free to use for any purpose --> <!-- No Linkback or Credits required --> <head> <title></title> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <script type="text/javascript"> <!-- function expandCollapse() { var e = document.getElementById( 'content1' ); e.style.display = 'none'; var e = document.getElementById( 'content2' ); e.style.display = 'none'; var e = document.getElementById( 'content3' ); e.style.display = 'none'; var e = document.getElementById( 'content4' ); e.style.display = 'none'; var e = document.getElementById( 'content5' ); e.style.display = 'none'; var e = document.getElementById( 'content6' ); e.style.display = 'none'; //Keep on adding more. I think I need to optimize this code. } function toggleVisibility(id) { var e = document.getElementById(id); if(e.style.display == 'none') { e.style.display = 'block'; } else { e.style.display = 'none'; } } //--> </script> </head> <body onLoad="expandCollapse()"> </head> <body> <a href="#" onclick="toggleVisibility('content1');">+ Major Browsers</a> <div id="content1"> Firefox, Opera, Safari, IE </div> </body> </html>
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