UzmanWeb.Net Forum

--- JAVASCRIPT ARŞİVİ --- (Okunma sayısı 67395 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

JrNeutron

#10 * Şubat 16, 2007, 21:26:32 ÖS
Favorilere ekleyin.
Kod: [Seç]
<!--- KAYNAK: http://www.gezginler.net --->
<SCRIPT language=JavaScript>
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {

var url="http://www.gezginler.net";
var title="GEZGİNLER.NET";
var bookmarkicon="favicon.ico"
document.write('<A HREF="javascript:window.ext');
document.write('ernal.AddFavorite(url,title);" ');
document.write('onMouseOver=" window.status=');
document.write("'Sitenizi favorilere ekleyin!'; return true ");
document.write('"onMouseOut=" window.status=');
document.write("' '; return true ");
document.write('"><font color="#000066" size="2">Favorilere ekleyin.</a>');
}
else {
var msg = "Don't forget to bookmark us!";
if(navigator.appName == "Netscape") msg += "  (CTRL-D)";
document.write(msg);
}

// End -->
</SCRIPT>
<!--- KAYNAK: http://www.gezginler.net --->
Kayıtlı

JrNeutron

#11 * Şubat 16, 2007, 21:32:56 ÖS
hesap makinesi

Kod: [Seç]
<!--- KAYNAK: http://www.gezginler.net --->
<FORM name="Keypad" action="">
<!--  Original:  http://www.dummyproof.com/javascripts -->
<TABLE>
<B>
<TABLE border=2 width=50 height=60 cellpadding=1 cellspacing=5>
<TR>
<TD colspan=3 align=middle>
<input name="ReadOut" type="Text" style="color:red;background-color:#66ffff;" size=24 value="0" width=100%>
</TD>
<TD
</TD>
<TD>
<input name="btnClear" type="Button" value="  C  " onclick="Clear()">
</TD>
<TD><input name="btnClearEntry" type="Button" value="  CE " onclick="ClearEntry()">
</TD>
</TR>
<TR>
<TD>
<input name="btnSeven" type="Button" value="  7  " onclick="NumPressed(7)">
</TD>
<TD>
<input name="btnEight" type="Button" value="  8  " onclick="NumPressed(8)">
</TD>
<TD>
<input name="btnNine" type="Button" value="  9  " onclick="NumPressed(9)">
</TD>
<TD>
</TD>
<TD>
<input name="btnNeg" type="Button" value=" +/- " onclick="Neg()">
</TD>
<TD>
<input name="btnPercent" type="Button" value="  % " onclick="Percent()">
</TD>
</TR>
<TR>
<TD>
<input name="btnFour" type="Button" value="  4  " onclick="NumPressed(4)">
</TD>
<TD>
<input name="btnFive" type="Button" value="  5  " onclick="NumPressed(5)">
</TD>
<TD>
<input name="btnSix" type="Button" value="  6  " onclick="NumPressed(6)">
</TD>
<TD>
</TD>
<TD align=middle><input name="btnPlus" type="Button" value="  +  " onclick="Operation('+')">
</TD>
<TD align=middle><input name="btnMinus" type="Button" value="   -   " onclick="Operation('-')">
</TD>
</TR>
<TR>
<TD>
<input name="btnOne" type="Button" value="  1  " onclick="NumPressed(1)">
</TD>
<TD>
<input name="btnTwo" type="Button" value="  2  " onclick="NumPressed(2)">
</TD>
<TD>
<input name="btnThree" type="Button" value="  3  " onclick="NumPressed(3)">
</TD>
<TD>
</TD>
<TD align=middle><input name="btnMultiply" type="Button" value="  *  " onclick="Operation('*')">
</TD>
<TD align=middle><input name="btnDivide" type="Button" value="   /   " onclick="Operation('/')">
</TD>
</TR>
<TR>
<TD>
<input name="btnZero" type="Button" value="  0  " onclick="NumPressed(0)">
</TD>
<TD>
<input name="btnDecimal" type="Button" value="   .  " onclick="Decimal()">
</TD>
<TD colspan=3>
</TD>
<TD>
<input name="btnEquals" type="Button" value="  =  " onclick="Operation('=')">
</TD>
</TR>
</TABLE>
</TABLE>
</B>
</FORM>
</CENTER>
<font face="Verdana, Arial, Helvetica" size=2>
<SCRIPT LANGUAGE="JavaScript">
<!-- Başlangıç
var FKeyPad = document.Keypad;
var Accum = 0;
var FlagNewNum = false;
var PendingOp = "";
function NumPressed (Num) {
if (FlagNewNum) {
FKeyPad.ReadOut.value  = Num;
FlagNewNum = false;
   }
else {
if (FKeyPad.ReadOut.value == "0")
FKeyPad.ReadOut.value = Num;
else
FKeyPad.ReadOut.value += Num;
   }
}
function Operation (Op) {
var Readout = FKeyPad.ReadOut.value;
if (FlagNewNum && PendingOp != "=");
else
{
FlagNewNum = true;
if ( '+' == PendingOp )
Accum += parseFloat(Readout);
else if ( '-' == PendingOp )
Accum -= parseFloat(Readout);
else if ( '/' == PendingOp )
Accum /= parseFloat(Readout);
else if ( '*' == PendingOp )
Accum *= parseFloat(Readout);
else
Accum = parseFloat(Readout);
FKeyPad.ReadOut.value = Accum;
PendingOp = Op;
   }
}
function Decimal () {
var curReadOut = FKeyPad.ReadOut.value;
if (FlagNewNum) {
curReadOut = "0.";
FlagNewNum = false;
   }
else
{
if (curReadOut.indexOf(".") == -1)
curReadOut += ".";
   }
FKeyPad.ReadOut.value = curReadOut;
}
function ClearEntry () {
FKeyPad.ReadOut.value = "0";
FlagNewNum = true;
}
function Clear () {
Accum = 0;
PendingOp = "";
ClearEntry();
}
function Neg () {
FKeyPad.ReadOut.value = parseFloat(FKeyPad.ReadOut.value) * -1;
}
function Percent () {
FKeyPad.ReadOut.value = (parseFloat(FKeyPad.ReadOut.value) / 100) * parseFloat(Accum);
}
// Son -->
</SCRIPT>
<!--- KAYNAK: http://www.gezginler.net --->
Kayıtlı

JrNeutron

#12 * Şubat 16, 2007, 21:34:37 ÖS
ARAMA MOTORU
Kod: [Seç]
<!-----UzmanWeb Arama Motoru Basla---->
<table>
<tr><td>

<script>
<!-- START HIDE
//http://www.uzmanweb.net
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=200 bgcolor=#ffffff><tr><td width="100"><b><font size=1 face="verdana">Arayın:</b></td><td width="200"><INPUT size=23 name="query"></td></tr></table>');
document.writeln('&nbsp;<b><font size=1 face="verdana">Seçiniz</b>&nbsp;<SELECT name="service">');
for (i=1; i <= engs.len; i++) {
document.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name);
}
document.writeln('</SELECT><input type=submit value="Ara">');
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("Google","SELECTED","http://www.google.com/","http://www.google.com/search?hl=tr&safe=off&q=hunt&btnG=Google%27da+Ara&lr=");
Add("Netbul","","http://www.netbul.com/","http://www.netbul.com/search/quicksearch.asp?keyword=hunt&nerede=1&rad_section=1&anaSayfa=1&q=hunt&type=50" );
Add("Arabul","","http://www.arabul.com/","http://www.arabul.com/sonuc.asp?SayfaNo=1&SayfaUzunlugu=10&DetayliArama=FALSE&SearchString=hunt");
Add("Arama","","http://www.arama.com/","http://www.arama.com/search.php3?q=hunt&weborcat=cat");
Add("Kur'an'da","","http://www.kuranadaara.com/","http://www.kurandaara.com/index.php3?konu=ara&ne=1&keyword=hunt&kisi=01&sure_no=");
Add("Çoklu","","http://www.hotscripts.com/","http://www.maximumedge.com/cgi/search/nph-cobrand.cgi?user=gezgin&qry=hunt&module1=altavista&module5=fast&module4=findwhat&module6=google&module7=inktomi&module2=kanoodle&module8=searchhippo&module9=opendir&module3=7search&module10=yahoo");
Add("Domain","","http://www.gezginler.net/","http://www.gezginler.net/whois/domain.php?domain=hunt&action=checkdom&type=all");
Add("Crack","","http://astalavista.box.sk","http://astalavista.box.sk/cgi-bin/robot?srch=hunt");
Add("Program","","http://www.zdnet.com/","http://www6.zdnet.com/cgi-bin/texis/swlib/hotfiles/search.html?Usrt=rel&Usrchtype=simple&Utext=hunt");
Add("Sürücü","","http://www.surucubul.com","http://www.surucubul.com/index.php?PHPSESSID=1a209333073ad938a04b81e29c32c381&ab=AR&atip=mod&qu=hunt&x=52&y=8");
Add("Resim","","http://www.picsearch.com/","http://www.picsearch.com/search.cgi?q=hunt&search=Search%21&rp=same&pl=en");
Add("Türkçe-İng.","","http://www.tur.net/","http://www.tur.net/sozluk/ara.asp?query=hunt&start=0&dictionary=english");
Add("Script","","http://www.hotscripts.com/","http://www.hotscripts.com/search/?query=hunt&category=all");
Add("Yahoo!","","http://www.yahoo.com/","http://search.yahoo.com/bin/search?p=hunt" );
Add("AltaVista (UseNet)","","http://altavista.digital.com/","http://altavista.digital.com/cgi-bin/query?pg=q&what=news&fmt=d&q=hunt" );
Add("Infoseek UltraSmart","","http://www.infoseek.com/Home?pg=Home.html&sv=A2","http://www.infoseek.com/Titles?qt=hunt&col=WW&sv=A2");
Add("Excite","","http://www.excite.com/","http://www.excite.com/search.gw?searchType=Concept&search=hunt&category=default");
Add("Infoseek (Usenet)","","http://www.infoseek.com","http://www.infoseek.com/Titles?qt=hunt&col=NN&sv=A2");
Add("Lycos","","http://www.lycos.com/","http://www.lycos.com/cgi-bin/pursuit?query=hunt&backlink=639");
Add("Magellan","","http://www.mckinley.com/","http://www.mckinley.com/extsearch.cgi?query=hunt");
// Software
Add("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("PC game finder","","http://www.pcgame.com/","http://www.pcgame.com/finder/search.cgi?key=hunt");
// Denmark
Add("AltaVista (DK)","","http://altavista.telia.com/cgi-bin/telia","http://www.danielsen.com/cgi/thornew.cgi?country=danmark&cnt=50&q=hunt");
DisplayForm();
// STOP HIDE -->
</script>
</td>
</tr>
</table>
<!-----UzmanWeb Arama Motoru Bitir---->

Kayıtlı

JrNeutron

#13 * Şubat 17, 2007, 17:49:15 ÖS
Kronometre
Kod: [Seç]
<table border="0">
<tr>
<td align="center"><font face="Arial"><strong>Benim sayfamda kaldigin süre:</strong></font></td>
<td align="center"><form name="d">
<p><input type="text" size="8" name="d2"></p>
</form>
</td>
<td align="center"><font face="Arial"><strong>saniye!</strong></font></td>
</tr>
</table>
<script>
<!--
var milisec=0
var seconds=0
document.d.d2.value='0'
function display(){
if (milisec>=9){
milisec=0
seconds+=1
}
else
milisec+=1
document.d.d2.value=seconds+"."+milisec
setTimeout("display()",100)
}
display()
//-->
</script>
 
Kayıtlı

burajan

#14 * Şubat 24, 2007, 22:25:38 ÖS
Farenizi takip eden resim:
Kod: [Seç]
<HEAD>
<style type="text/css">
BODY {overflow: scroll; overflow-x: hidden;}
</style>
</head>
<body link="#000000" vlink="#000000" alink="#000000" bgcolor="white">
<!-- ### Sayfanın javascript kodu buradan başlamaktadır ### -->
<script language="JavaScript1.2">
<!--
var trailLength = 8 // Ekranda görülecek resim sayısı
var path = "bullet.gif" // resim için URL Yolu

// do NOT modify anything beyond this point
var isIE = false,isNav = false,range = "all.",style = ".style",i,d = 0
var topPix = ".pixelTop",leftPix = ".pixelLeft",images,storage
if (document.layers) { // browser sniffer
isNav = true,range = "layers.",style = "",topPix = ".top",leftPix = ".left"
} else if (document.all) {
isIE = true
}
function initTrail() { // prepares the script
images = new Array() // prepare the image array
for (i = 0; i < parseInt(trailLength); i++) {
images[i] = new Image()
images[i].src = path
}
storage = new Array() // prepare the storage for the coordinates
for (i = 0; i < images.length*3; i++) {
storage[i] = 0
}
for (i = 0; i < images.length; i++) { // make divs for IE and layers for Navigator
(isIE) ? document.write('<div id="obj' + i + '" style="position: absolute; z-Index: 100; height: 0; width: 0"><img src="' + images[i].src + '"></div>') : document.write('<layer name="obj' + i + '" width="0" height="0" z-index="100"><img src="' + images[i].src + '"></layer>')
}
trail()
}
function trail() { // trailing function
for (i = 0; i < images.length; i++) { // for every div/layer
eval("document." + range + "obj" + i + style + topPix + "=" + storage[d]) // the Y-coordinate
eval("document." + range + "obj" + i + style + leftPix + "=" + storage[d+1]) // the X-coordinate
d = d+2
}
for (i = storage.length; i >= 2; i--) { // save the coordinate for the div/layer that's behind
storage[i] = storage[i-2]
}
d = 0 // reset for future use
var timer = setTimeout("trail()",10) // call recursively
}
function processEvent(e) { // catches and processes the mousemove event
if (isIE) { // for IE
storage[0] = window.event.y+document.body.scrollTop+10
storage[1] = window.event.x+document.body.scrollLeft+10
} else { // for Navigator
storage[0] = e.pageY+12
storage[1] = e.pageX+12
}
}
if (isNav) {
document.captureEvents(Event.MOUSEMOVE) // Defines what events to capture for Navigator
}
if (isIE || isNav) { // initiates the script
initTrail()
document.onmousemove = processEvent // start capturing
}
//-->
</script>
<!-- ### Sayfanın javascript kodu burada sonlanmıştır ### -->
</HEAD>
Kayıtlı
Kişisel İnternet Sitem => http://www.buraksimsek.com.tr

burajan

#15 * Şubat 24, 2007, 22:28:11 ÖS
Resim şeklinde menü (Resim normalde soluk fare üzerine gelince orjinal halini alıyor):
Kod: [Seç]
<HEAD>
<style>
a {
color: #1b4a67;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
</style>
<script>
nereidFadeObjects = new Object();
nereidFadeTimers = new Object();


function nereidFade(object, destOp, rate, delta){
if (!document.all)
return
if (object != "[object]"){ //do this so I can take a string too
setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);
return;
}

clearTimeout(nereidFadeTimers[object.sourceIndex]);

diff = destOp-object.filters.alpha.opacity;
direction = 1;
if (object.filters.alpha.opacity > destOp){
direction = -1;
}
delta=Math.min(direction*diff,delta);
object.filters.alpha.opacity+=direction*delta;

if (object.filters.alpha.opacity != destOp){
nereidFadeObjects[object.sourceIndex]=object;
nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
}
}


</script>
</HEAD>
<BODY>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<td width="33%" height="273">
<a class="cursor:hand" href="http://www.site.com/"><img style="filter:alpha(opacity=10)" alt="Yükleniyor" onmouseover="nereidFade(this,100,0,15)" onmouseout="nereidFade(this,20,0,15)" src="img/1.gif" width="251" height="252" border="0"></a></td>
<td width="33%" height="273"><a class="cursor:hand" href="http://www.site.com/"><img style="filter:alpha(opacity=10)" alt="Yükleniyor" onmouseover="nereidFade(this,100,0,15)" onmouseout="nereidFade(this,20,0,15)" src="img/2.gif" width="250" height="252" border="0"></a></td>
<td width="33%" height="273"><a class="cursor:hand" href="http://www.site.com/"><img style="filter:alpha(opacity=10)" alt="Yüklenyor" onmouseover="nereidFade(this,100,0,15)" onmouseout="nereidFade(this,20,0,15)" src="img/3.jpg" width="251" height="252" border="0"></a></td>
</BODY>
Kayıtlı
Kişisel İnternet Sitem => http://www.buraksimsek.com.tr

burajan

#16 * Şubat 24, 2007, 22:29:30 ÖS
Karıncalanan menü (Bir link var linke tıklanınca karıncalanarak açılan bir menü):
Kod: [Seç]
<BODY>
<style>#wrapper {
HEIGHT: 30px; POSITION: relative
}
#wrapper2 {
POSITION: absolute
}
#coffeemenu03 {
FILTER: revealTrans(Duration=1.5,Transition=12)
visibility:hide
}
</style>
<ilayer id="coffeemenu01" height="35px">
<layer id="coffeemenu02" visibility="show">
<span id="wrapper">
<span id="wrapper2" onclick="dropit2();event.cancelBubble=true;return false">
<font face="Verdana"><b><a href="notthisbrowser.html">Menu</a></b></font>
</span></span>
</layer>
</ilayer>
<!-- ### Sayfanın javascript kodu buradan başlamaktadır ### -->
<script language="JavaScript1.2">
var enableeffect=true

