Tekil Mesaj gösterimi
Alt 10-03-2008   #13
Profil
Üye
 
NameLeSS® - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Feb 2007
Bulunduğu yer: NeRdeN NeReye....!
Mesajlar: 3.196
Üye No: 141

Seviye: 44 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Canlılık: 0 / 1076
Çekicilik: 1065 / 57532
Tecrübe: 4

Teşekkür

Teşekkürler: 0
0 Mesajina 0 Tesekkür Aldi
Rep
Rep Puanı : 6065
Rep Gücü : 82
İtibar :
NameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond reputeNameLeSS® has a reputation beyond repute
NameLeSS® - MSN üzeri Mesaj gönder
19

Değişik bir hesap makinası
Kod:
<body><table border="2" width="200" cellspacing="0" cellpadding="0" bgcolor="#000000" 
style="border-color:black" onclick="previouskey=event.srcElement.innerText"> 
<tr> 
<td width="100%" bgcolor="#FFFFFF" id="result" 
style="font:bold 20px Verdana;color:black;text-align='right'">0</td> 
</tr> 
<tr> 
<td width="100%" valign="middle" align="center"><table border="0" width="100%" 
cellspacing="0" cellpadding="0" style="font:bold 20px Verdana;color:white"> 
<tr> 
<td width="80%" align="center"><table border="1" width="100%" cellspacing="0" 
cellpadding="0" style="cursor:hand;font:bold 20px Verdana;color:white" 
onmouseover="if (event.srcElement.tagName=='TD')event.srcElement.style.color='yellow'" 
onmouseout="event.srcElement.style.color='white'" onselectStart="return false" 
onclick="calculate()" height="82"> 
<tr> 
<td width="25%" align="center" height="17">7</td> 
<td width="25%" align="center" height="17">8</td> 
<td width="25%" align="center" height="17">9</td> 
<td width="25%" align="center" height="17">/</td> 
</tr> 
<tr> 
<td width="25%" align="center" height="19">4</td> 
<td width="25%" align="center" height="19">5</td> 
<td width="25%" align="center" height="19">6</td> 
<td width="25%" align="center" height="19">*</td> 
</tr> 
<tr> 
<td width="25%" align="center" height="19">1</td> 
<td width="25%" align="center" height="19">2</td> 
<td width="25%" align="center" height="19">3</td> 
<td width="25%" align="center" height="19">-</td> 
</tr> 
<tr> 
<td width="25%" align="center" height="19">0</td> 
<td width="25%" align="center" height="19" 
onclick="pn();previouskey=1;event.cancelBubble=true">+/-</td> 
<td width="25%" align="center" height="19">.</td> 
<td width="25%" align="center" height="19">+</td> 
</tr> 
</table></td> 
<td width="20%"><div align="left"><table border="1" width="100%" cellspacing="0" 
cellpadding="0"> 
<tr> 
<td width="100%" style="cursor:hand;font:bold 20px Verdana;color:white;text-align:center" 
onclick="result.innerText=0;results=''">C</td> 
</tr> 
</table> 
</div><div align="left"><table border="1" width="100%" cellspacing="0" cellpadding="0" 
height="81"> 
<tr> 
<td width="100%" style="cursor:hand;font:bold 32px Verdana;color:white;text-align:center" 
onmouseover="event.srcElement.style.color='yellow'" 
onmouseout="event.srcElement.style.color='white'" onclick="calculateresult()">=</td> 
</tr> 
</table> 
</div></td> 
</tr> 
</table></td> 
</tr> 
</table> 


<script language="JavaScript1.2">/* 
DHTML Calculator Script- 
© Dynamic Drive (www.dynamic drive.com) 
For full source code, installation instructions, 
100's more DHTML scripts, and Terms Of 
Use, visit dynamicdrive.com 
*/ 

var results='' 
var previouskey='' 
var re=/(/|*|+|-)/ 
var re2=/(/|*|+|-){2}$/ 
var re3=/.+(/|*|+|-).+/ 
var re4=/d|./ 
var re5=/^[^/*+].+d$/ 
var re6=/./ 

function calculate(){ 
if (event.srcElement.tagName=="TD"){ 
if (event.srcElement.innerText.match(re4)&&previouskey=="=") 
results='' 
if (result.innerText.match(re3)&&event.srcElement.innerText.match(re)){ 
if (!results.match(re5)){ 
result.innerText="Error!" 
return 
} 
results=eval(results) 
if (results.toString().length>=12&&results.toString().match(re6)) 
results=results.toString().substring(0,12) 
result.innerText=results 
} 

results+=event.srcElement.innerText 
if (results.match(re2)) 
results=results.substring(0,results.length-2)+results.charAt(results.length-1) 

result.innerText=results 
} 
} 

function calculateresult(){ 
if (!results.match(re5)){ 
result.innerText="Error!" 
return 
} 
results=eval(results) 
if (results.toString().length>=12&&results.toString().match(re6)) 
results=results.toString().substring(0,12) 
result.innerText=results 
} 



function pn(){ 
if (result.innerText.charAt(0)!='-') 
result.innerText=results='-'+result.innerText 
else if (result.innerText.charAt(0)=='-') 
result.innerText=results=result.innerText*(-1) 
}</script> 
</body>
__________________

Msn İRTİßaT
!...KeşKe ßu kadar ßüyük Sevdirmeseydin Kendini...!

Click the image to open in full size.


Click the image to open in full size.

NameLeSS® is offline NameLeSS® isimli üyenin yazdığı bu Mesajı değerlendirin.   Alıntı ile Cevapla