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 JAVAScript Araçlar
// ÖZELLEŞTİR
E-posta:
Şifre:
Üye Ol
|
Şifremi Unuttum
>> Bayramınız kutlu olsun (0 yorum)>> Yeni yılınız kutlu olsun (0 yorum)>> JAVASCRİPT İndir ve JQUERY içerikleri (0 yorum)>> ASP İndir -- Forum bölümü (0 yorum)>> Yeni yılınız kutlu olsun (0 yorum)
// EN YENİLER
// EN POPÜLER
// Anasayfa » JAVASCRIPT» Linkler
Oy:
<!-- TWO STEPS TO INSTALL LINK PREVIEWER: 1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Original: ShuvoRim (shuvorim@hotmail.com) --> <!-- Web Site: http://www.shuvorim.tk --> <style type="text/css"> <!-- a.ln { font-family: "Courier New", Courier, monospace; font-size: 11pt; color: Teal; } a.ln:hover { font-family: "Courier New", Courier, monospace; font-size: 11pt; color: #32CD32; } span.txt { font-family: "Courier New", Courier, monospace; font-size: 10pt; color: Navy; } .box { border: solid 1px #000000; } --> </style> <script language="javascript" type="text/javascript"> <!-- /* * Program - Link Preview * File Name - link_prev.html * Author - ShuvoRim * Web site - http://www.shuvorim.tk * Email - shuvorim@hotmail.com * (c)ShuvoRim Pvt. Ltd. 2002 - 04 * All rights reserved. * ------------------------------ * Visit our web site for free open * source Applications, Applets, * Scripts and Games. Please tell * us whether you liked it or not! * Thank you for using our program. */ /***************************************************** THIS FUNCTION WILL GENERATE THE PREVIEW. IT TAKES 5 ARGUMENTS. THE FIRST ARGUMENT IS REQUIRED. OTHERS ARE OPTIONAL. ******************************************************/ function showPreview(url, border, width, height, desc) { border = typeof(border) == "undefined" ? 0 : border; width = typeof(width) == "undefined" ? 100 : width; height = typeof(height) == "undefined" ? 100 : height; desc = typeof(desc) == "undefined" ? "" : desc; document.getElementById("sp").innerHTML = ''<img src="'' + url + ''" border="'' + border + ''" width="'' + width + ''" height="'' + height + ''"><br>'' + desc; } /*************************************************** THIS FUNCTION WILL CLEAR THE GENERATED PREVIEW. IT DOES NOT TAKE ANY ARGUMENTS. ****************************************************/ function clearPreview() { document.getElementById("sp").innerHTML = "Move you mouse over a link to generate a preview."; } //--> </script> </HEAD> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <BODY> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Original: ShuvoRim (shuvorim@hotmail.com) --> <!-- Web Site: http://www.shuvorim.tk --> <table width=50% border="0" cellspacing="10" cellpadding="4" class="box"> <tr><td valign="top" width="40%"> <ul type="square"> <!-- CALLING THE imgPreview() FUNCTION WITH ALL PARAMETERS --> <li><a href="./images/ball.html" onMouseOver=''showPreview("./images/ball.jpg", 0, 100, 100, "This is a photo of a football. It is a very popular game all over the world.");'' onMouseOut="clearPreview();" class="ln" title="Browse this category">Football</a> <br><br> <!-- CALLING THE imgPreview() FUNCTION WITH ONLY 1 PARAMETER --> <li><a href="./images/butterfly.html" onMouseOver=''showPreview("./images/butterfly.jpg");'' onMouseOut="clearPreview();" class="ln" title="Browse this category">Butterfly</a> <br><br> <!-- YOU CAN USE HTML TAGS AND ATTRIBUTES INSIDE THE imgPreview() FUNCTION --> <li><a href="./images/rabbit.html" onMouseOver=''showPreview("./images/rabbit.jpg", 0, 100, 100, "<b><font color=red>You are allowed to use HTML tags and attributes as description.</font></b>");'' onMouseOut="clearPreview();" class="ln" title="Browse this category">Rabbit</a> <br><br> <!-- CALLING THE imgPreview() FUNCTION WITH 3 PARAMETERS --> <li><a href="./images/spider.html" onMouseOver=''showPreview("./images/spider.jpg", 0, 100);'' onMouseOut="clearPreview();" class="ln" title="Browse this category">Spider</a> </ul> <br><br> </td> <td width="60%"> <span id="sp" class="txt">Move you mouse over a link to generate a preview.</span> </td></tr> </table> <p><center> <font face="arial, helvetica" size"-2">Free JavaScripts provided<br> by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center><p> <!-- Script Size: 4.52 KB -->
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