var selection=new Array()
selection[0]='<font face="ARIAL BLACK"><a href="http://www.site.com/sayfa1.htm">Sayfa 1</a><br>'
selection[1]='<a href="http://www.site.com/sayfa2.htm">Sayfa 2</a><br>'
selection[2]='<a href="http://www.site.com/sayfa3.htm">Sayfa 3</a><br>'
selection[3]='<a href="http://www.site.com/sayfa4.htm">Sayfa 4</a><br>'
selection[4]='<a href="http://www.site.com/sayfa5.htm">Sayfa 5</a><br></font>'

if (document.layers)
document.coffeemenu01.document.coffeemenu02.visibility='show'

function dropit2(){
if (document.all){
coffeemenu03.style.left=document.body.scrollLeft+event.clientX-event.offsetX
coffeemenu03.style.top=document.body.scrollTop+event.clientY-event.offsetY+18
if (coffeemenu03.style.visibility=="hidden"){
if (enableeffect)
coffeemenu03.filters.revealTrans.apply()
coffeemenu03.style.visibility="visible"
if (enableeffect)
coffeemenu03.filters.revealTrans.play()
}
else{
hidemenu()
}
}
}

function dropit(e){
if (document.coffeemenu03.visibility=="hide")
document.coffeemenu03.visibility="show"
else
document.coffeemenu03.visibility="hide"
document.coffeemenu03.left=e.pageX-e.layerX
document.coffeemenu03.top=e.pageY-e.layerY+19
return false
}

