WEBMASTERLARA ÖZEL KODLAR
Menü
Ana Sayfa
Anketler
Basit Kodlar
Sitene Hava Durumu Ekle
İlahiler
Sitene Tarihte Bugün Ekle
Sitene Canlı TV Ekle
Arkaplanda havai fişek patlat
Sitene şık bir saat ekle
Şık bir takvim ekle
Sitende sağ tuş tıklamasını engelle
Sitenin girişinde hoşgeldin mesajı
Geri dön Butonu ekle
Arkaplanda kar yağdır
Siteni sık kullanılanlara ekle
Sayfa içinde Arama Ekle
Sitene hareketli yazı ekle
Sayfa Yükleniyor Ekle
İnternetten Kuranı Kerim Dinleme Ekle
Yazıyı biçimlendirme
Sigaraya Hayır Ekle (komik)
Sitene Hesap Makinası Ekle
Sitenin Arkaplan rengini ziyaretçiler değiştirsin
Yanıp sönen statusbar(durum çubuğu) yazısı
Mouseda havai fişekler patlasın
kaç saniyedir bu sayfadasın?
Sitenin girişinde uyarı ver
Sitene Mehter Marşı !
Sitene Haberler Ekle
Yeni Eklenen Programlar Ekle
Peygamberler Tarihi Kodu
Sağ Köşeye Bayrak Kodu
Uğurlama Kodu
Kalori Hesaplama Kodu
Şık bir takvim ekle
<p></p> <p align="center"><font color="#0000ff">Kod:</font><br /> <br /> <p><!-- UNDER CONSTRUCTION 98 - INTERACTIVE CODE BY CONSTRUCTION SCRIPT --><!-- This script was designed for Netscape Navigator v2.x and up, it may however work with Internet Explorer --><!-- (c) 97 Global Planet Corporation <a href="http://www.gplanet.com" _fcksavedurl="http://www.gplanet.com">http://www.web-masterlar.tr.gg</a> --><script language="JavaScript"></p> <p align="center"><!-- Hide this script from old browsers --</p> <p align="center">/*</p> <p align="center"> This script came from the 24 hour JavaScripts Site</p> <p align="center">located at <a href="http://www.javascripts.com" _fcksavedurl="http://www.javascripts.com">http://www.web-masterlar.tr.gg</a>. It is brought to</p> <p align="center"> you by Eric Jarvies, Lewis Sellers, Giuseppe Lombardo,</p> <p align="center"> Kurt Anderson, and David Medinets.</p> <p align="center">*/</p> <p align="center">setCal()</p> <p align="center">function getTime() {</p> <p align="center"> // initialize time-related variables with current time settings</p> <p align="center"> var now = new Date()</p> <p align="center"> var hour = now.getHours()</p> <p align="center"> var minute = now.getMinutes()</p> <p align="center"> now = null</p> <p align="center"> var ampm = ""</p> <p align="center"> // validate hour values and set value of ampm</p> <p align="center"> if (hour >= 12) {</p> <p align="center"> hour -= 12</p> <p align="center"> ampm = "PM"</p> <p align="center"> } else</p> <p align="center"> ampm = "AM"</p> <p align="center"> hour = (hour == 0) ? 12 : hour</p> <p align="center"> // add zero digit to a one digit minute</p> <p align="center"> if (minute < 10)</p> <p align="center"> minute = "0" + minute // do not parse this number!</p> <p align="center"> // return time string</p> <p align="center"> return hour + ":" + minute + " " + ampm</p> <p align="center">}</p> <p align="center">function leapYear(year) {</p> <p align="center"> if (year % 4 == 0) // basic rule</p> <p align="center"> return true // is leap year</p> <p align="center"> /* else */ // else not needed when statement is "return"</p> <p align="center"> return false // is not leap year</p> <p align="center">}</p> <p align="center">function getDays(month, year) {</p> <p align="center"> // create array to hold number of days in each month</p> <p align="center"> var ar = new Array(12)</p> <p align="center"> ar[0] = 31 // Ocak</p> <p align="center"> ar[1] = (leapYear(year)) ? 29 : 28 // Şubat</p> <p align="center"> ar[2] = 31 // Mart</p> <p align="center"> ar[3] = 30 // Nisan</p> <p align="center"> ar[4] = 31 // Mayıs</p> <p align="center"> ar[5] = 30 // Haziran</p> <p align="center"> ar[6] = 31 // Temmuz</p> <p align="center"> ar[7] = 31 // Ağustos</p> <p align="center"> ar[8] = 30 // Eylül</p> <p align="center"> ar[9] = 31 // Ekim</p> <p align="center"> ar[10] = 30 // Kasım</p> <p align="center"> ar[11] = 31 // Aralık</p> <p align="center"> // return number of days in the specified month (parameter)</p> <p align="center"> return ar[month]</p> <p align="center">}</p> <p align="center">function getMonthName(month) {</p> <p align="center"> // create array to hold name of each month</p> <p align="center"> var ar = new Array(12)</p> <p align="center"> ar[0] = "Ocak"</p> <p align="center"> ar[1] = "Şubat"</p> <p align="center"> ar[2] = "Mart"</p> <p align="center"> ar[3] = "Nisan"</p> <p align="center"> ar[4] = "Mayıs"</p> <p align="center"> ar[5] = "Haziran"</p> <p align="center"> ar[6] = "Temmuz"</p> <p align="center"> ar[7] = "Ağustos"</p> <p align="center"> ar[8] = "Eylül"</p> <p align="center"> ar[9] = "Ekim"</p> <p align="center"> ar[10] = "Kasım"</p> <p align="center"> ar[11] = "Aralık"</p> <p align="center"> // return name of specified month (parameter)</p> <p align="center"> return ar[month]</p> <p align="center">}</p> <p align="center">function setCal() {</p> <p align="center"> // standard time attributes</p> <p align="center"> var now = new Date()</p> <p align="center"> var year = now.getYear()</p> <p align="center"> var month = now.getMonth()</p> <p align="center"> var monthName = getMonthName(month)</p> <p align="center"> var date = now.getDate()</p> <p align="center"> now = null</p> <p align="center"> // create instance of first day of month, and extract the day on which it occurs</p> <p align="center"> var firstDayInstance = new Date(year, month, 1)</p> <p align="center"> var firstDay = firstDayInstance.getDay()</p> <p align="center"> firstDayInstance = null</p> <p align="center"> // number of days in current month</p> <p align="center"> var days = getDays(month, year)</p> <p align="center"> // call function to draw calendar</p> <p align="center"> drawCal(firstDay + 1, days, date, monthName, + year)</p> <p align="center">}</p> <p align="center">function drawCal(firstDay, lastDate, date, monthName, year) {</p> <p align="center"> // constant table settings</p> <p align="center"> var headerHeight = 50 // height of the table's header cell</p> <p align="center"> var border = 2 // 3D height of table's border</p> <p align="center"> var cellspacing = 4 // width of table's border</p> <p align="center"> var headerColor = "midnightblue" // color of table's header</p> <p align="center"> var headerSize = "+3" // size of tables header font</p> <p align="center"> var colWidth = 60 // width of columns in table</p> <p align="center"> var dayCellHeight = 25 // height of cells containing days of the week</p> <p align="center"> var dayColor = "darkblue" // color of font representing week days</p> <p align="center"> var cellHeight = 40 // height of cells representing dates in the calendar</p> <p align="center"> var todayColor = "red" // color specifying today's date in the calendar</p> <p align="center"> var timeColor = "purple" // color of font representing current time</p> <p align="center"> // create basic table structure</p> <p align="center"> var text = "" // initialize accumulative variable to empty string</p> <p align="center"> text += '<CENTER>'</p> <p align="center"> text += '<TABLE BORDER=' + border + ' CELLSPACING=' + cellspacing + '>' // table settings</p> <p align="center"> text += '<CAPTION></CAPTION>' // Table Title</p> <p align="center"> text += '<TH COLSPAN=7 HEIGHT=' + headerHeight + '>' // create table header cell</p> <p align="center"> text += '<FONT COLOR="' + headerColor + '" SIZE=' + headerSize + '>' // set font for table header</p> <p align="center"> text += monthName + ' ' + year</p> <p align="center"> text += '</FONT>' // close table header's font settings</p> <p align="center"> text += '</TH>' // close header cell</p> <p align="center"> // variables to hold constant settings</p> <p align="center"> var openCol = '<TD WIDTH=' + colWidth + ' HEIGHT=' + dayCellHeight + '>'</p> <p align="center"> openCol += '<FONT COLOR="' + dayColor + '">'</p> <p align="center"> var closeCol = '</FONT></TD>'</p> <p align="center"> // create array of abbreviated day names</p> <p align="center"> var weekDay = new Array(7)</p> <p align="center"> weekDay[0] = "Pazar"</p> <p align="center"> weekDay[1] = "Pazartesi"</p> <p align="center"> weekDay[2] = "Salı"</p> <p align="center"> weekDay[3] = "Çarşamba"</p> <p align="center"> weekDay[4] = "Perşembe"</p> <p align="center"> weekDay[5] = "Cuma"</p> <p align="center"> weekDay[6] = "Cumartesi"</p> <p align="center"> </p> <p align="center"> // create first row of table to set column width and specify week day</p> <p align="center"> text += '<TR ALIGN="center" VALIGN="center">'</p> <p align="center"> for (var dayNum = 0; dayNum < 7; ++dayNum) {</p> <p align="center"> text += openCol + weekDay[dayNum] + closeCol</p> <p align="center"> }</p> <p align="center"> text += '</TR>'</p> <p align="center"> </p> <p align="center"> var digit = 1</p> <p align="center"> var curCell = 1</p> <p align="center"> </p> <p align="center"> for (var row = 1; row <= Math.ceil((lastDate + firstDay - 1) / 7); ++row) {</p> <p align="center"> text += '<TR ALIGN="right" VALIGN="top">'</p> <p align="center"> for (var col = 1; col <= 7; ++col) {</p> <p align="center"> if (digit > lastDate)</p> <p align="center"> break</p> <p align="center"> if (curCell < firstDay) {</p> <p align="center"> text += '<TD></TD>';</p> <p align="center"> curCell++</p> <p align="center"> } else {</p> <p align="center"> if (digit == date) {</p> <p align="center"> text += '<TD HEIGHT=' + cellHeight + '>'</p> <p align="center"> text += '<FONT COLOR="' + todayColor + '">'</p> <p align="center"> text += digit</p> <p align="center"> text += '</FONT><BR>'</p> <p align="center"> text += '<FONT COLOR="' + timeColor + '" SIZE=2>'</p> <p align="center"> text += '<CENTER>' + getTime() + '</CENTER>'</p> <p align="center"> text += '</FONT>'</p> <p align="center"> text += '</TD>'</p> <p align="center"> } else</p> <p align="center"> text += '<TD HEIGHT=' + cellHeight + '>' + digit + '</TD>'</p> <p align="center"> digit++</p> <p align="center"> }</p> <p align="center"> }</p> <p align="center"> text += '</TR>'</p> <p align="center"> }</p> <p align="center"> text += '</TABLE>'</p> <p align="center"> text += '</CENTER>'</p> <p align="center"> document.write(text)</p> <p align="center">}</p> <p align="center">// -- End Hiding Here --></p> <p align="center"></script><!-- END OF SCRIPT --> </p></p> <p align="center"> </p> <p align="center"><p align="center"> </p></p> <p align="center"> </p>
SİTENİZ İÇİN YÜZLERCE HTML KODLARI
Sitemizden faydalandınız mı?
Evet çok güzel
Biraz faydalandım
Faydalanmadım
(
Sonucu göster
)
Bu web sitesi ücretsiz olarak
Bedava-Sitem.com
ile oluşturulmuştur. Siz de kendi web sitenizi kurmak ister misiniz?
Ücretsiz kaydol