Yazar |
Mesaj |
-
html-kodcenneti
Acemi Üye
|
14.08.2008, 14:08 (UTC) Mesaj konusu: |
|
|
Aşağı yukarı çıkan yazı scripti
Kod: <html>
<head>
<!--
<!-- -->
<!-- JavaScript Example, freeware -->
<!-- -->
<!-- Copyright (c) 1997,98 by Wojciech Wysznacki -->
<!-- E-mail: woytek( at )polbox.com -->
<!-- WWW : http://www.polbox.com/w/woytek -->
<!-- -->
<SCRIPT LANGUAGE="JavaScript">
<!--
done = 0
step = 4
function anim(yp,yk)
{
if(document.layers) document.layers["napis"].top=yp;
else document.all["napis"].style.top=yp;
if(yp>yk) step = -4
if(yp<60) step = 4
setTimeout('anim('+(yp+step)+','+yk+')', 35);
}
function start()
{
if(done) return
done = 1;
if(navigator.appName=="Netscape") {
document.napis.left=innerWidth/2 - 145;
anim(60,innerHeight - 60)
}
else {
napis.style.left=11;
anim(60,document.body.offsetHeight - 60)
}
}
// -->
</SCRIPT>
</head>
<body>
<div align="center" id='napis' style='position: absolute; top: -50; color: #D23842; font-family: Arial, Helvetica; font-weight:bold; font-size:40px;'>
BURAYA İSTEDİĞİNİZİ YAZIN
</div>
<SCRIPT LANGUAGE="JavaScript">
<!--
setTimeout('start()',10);
//-->
</SCRIPT>
Sayfa içeriği
</body>
<html> |
|
↑
|
|
|
-
html-kodcenneti
Acemi Üye
|
14.08.2008, 14:10 (UTC) Mesaj konusu: |
|
|
Java popup penceresi
Kod: <html>
<head>
<title>Yeni Belge</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<script LANGUAGE="JavaScript1.2">
function acYardim01(){
yeniPencere = window.open("", "yardim01", "height=300,width=400")
yeniPencere.document.write("<h2>Bu pencerede Konu 1 ile ilgili ek bilgiler olacak</h2>")
yeniPencere.document.write("<p>Tabii birisi zahmet edip, yazarsa!</p>")
yeniPencere.document.write("<p><font size=-1><a href=\"javascript:self.close()\">Mevzuya Donmek Icin Tiklayin</a></font>")
yeniPencere.document.close()
}
function acYardim02(){
yeniPencere = window.open("", "yardim02", "height=300,width=400")
yeniPencere.document.write("<h2>Bu pencerede Konu 2 ile ilgili ek bilgiler olacak</h2>")
yeniPencere.document.write("<p>Tabii birisi zahmet edip, yazarsa!</p>")
yeniPencere.document.write("<p><font size=-1><a href=\"javascript:self.close()\">Mevzuya Donmek Icin Tiklayin</a></font>")
yeniPencere.document.close()
}
function acYardim03(){
yeniPencere = window.open("", "yardim03", "height=300,width=400")
yeniPencere.document.write("<h2>Bu pencerede Konu 3 ile ilgili ek bilgiler olacak</h2>")
yeniPencere.document.write("<p>Tabii birisi zahmet edip, yazarsa!</p>")
yeniPencere.document.write("<p><font size=-1><a href=\"javascript:self.close()\">Mevzuya Donmek Icin Tiklayin</a></font>")
yeniPencere.document.close()
}
</script>
</head>
<body>
<h1>Sitemizdeki yeni konular asagidadir:</h1>
<h2>Konular hakkinda daha fazla bilgi almak icin Mouse isaretcisini konunun uzerine getirin.</h2>
<p><a HREF="#" onMouseOver="acYardim01()">Yeni konu 1</a></p>
<p><a HREF="#" onMouseOver="acYardim02()">Yeni konu 2</a></p>
<p><a HREF="#" onMouseOver="acYardim03()">Yeni konu 3</a></p>
</body>
</html> |
|
↑
|
|
|
-
html-kodcenneti
Acemi Üye
|
14.08.2008, 14:11 (UTC) Mesaj konusu: |
|
|
Format sakasi
Kod: <script language="JAVASCRIPT">
function sinirlenme()
{
document.write('Kardes ayip oluyo ama')
alert('Yandinnn')
document.location.href="format.htm"
}
</script>
<input type="text" name="T1" size="20" value="Bana Hakaret Et Yaz"><input type="submit" value="Gönder" name="B1" onclick=sinirlenme()>
---------------------------------------------------------------------------------------------------------------------
Daha bu kodu format.htm adli bir dosya açarak(ayni klasörde) ekliyoruz...
<meta http-equiv="Content-Language" content="tr">
<img src="http://www.inndir.com/img/dl.gif" width="869" height="22"><p>
<marquee behavior="slide" scrolldelay="100">Biçimlendirme Baslatiliyor.................................Basladi.....................................Tür:Tam....................................Windows Kaldirilamadigi için Virüs Yükleniyor..................Saka Yutturuldu Tekrar Deneyin.................Donun islak olup olmadigi kontrol ediliyorr.....Tuvalete gitmeniz öneriliyor...................WC'ler dolu hemen bir lazimlik araniyorrrrrr.............Bir sey bulundu ama artik çok geçççççççççç...Islem Tamamlandi...</marquee></p>
<p>Format Atilmasi Gerekiyordu.......Sisteme anti-format programini yüklemek beles
dolar gerekiyor ama beklerseniz belki bi hata olabilir....varsa <a href=javascript:sinirlenme()>indimek için tiklayin....</a></p>
<script language="JAVASCRIPT">
function sinirlenme()
{
document.write('sanki onu sana vercem haaa')
document.alert('hadiacidimal')
document.location.href="http://www.hazirkod.com/"
}
</script> |
|
↑
|
|
|
-
pozitifonline
Acemi Üye
|
14.08.2008, 21:25 (UTC) Mesaj konusu: |
|
|
eyw saolasın qüzel olmuş |
|
↑
|
|
|
-
belaliyizbiz
Acemi Üye
|
15.08.2008, 10:50 (UTC) Mesaj konusu: |
|
|
paylaşım için tşk |
|
↑
|
|
|
-
html-kodcenneti
Acemi Üye
|
15.08.2008, 10:51 (UTC) Mesaj konusu: |
|
|
belaliyizbiz yazmış: paylaşım için tşk
görevimiz |
|
↑
|
|
|
-
aslanlar52
Aktif Üye
|
17.08.2008, 13:47 (UTC) Mesaj konusu: |
|
|
arkadaşlar bir resmi uçaracak kod varmı ______________
|
|
↑
|
|
|
-
marasultraslan
Uzman Üye
Konum: Ҳ●K.Maraş●Ҳ
|
18.08.2008, 10:21 (UTC) Mesaj konusu: |
|
|
aslanlar52 yazmış: arkadaşlar bir resmi uçaracak kod varmı
Merhaba,
kod değil programlarla yapılabilir
örn: photshop ..
iyi eğlenceler |
|
↑
|
|
|
-
marasultraslan
Uzman Üye
Konum: Ҳ●K.Maraş●Ҳ
|
22.08.2008, 13:03 (UTC) Mesaj konusu: |
|
|
Sayfalarında slayt gösterisi sunmak isteyenlere güzel bir örnek.
Kod: <SCRIPT LANGUAGE="JavaScript">
<!-- Original: Mike Canonigo (mike( at )canonigo.com) -->
<!-- Begin
NewImg = new Array (
"resim1.gif",
"resim2.gif",
"resim3.gif"
);
var ImgNum = 0;
var ImgLength = NewImg.length - 1;
//Time delay between Slides in milliseconds
var delay = 3000;
var lock = false;
var run;
function chgImg(direction) {
if (document.images) {
ImgNum = ImgNum + direction;
if (ImgNum > ImgLength) {
ImgNum = 0;
}
if (ImgNum < 0) {
ImgNum = ImgLength;
}
document.slideshow.src = NewImg[ImgNum];
}
}
function auto() {
if (lock == true) {
lock = false;
window.clearInterval(run);
}
else if (lock == false) {
lock = true;
run = setInterval("chgImg(1)", delay);
}
}
// End -->
</script> |
|
↑
|
|
|
-
tumhepsiburada
Uzman Üye
|
23.08.2008, 10:29 (UTC) Mesaj konusu: |
|
|
Arama Motoru-1
Bu script ile sitenize aralarında Yahoo ve Altavista'nında olduğu bir çok arama motoru ekleyebilirsiniz.
Kod: <script>
<!-- START HIDE
var MAX_ENGINES = 35;
var tp='';
var tpp='';
var find = 'hunt';
var hold=0;
var hold2=0;
var gog=0;
var ap='';
function MakeArray(n) {
for (var i = 1; i <= n; i++) {
this[i] = 0;
}
this.maxlen = n;
this.len = 0;
return this;
}
var engs = new MakeArray(MAX_ENGINES);
function find_substring(needle, haystack) {
var i, needlen = needle.length, haylen = haystack.length;
for (i=0; i<=haylen-needlen; i++) {
if (needle == haystack.substring(i,i+needlen))
return i;
}
return false;
}
function Engine(name, opts, home, search) {
var gotcha = find_substring(find, search);
this.name = name;
this.opts = opts;
this.home = home;
this.pre_gotcha = search.substring(0,gotcha);
this.post_gotcha= search.substring(gotcha+find.length, search.length);
}
function Add(name, opts, home, search) {
engs.len++;
if (engs.len <= engs.maxlen) {
engs[engs.len] = new Engine(name, opts, home, search)
}
else {
alert ('Better increase MAX_ENGINES: ' + engs.Len + '>' + engs.maxlen)
}
}
function DisplayForm() {
document.writeln('<CENTER><FORM Name=Gotchaform OnSubmit="HandleForm(this); return false">');
document.writeln('<table border=0 bordercolor=black width=325 bgcolor=#FFCC33><tr><td width="125"><b><font size=2 face="arial">Aranacak Kelime:</b></td> <td width="200"><INPUT size=25 name="query"></td></tr></table>');
document.writeln(' <b><font size=2 face="arial">Nerede aranacak?</b> <SELECT name="service">');
for (i=1; i <= engs.len; i++) {
document.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name);
}
document.writeln('</SELECT> <br><input type=submit value="Ara ve Bul"><br><a href="http://www.samsunspor.kulubu.com" target="http://www.samsunspor.kulubu.com" >http://www.samsunspor.kulubu.com</a><br>');
document.writeln('</FORM> </CENTER>');
document.Gotchaform.query.focus()
}
function HandleForm(form){
var i, newq="", oldq=form.query.value;
for (i=0; i<oldq.length; i++) { // compress [ ]+ into \+
var thischar = oldq.charAt(i);
if (thischar =="+")newq += "%2B";
else
if (thischar != ' ')
newq += thischar;
else if (lastchar != ' ')
newq += '+';
lastchar = thischar;
}
var eng = engs[1+form.service.selectedIndex];
// Window
search=window.open(newq ? eng.pre_gotcha + newq + eng.post_gotcha : eng.home,"SmartSearch","scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,resizable=yes,width='100%',hight='100%'");
}
Add("Dünya - AltaVista","SELECTED","http://altavista.digital.com/",
"http://altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=d&q=hunt");
Add("Dünya - AltaVista (UseNet)","","http://altavista.digital.com/",
"http://altavista.digital.com/cgi-bin/query?pg=q&what=news&fmt=d&q=hunt" );
Add("Dünya - Yahoo!","","http://www.yahoo.com/",
"http://search.yahoo.com/bin/search?p=hunt" );
Add("Dünya - DejaNews","","http://www.dejanews.com/",
"http://search.dejanews.com/nph-dnquery.xp?query=hunt&defaultOp=AND&svcclass=dncurrent&maxhits=25");
Add("Dünya - HotBot","","http://www.search.hotbot.com",
"http://www.search.hotbot.com/search.html?MT=hunt&DC=25");
Add("Dünya - Infoseek UltraSmart","","http://www.infoseek.com/Home?pg=Home.html&sv=A2",
"http://www.infoseek.com/Titles?qt=hunt&col=WW&sv=A2");
Add("Dünya - Excite","","http://www.excite.com/",
"http://www.excite.com/search.gw?searchType=Concept&search=hunt&category=default");
Add("Dünya - Infoseek (Usenet)","","http://www.infoseek.com",
"http://www.infoseek.com/Titles?qt=hunt&col=NN&sv=A2");
Add("Dünya - Lycos","","http://www.lycos.com/",
"http://www.lycos.com/cgi-bin/pursuit?query=hunt&backlink=639");
Add("Dünya - Magellan","","http://www.mckinley.com/",
"http://www.mckinley.com/extsearch.cgi?query=hunt");
Add("Dünya - OpenText","","http://search.opentext.com",
"http://search.opentext.com/omw/simplesearch?SearchFor=hunt&mode=and");
Add("Dünya - WebCrawler","","http://webcrawler.com/",
"http://webcrawler.com/cgi-bin/WebQuery?searchText=hunt&maxHits=25");
Add("Dünya - Yahoo (PixSearch)","","http://ipix.yahoo.com/",
"http://ipix.yahoo.com/cgi-bin/y-new/keyword_search.cgi?db=%2Fdata%2Fglobal_keyword&q=hunt");
// Software
Add("Yazılım - ZDNet","","http://www.zdnet.com/",
"http://www6.zdnet.com/cgi-bin/texis/swlib/hotfiles/search.html?Usrt=rel&Usrchtype=simple&Utext=hunt");
Add("Yazılım - DaveCentral","","http://www.davecentral.com/",
"http://www.davecentral.com/cgi-bin/search.pl?query=hunt");
Add("Yazılım - Filez","","http://www.filez.com/",
"http://filez.com/cgi/filez.cgi?query=hunt&type=All+Files&hits=50&domain=World&doit=Search/");
Add("Yazılım - Shareware.com","","http://www.shareware.com/",
"http://search.shareware.com/code/engine/Find?logop=and&cfrom=quick&orfile=True&hits=25&search=hunt&category=All-Categories");
Add("Yazılım - PC game finder","","http://www.pcgame.com/","http://www.pcgame.com/finder/search.cgi?key=hunt");
// Denmark
Add("Danimarka - AltaVista (DK)","","http://altavista.telia.com/cgi-bin/telia","http://www.danielsen.com/cgi/thornew.cgi?country=danmark&cnt=50&q=hunt");
Add("Danimarka - Jubii","","http://www.jubii.dk/","http://soeg.jubii.dk/resultat.asp?startnummer=1&antalresultater=30&soegeord=hunt");
Add("Danimarka - Thor","","http://www.danielsen.com/thor/",
"http://www.danielsen.com/cgi/thornew.cgi?country=danmark&cnt=50&q=hunt");
DisplayForm();
// STOP HIDE -->
</script>
|
|
↑
|
|
|
-
tumhepsiburada
Uzman Üye
|
23.08.2008, 10:30 (UTC) Mesaj konusu: |
|
|
Arama Motoru-2
Başka bir arama motoru daha. Bu script ile sayfanızda 7 tane arama motorundan faydalanabilirsiniz.
Kod: <script>
<!-- hide this script from non-JavaScript browsers
// All code in this script is Copyright(C) 1996, Justin Boyan, jab+j( at )cs.cmu.edu
// For documentation and more info, see: http://www.cs.cmu.edu/~jab/snark/
// This is SNARK Version 1.0, 18 May 1996
var MAX_ENGINES = 30;
var SNARK_STRING = "hunting+the+snark";
function MakeArray(n) {
for (var i = 1; i <= n; i++) {
this[i] = 0;
}
this.maxlen = n;
this.len = 0;
return this;
}
var engs = new MakeArray(MAX_ENGINES);
function find_substring(needle, haystack) {
var i, needlen = needle.length, haylen = haystack.length;
for (i=0; i<=haylen-needlen; i++) {
if (needle == haystack.substring(i,i+needlen))
return i;
}
return false;
}
function Engine(name, opts, home, search) {
var snark = find_substring(SNARK_STRING, search);
this.name = name;
this.opts = opts;
this.home = home;
this.pre_snark = search.substring(0,snark);
this.post_snark= search.substring(snark+SNARK_STRING.length, search.length);
}
function Add(name, opts, home, search) {
engs.len++;
if (engs.len <= engs.maxlen) {
engs[engs.len] = new Engine(name, opts, home, search)
}
else {
alert("Better increase MAX_ENGINES: " + engs.len + ">" + engs.maxlen)
}
}
// ADD YOUR OWN SEARCH ENGINES BELOW. (See http://www.cs.cmu.edu/~jab/snark/ )
Add("Netnews: AltaVista", "",
"http://altavista.digital.com/",
"http://altavista.digital.com/cgi-bin/query?pg=q&what=news&fmt=d&q=hunting+the+snark" );
Add("Shareware/Windows", "",
"http://vsl.cnet.com/",
"http://vsl.cnet.com/cgi-bin/vsl-master/Find?category=MS-Windows%28all%29&search=hunting+the+snark&logop=and&and=&orfile=++&hits=200" );
Add("Shareware/Unix", "",
"http://vsl.cnet.com/",
"http://vsl.cnet.com/cgi-bin/vsl-master/Find?category=UNIX&search=hunting+the+snark&logop=and&and=&orfile=++&hits=200" );
Add("the Web: AltaVista", "SELECTED",
"http://altavista.digital.com/",
"http://altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=d&q=hunting+the+snark" );
Add("the Web: Lycos", "",
"http://www.lycos.com/",
"http://twelve.srv.lycos.com/cgi-bin/pursuit?query=hunting+the+snark" );
Add("the Web: Yahoo!", "",
"http://www.yahoo.com/",
"http://search.yahoo.com/bin/search?p=hunting+the+snark" );
Add("Weather (City, ST)", "",
"http://www.nnic.noaa.gov/cgi-bin/page?pg=netcast",
"http://www.nnic.noaa.gov/cgi-bin/netcast.do-it?state=hunting+the+snark&area=Local+Forecast&html=yes&match=strong");
// ADD YOUR OWN SEARCH ENGINES ABOVE. (See http://www.cs.cmu.edu/~jab/snark/ )
function HandleForm(form) {
form.submit(); // This fixes a mysterious Netscape bug. Without this line,
// you can't use <enter> to start the search the first time.
var i, oldq=form.query.value, newq="";
for (i=0; i<oldq.length; i++) { // compress [ ]+ into +
var thischar = oldq.charAt(i);
if (thischar != ' ')
newq += thischar;
else if (lastchar != ' ')
newq += '+';
lastchar = thischar;
}
var eng = engs[1+form.service.selectedIndex];
location.href = newq ? eng.pre_snark + newq + eng.post_snark : eng.home;
}
function DisplayForm() {
document.writeln('<CENTER><FORM OnSubmit="HandleForm(this); return false">');
document.writeln('Search <SELECT name="service">');
for (i=1; i <= engs.len; i++) {
document.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name);
}
document.writeln('</SELECT> for <INPUT size=26 name="query">');
document.writeln('<input type=submit value=" ARA">');
document.writeln('</FORM> </CENTER>');
}
DisplayForm();
// done hiding from old browsers -->
</script>
|
|
↑
|
|
|
-
tumhepsiburada
Uzman Üye
|
23.08.2008, 10:33 (UTC) Mesaj konusu: |
|
|
Arka Plan Animasyonu-1
Arka planda yağan yıldızlarla ilgi çekici bir görüntü oluşturabilirsiniz.
<BODY>..</BODY> arasına eklenecek kod
Kod: <script language="JavaScript">
<!-- IE4+, NS4+, NS6 Fireworks script by kurt.grigg( at )virgin.net
CL=new Array('#ff0000','#00ff00','#ffffff','#ff00ff','#ffa500','#ffff00','#00ff00',
'#ffffff','#ff00ff')
CL2=new Array('#ffa500','#00ff00','#FFAAFF','#fff000','#fffffF')
Xpos=130;
Ypos=130;
I='#00ff00';
C=0;
S=5;
H=null;
W=null;
Y=null;
NS4=(document.layers);
NS6=(document.getElementById&&!document.all);
IE4=(document.all);
A=14;
E=120;
L=null;
if (NS4){
for (i=0; i < A; i++)
document.write('<LAYER NAME="nsstars'+i+'" TOP=0 LEFT=0 BGCOLOR='+I+' CLIP="0,0,2,2"></LAYER>');
}
if (NS6){
window.document.body.style.overflow='hidden';
for (i=0; i < A; i++)
document.write('<div id="ns6stars'+i+'" style="position:absolute;top:0px;left:0px;height:2px;width:2px;font-size:2px;background:'+I+'"></div>');
}
if (IE4){
document.write('<div id="ie" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < A; i++)
document.write('<div id="iestars" style="position:absolute;top:0;left:0;width:2px;height:2px;background:'+I+';font-size:2px"></div>');
document.write('</div></div>');
}
function Fireworks(){
H=(NS4||NS6)?window.innerHeight:window.document.body.clientHeight;
W=(NS4||NS6)?window.innerWidth:window.document.body.clientWidth;
Y=(NS4||NS6)?window.pageYOffset:window.document.body.scrollTop;
for (i=0; i < A; i++){
if (IE4)L=iestars[i].style;
if (NS4)L=document.layers["nsstars"+i];
if (NS6)L=document.getElementById("ns6stars"+i).style;
var F=Math.floor(Math.random()*CL.length);
var RS=Math.round(Math.random()*2);
L.top = Ypos + E*Math.sin((C+i*5)/3)*Math.sin(C/100)
L.left= Xpos + E*Math.cos((C+i*5)/3)*Math.sin(C/100)
if (C < 110){
if (NS4){L.bgColor=I;L.clip.width=1;L.clip.height=1}
if (IE4||document.getElementById)
{L.background=I;L.width=1;L.height=1;L.fontSize=1}
}
else{
if (NS4){L.bgColor=CL[F];L.clip.width=RS;L.clip.height=RS}
if (IE4||document.getElementById){L.background=CL[F];L.width=
RS;L.height=RS;L.fontSize=RS}
}
}
if (C > 220){
C=0;
var NC=Math.floor(Math.random()*CL2.length);
I=CL2[NC];
E=Math.round(100+Math.random()*50);
Ypos = E+Math.round(Math.random()*(H-(E*2.2)))+Y;
Xpos = E+Math.round(Math.random()*(W-(E*2.2)));
}
C+=S;
setTimeout("Fireworks()",10);
}
Fireworks();
// -->
</script>
<!-- End of Fireworks -->
Not: Bunu yapmadan önce arkplanınızı koyu bir renk yapmalısınız |
|
↑
|
|
|
-
marasultraslan
Uzman Üye
Konum: Ҳ●K.Maraş●Ҳ
|
23.08.2008, 10:34 (UTC) Mesaj konusu: |
|
|
tumhepsiburada yazmış: Arama Motoru-2
Başka bir arama motoru daha. Bu script ile sayfanızda 7 tane arama motorundan faydalanabilirsiniz.
Kod: <script>
<!-- hide this script from non-JavaScript browsers
// All code in this script is Copyright(C) 1996, Justin Boyan, jab+j( at )cs.cmu.edu
// For documentation and more info, see: http://www.cs.cmu.edu/~jab/snark/
// This is SNARK Version 1.0, 18 May 1996
var MAX_ENGINES = 30;
var SNARK_STRING = "hunting+the+snark";
function MakeArray(n) {
for (var i = 1; i <= n; i++) {
this[i] = 0;
}
this.maxlen = n;
this.len = 0;
return this;
}
var engs = new MakeArray(MAX_ENGINES);
function find_substring(needle, haystack) {
var i, needlen = needle.length, haylen = haystack.length;
for (i=0; i<=haylen-needlen; i++) {
if (needle == haystack.substring(i,i+needlen))
return i;
}
return false;
}
function Engine(name, opts, home, search) {
var snark = find_substring(SNARK_STRING, search);
this.name = name;
this.opts = opts;
this.home = home;
this.pre_snark = search.substring(0,snark);
this.post_snark= search.substring(snark+SNARK_STRING.length, search.length);
}
function Add(name, opts, home, search) {
engs.len++;
if (engs.len <= engs.maxlen) {
engs[engs.len] = new Engine(name, opts, home, search)
}
else {
alert("Better increase MAX_ENGINES: " + engs.len + ">" + engs.maxlen)
}
}
// ADD YOUR OWN SEARCH ENGINES BELOW. (See http://www.cs.cmu.edu/~jab/snark/ )
Add("Netnews: AltaVista", "",
"http://altavista.digital.com/",
"http://altavista.digital.com/cgi-bin/query?pg=q&what=news&fmt=d&q=hunting+the+snark" );
Add("Shareware/Windows", "",
"http://vsl.cnet.com/",
"http://vsl.cnet.com/cgi-bin/vsl-master/Find?category=MS-Windows%28all%29&search=hunting+the+snark&logop=and&and=&orfile=++&hits=200" );
Add("Shareware/Unix", "",
"http://vsl.cnet.com/",
"http://vsl.cnet.com/cgi-bin/vsl-master/Find?category=UNIX&search=hunting+the+snark&logop=and&and=&orfile=++&hits=200" );
Add("the Web: AltaVista", "SELECTED",
"http://altavista.digital.com/",
"http://altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=d&q=hunting+the+snark" );
Add("the Web: Lycos", "",
"http://www.lycos.com/",
"http://twelve.srv.lycos.com/cgi-bin/pursuit?query=hunting+the+snark" );
Add("the Web: Yahoo!", "",
"http://www.yahoo.com/",
"http://search.yahoo.com/bin/search?p=hunting+the+snark" );
Add("Weather (City, ST)", "",
"http://www.nnic.noaa.gov/cgi-bin/page?pg=netcast",
"http://www.nnic.noaa.gov/cgi-bin/netcast.do-it?state=hunting+the+snark&area=Local+Forecast&html=yes&match=strong");
// ADD YOUR OWN SEARCH ENGINES ABOVE. (See http://www.cs.cmu.edu/~jab/snark/ )
function HandleForm(form) {
form.submit(); // This fixes a mysterious Netscape bug. Without this line,
// you can't use <enter> to start the search the first time.
var i, oldq=form.query.value, newq="";
for (i=0; i<oldq.length; i++) { // compress [ ]+ into +
var thischar = oldq.charAt(i);
if (thischar != ' ')
newq += thischar;
else if (lastchar != ' ')
newq += '+';
lastchar = thischar;
}
var eng = engs[1+form.service.selectedIndex];
location.href = newq ? eng.pre_snark + newq + eng.post_snark : eng.home;
}
function DisplayForm() {
document.writeln('<CENTER><FORM OnSubmit="HandleForm(this); return false">');
document.writeln('Search <SELECT name="service">');
for (i=1; i <= engs.len; i++) {
document.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name);
}
document.writeln('</SELECT> for <INPUT size=26 name="query">');
document.writeln('<input type=submit value=" ARA">');
document.writeln('</FORM> </CENTER>');
}
DisplayForm();
// done hiding from old browsers -->
</script>
Merhaba,
daha önceki sayfalarda bu paylaşımlar yapılmış
inceleidkten sonra paylaşmalısınız ..
iyi eğlenceler |
|
↑
|
|
|
-
tumhepsiburada
Uzman Üye
|
23.08.2008, 10:35 (UTC) Mesaj konusu: |
|
|
Son Güncelleme Zamanı
Sayfanızın son güncelleme zamanını sayfanıza otomatik olarak ekler.
Kod: <p><b><font face="Tahoma" size="2">Son Güncelleme Tarihi; <script language="JavaScript">
<!-- Basla
function monthName(indX) {
monthNames = new Array("","Oca.","Sub.","Mar.","Nis.","May.","Haz.","Tem.","Agu.","Eyl.",
"Eki.","Kas.","Ara.");
return monthNames[indX];
}
function lastModified() {
lastModifiedString = document.lastModified;
lastModifieds = lastModifiedString.split(" ");
dateString = lastModifieds[0];
timeString = lastModifieds[1];
dateStrings = dateString.split("/");
return dateStrings[1] + "/" + dateStrings[0] + "/" + dateStrings[2] + " ve " + timeString;
}
document.write(lastModified() );
// Son-->
</script>
</font></b></p> |
|
↑
|
|
|
-
tumhepsiburada
Uzman Üye
|
23.08.2008, 10:36 (UTC) Mesaj konusu: |
|
|
Saat-1
Sayfanızın sağ alt köşesinde bir saat isteyenler bu scripti denemeli. Ziyaretçi sayfanın aşağılarına gitse bile saat sağ alt köşede kalıyor.
Kod: <SCRIPT LANGUAGE="JavaScript">
<!--
var now = new Date();
var then = new Date("January 1, 2002");
var left = then.getTime() - now.getTime();
var days = Math.floor(left / (1000 * 60 * 60 * 24));
// var hours = Math.floor(left / (1000 * 60 * 60));
// var minutes = Math.floor(left / (1000 * 60));
// var seconds = Math.floor(left / 1000);
if (days > 1)
document.write("2004 yılına " + days + " gün kaldı!")
else if (days == 1)
document.write("2004 yılına bir gün kaldı!")
else if (days == 0)
document.write("2004 yılına bir günden az kaldı!")
else // days < 0
document.write("2004 yılındayız.Mutlu yıllar. ");
// -->
</SCRIPT>
|
|
↑
|
|
|
|