function hidemenu(){
if (enableeffect)
coffeemenu03.filters.revealTrans.stop()
coffeemenu03.style.visibility="hidden"
}

function hidemenu2(){
document.coffeemenu03.visibility="hide"
}

if (document.layers){
document.coffeemenu01.document.coffeemenu02.captureEvents(Event.CLICK)
document.coffeemenu01.document.coffeemenu02.onclick=dropit
}
else if (document.all)
document.body.onclick=hidemenu

</script>
<!-- ### Sayfanın javascript kodu burada sonlanmıştır ### -->
<div id="coffeemenu03" style="BACKGROUND-COLOR: #c0c0c0; BORDER-BOTTOM: black 2px solid; BORDER-LEFT: black 2px solid; BORDER-RIGHT: black 2px solid; BORDER-TOP: black 2px solid; LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: hidden; WIDTH: 200px; layer-background-color: #C0C0C0">
<!-- ### Sayfanın javascript kodu burada başlamıştır ### -->
<script language="JavaScript1.2">
if (document.all)
coffeemenu03.style.padding='4px'
for (i=0;i<selection.length;i++)
document.write(selection[i])
</script>
<!-- ### Sayfanın javascript kodu burada sonlanmıştır ### -->
</div>
<!-- ### Sayfanın javascript kodu burada başlamıştır ### -->
<script language="JavaScript1.2">
if (document.layers){
document.coffeemenu03.captureEvents(Event.CLICK)
document.coffeemenu03.onclick=hidemenu2
}
</script>
<!-- ### Sayfanın javascript kodu burada sonlanmıştır ### --><br>
</BODY>
Kayıtlı
Kişisel İnternet Sitem => http://www.buraksimsek.com.tr

utku

#17 * Mart 29, 2007, 21:19:38 ÖS
ARKADAŞLAR BEN SAYFAMI ZARETÇİLERE TAVSİYE ETTİİRMEK İÇİN SCRİPT ARIYORUM.YARDIMCI OLURMUSUNUZ
Kayıtlı

burajan

#18 * Mart 30, 2007, 07:44:12 ÖÖ
Bir tavsiye scripti yada formmail kullanmalısın. aspindir.com adresine bakabilirsin.
Kayıtlı
Kişisel İnternet Sitem => http://www.buraksimsek.com.tr

@hmet_@hmet

#19 * Mayıs 21, 2007, 09:22:14 ÖÖ
BİRAAZ DAHA HTML KOD ÖRNEKLERİ ATARSANIZ SEVİNİRİM
HERKEZE TEŞEKKÜRLE ÇOK GÜZEL HTML KODLARI VARR ;D ;D ;D ;D ;D :P :P
Kayıtlı