|
Show
System Information |
نمايش گوشه اي از جزئيات سيستم
بازديد کننده |
<table
border="1" cellpadding="0" cellspacing="0"
style="border-collapse: collapse" bordercolor="#111111"
width="22%">
<tr>
<td width="100%"><font face="Tahoma" size="2"> <SCRIPT
language=JavaScript>
<!-- Begin
var xy = navigator.appVersion;
xz = xy.substring(22,25);
document.write("مرورگر: ", navigator.appName,"<br>");
document.write("نگارش مرورگر : ",xz,"<br>");
document.write("وضوح نمایشگر : ",screen.width,"
در ",screen.height,"پيکسل<br>");
if (navigator.javaEnabled()) document.write("جاوا
فعال
است<br>");
else document.write("جاوا
فعال
نیست<br>")
// End -->
</SCRIPT> </font>
</td>
</tr>
</table>
|
Send
Email |
ایمیل به هر کسی |
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function mailsome1(){
who=prompt("Enter recipient's email address:
","YOUR EMAIL");
what=prompt("SUBJECT: ","none");
if (confirm("Are you sure you want to mail
"+who+" with the subject of "+what+"?")==true){
parent.location.href='mailto:'+who+'?subject='+what+'';
}
}
// End -->
</SCRIPT>
<!-- CONTINUE -->
<BODY>
<CENTER>
<a href='javascript:mailsome1()'>E-Mail
Someone!</a>
<FORM>
<input type=button value="E-Mail Someone!"
onClick="mailsome1()">
</FORM>
</CENTER>
<!-- END Script Size: 1.02 KB -->
|
Fade Picture |
نمایش تصویر به
صورت شیشه ای |
<head>
<script language="JavaScript1.2">
function makevisible(cur,which){
if (which==0)
cur.filters.alpha.opacity=100
else
cur.filters.alpha.opacity=20
}
</script>
</head>
<body>
<a href="URL LINK/URL LINK.html">
<img src="URL PIC/URL PIC.html" border=0 style="filter:alpha(opacity=20)"
onMouseover="makevisible(this,0)" onMouseout="makevisible(this,1)"></a>
</body>
|
Color Link In Web Page |
لينكهاي خود را رنگارنگ كنيد |
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function initArray() {
for (var i = 0; i < initArray.arguments.length;
i++) {
this[i] = initArray.arguments[i];
}
this.length = initArray.arguments.length;
}
var colors = new initArray(
"red",
"blue",
"green",
"purple",
"black",
"tan",
"red");
delay = .5; // seconds
link = 0;
vlink = 2;
function linkDance() {
link = (link+1)%colors.length;
vlink = (vlink+1)%colors.length;
document.linkColor = colors[link];
document.vlinkColor = colors[vlink];
setTimeout("linkDance()",delay*1000);
}
linkDance();
// End -->
</script></body>
</html>
|
Clock |
یک ساعت
کامپیوتری ساده |
<SCRIPT
LANGUAGE="JavaScript">
var timerID = null;
var timerRunning = false;
function stopclock ()
{
if(timerRunning)
clearTimeout(timerID);
timerRunning = false;
}
function showtime ()
{
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds()
var timeValue = "" + ((hours >12) ? hours -12
:hours)
timeValue += ((minutes < 10) ? ":0" : ":") +
minutes
timeValue += ((seconds < 10) ? ":0" : ":") +
seconds
timeValue += (hours >= 12) ? " P.M." : " A.M."
document.clock.face.value = timeValue;
// you could replace the above with this
// and have a clock on the status bar:
// window.status = timeValue;
timerID = setTimeout("showtime()",1000);
timerRunning = true;
}
function startclock ()
{
// Make sure the clock is stopped
stopclock();
showtime();
}
</SCRIPT>
<BODY onLoad="startclock(); timerONE=window.setTimeout"
BGCOLOR="000080"
TEXT="ffffff">
<CENTER><form name="clock" onSubmit="0">
<input type="text" name="face" size=13
value=""></CENTER>
<BODY>
<center>
<form name="capsform">
<input type="text" name="caps" size=40 value=""
onChange="javascript:this.value=this.value.toLowerCase();">
<br>
<input type="button" value="Ok!">
</form>
</center>
<!-- END Script Size: 0.55 KB -->
<span style="position: absolute; left: 383px;
top: 622px; z-index: 16">
<a onclick="this.style.behavior='url(#default#homepage)';
this.setHomePage('http://www.naghmeh.persiangig.com');"
<a href="http://www.naghmeh.persiangig.com">
<img SRC="file:///C:/Documents%20and%20Settings/Esmail/My%20Documents/My%20Pictures/hosting-free.gif"
BORDER="0" width="32" height="32"></a></span>
|
Add To Favorites |
درج صفحه در
قسمت مورد علاقه ها |
<td style="border-style: none; border-width:
medium">
<p align="center"> <table border="0"
cellpadding="0" cellspacing="0" width="194"
style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="194" height="50%"
style="border-top-style: none; border-top-width:
medium">
<form method="GET" action="http://www.pword.com/pimage"
name="frmInterSearch1" target="_blank">
<font size="1" face="Verdana">
<input type="submit"
value="جستجو"
style="font-size: 9pt; font-family: Tahoma;
border: 1px solid #666666; ; background-color:#FFFFFF;
color:#5F636C; background-image:url('Menu.gif')">
</font>
<input
type="text" name="q" size="19" dir="ltr"
style="font-family: Tahoma; font-size: 9pt;
border: 1px solid #666666; ; color:#5F636C;
background-color:#FFFFFF"></form></td>
</tr>
</table></td>
|
Search Engine For Picture |
کد موتور جست و
جوی تصاوير |
<!-- Begin Jostejoogar.com Web Search Code --><iframe
src="http://www.jostejoogar.com/products/Add/searchweb.asp"
width="190" height="100" frameborder=0
scrolling="no"></iframe><!-- End Jostejoogar.com
Web Search Code -->
|
Search Engine Farsi |
موتور جست و جوی
فارسی |
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Randy Bennett (rbennett@thezone.net)
-->
<!-- Web Site: http://home.thezone.net/~rbennett/utility/sitemap.htm
-->
<!-- Edited by Mahdi Peivandi - JavaKadeh -->
<!-- Begin
pX = 100;
pY = 100;
obs = new Array(13);
function ob() {
for (i = 0; i < 13; i++) {
if (document.all) obs[i] = new Array (eval('ob'+i).style,-100,-100);
else obs[i] = new Array (eval('document.ob'+i),-100,-100);
}
}
function cl(a, b, c) {
if (document.all) {
if (a != 0) b += -1;
eval('c'+a+'.style.pixelTop='+(pY+(c)));
eval('c'+a+'.style.pixelLeft='+(pX+(b)));
}
else {
if (a != 0) b += 10;
eval('document.c'+a+'.top='+(pY+(c)));
eval('document.c'+a+'.left='+(pX+(b)));
}
}
function runClock() {
for (i = 0; i < 13; i++) {
obs[i][0].left=obs[i][1]+pX;
obs[i][0].top=obs[i][2]+pY;
}
}
var lastsec;
function timer() {
time = new Date ();
sec = time.getSeconds();
if (sec != lastsec) {
lastsec = sec;
sec = Math.PI * sec / 30;
min = Math.PI * time.getMinutes() / 30;
hr = Math.PI * time.getHours() / 6 + Math.PI *
parseInt(time.getMinutes()) / 360;
for (i = 1; i < 6; i++) {
obs[i][1] = Math.sin(sec) * (44 - (i-1) * 11) -
16;
if (document.layers)obs[i][1] += 10;
obs[i][2] = -Math.cos(sec) * (44 - (i-1) * 11) -
27;
}
for (i = 6;i < 10; i++) {
obs[i][1] = Math.sin(min) * (40 - (i-6) * 10) -
16;
if (document.layers)obs[i][1] += 10;
obs[i][2] = -Math.cos(min) * (40 - (i-6) * 10) -
27;
}
for (i = 10; i < 13; i++) {
obs[i][1] = Math.sin(hr) * (37 - (i-10) * 11) -
16;
if (document.layers)obs[i][1] += 10;
obs[i][2] = -Math.cos(hr) * (37 - (i-10) * 11) -
27;
}
}
}
function setNum() {
cl (0, -67, -65);
cl (1, 10, -51);
cl (2, 28, -33);
cl (3, 35, -8);
cl (4, 28, 17);
cl (5, 10, 35);
cl (6, -15, 42);
cl (7, -40, 35);
cl (8, -58, 17);
cl (9, -65, -8);
cl (10, -58, -33);
cl (11, -40, -51);
cl (12, -16, -56);
}
function startClock() {
ob();
setNum();
setInterval('timer()', 100);
setInterval('runClock()', 100);
}
// End -->
</script>
<style>
..num {color:white;width:30px;text-align:center;
}
</style>
</HEAD>
<body onLoad="javascript:startClock();">
<div id="c0"
style="position:absolute;left:36;top:36;
z-index:2;">
<table>
<tr>
<td bgcolor=000000 width=120 height=120>
</td>
</tr>
</table>
</div>
<div id="c1" class="num"
style="position:absolute;left:20;top:-20;
z-index:5;font-size:11px;"><b>1</b></div>
<div id="c2" class="num"
style="position:absolute;left:20;top:-20;
z-index:5;font-size:11px;"><b>2</b></div>
<div id="c3" class="num"
style="position:absolute;left:20;top:-20;
z-index:5;font-size:11px;"><b>3</b></div>
<div id="c4" class="num"
style="position:absolute;left:20;top:-20;
z-index:5;font-size:11px;"><b>4</b></div>
<div id="c5" class="num"
style="position:absolute;left:20;top:-20;
z-index:5;font-size:11px;"><b>5</b></div>
<div id="c6" class="num"
style="position:absolute;left:20;top:-20;
z-index:5;font-size:11px;"><b>6</b></div>
<div id="c7" class="num"
style="position:absolute;left:20;top:-20;
z-index:5;font-size:11px;"><b>7</b></div>
<div id="c8" class="num"
style="position:absolute;left:20;top:-20;
z-index:5;font-size:11px;"><b>8</b></div>
<div id="c9" class="num"
style="position:absolute;left:20;top:-20;
z-index:5;font-size:11px;"><b>9</b></div>
<div id="c10" class="num"
style="position:absolute;left:20;top:-20;
z-index:5;font-size:11px;"><b>10</b></div>
<div id="c11" class="num"
style="position:absolute;left:20;top:-20;
z-index:5;font-size:11px;"><b>11</b></div>
<div id="c12" class="num"
style="position:absolute;left:20;top:-20;
z-index:5;font-size:11px;"><b>12</b></div>
<div id="ob0" class="num" style="position:absolute;left:-20;top:-20;z-index:1">
</div>
<div id="ob1" class="num" style="position:absolute;left:-20;top:-20;z-index:8">
<font size="+3"
color="#0000ff"><b>.</b></font></div>
<div id="ob2" class="num" style="position:absolute;left:-20;top:-20;z-index:8">
<font size="+3"
color="#0000ff"><b>.</b></font></div>
<div id="ob3" class="num" style="position:absolute;left:-20;top:-20;z-index:8">
<font size="+3"
color="#0000ff"><b>.</b></font></div>
<div id="ob4" class="num" style="position:absolute;left:-20;top:-20;z-index:8">
<font size="+3"
color="#0000ff"><b>.</b></font></div>
<div id="ob5" class="num" style="position:absolute;left:-20;top:-20;z-index:8">
<font size="+3"
color="#0000ff"><b>.</b></font></div>
<div id="ob6" class="num" style="position:absolute;left:-20;top:-20;z-index:7">
<font size="+3"
color="#00ffff"><b>.</b></font></div>
<div id="ob7" class="num" style="position:absolute;left:-20;top:-20;z-index:7">
<font size="+3"
color="#00ffff"><b>.</b></font></div>
<div id="ob8" class="num" style="position:absolute;left:-20;top:-20;z-index:7">
<font size="+3"
color="#00ffff"><b>.</b></font></div>
<div id="ob9" class="num" style="position:absolute;left:-20;top:-20;z-index:7">
<font size="+3"
color="#00ffff"><b>.</b></font></div>
<div id="ob10" class="num" style="position:absolute;left:-20;top:-20;z-index:6">
<font size="+3"
color="#ffff00"><b>.</b></font></div>
<div id="ob11" class="num" style="position:absolute;left:-20;top:-20;z-index:6">
<font size="+3"
color="#ffff00"><b>.</b></font></div>
<div id="ob12" class="num" style="position:absolute;left:-20;top:-20;z-index:6">
<font size="+3"
color="#ffff00"><b>.</b></font></div>
</body>
</html>
<!-- END Script Size: 5.93 KB -->
|
Timer |
ساعت عقربه دار
ثابت |
<SCRIPT language=JavaScript>
var NS4 = (document.layers);
var IE4 = (document.all);
var win = window;
var n = 0;
function findInPage(str) {
var txt, i, found;
if (str == "")
return false;
if (NS4) {
if (!win.find(str))
while(win.find(str, false, true))
n++;
else
n++;
if (n == 0)
alert("Not found.");
}
if (IE4) {
txt = win.document.body.createTextRange();
for (i = 0; i <= n && (found = txt.findText(str))
!= false; i++) {
txt.moveStart("character", 1);
txt.moveEnd("textedit");
}
if (found) {
txt.moveStart("character", -1);
txt.findText(str);
txt.select();
txt.scrollIntoView();
n++;
}
else {
if (n > 0) {
n = 0;
findInPage(str);
}
else
alert("پيدا نشد");
}
}
return false;
}
</SCRIPT>
<FORM name=search
onsubmit="return findInPage(this.string.value);">
<P align=center><FONT size=3>
<INPUT onchange="n = 0;"
size=10 name=string style="font-family: Tahoma;
font-size: 8pt"></FONT><INPUT style="FONT-SIZE:
8pt; FONT-FAMILY: Tahoma" type=submit value=جستجو></P></FORM>
<DIV></DIV>
<script type="text/javascript">
function showdate() {
week= new Array("يكشنبه","دوشنبه","سه
شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه")
months = new
Array("فروردين","ارديبهشت","خرداد","تير","مرداد","شهريور","مهر","آبان","آذر","دي","بهمن","اسفند");
a = new Date();
d= a.getDay();
day= a.getDate()+1;
month = a.getMonth()+1;
year= a.getYear();
year = (year== 0)?2000:year;
(year<1000)? (year += 2000):true;
year -= ( (month < 3) || ((month == 3) && (day <
21)) )? 622:621;
year = year % 100;
switch (month) {
case 1: (day<21)? (month=10, day+=10):(month=11,
day-=20); break;
case 2: (day<20)? (month=11, day+=11):(month=12,
day-=19); break;
case 3: (day<21)? (month=12, day+=9):(month=1,
day-=20); break;
case 4: (day<21)? (month=1, day+=11):(month=2,
day-=20); break;
case 5:
case 6: (day<22)? (month-=3, day+=10):(month-=2,
day-=21); break;
case 7:
case 8:
case 9: (day<23)? (month-=3, day+=9):(month-=2,
day-=22); break;
case 10:(day<23)? (month=7, day+=8):(month=8,
day-=22); break;
case 11:
case 12:(day<22)? (month-=3, day+=9):(month-=2,
day-=21); break;
default: break;
}
document.write(''+week[d]+' '+day+'
'+months[month-1]+' '+ year);
}
</script><script>showdate()</script>
|
Message In Status Bar |
پيام ثابت در نوار وضعيت |
<SCRIPT language="JavaScript">
<!--
status_text();function status_text()
{window.status="Your
Message";setTimeout("status_text()",1);}
-->
</SCRIPT>
|
Action Word |
حرکت
نوشته از پايين به بالا |
<font face="Tahoma" style="font-size: 9pt"
color="#FF9618">
<SCRIPT language=JavaScript>
document.write('<marquee id="iescroller"
direction="up" width="100%" height="110"
scrollamount="4" scrolldelay="100"
style="border:1 solid
#666666;background-color:D1E7FF">');
iescroller.onmouseover=new
Function("iescroller.scrollAmount=0");
iescroller.onmouseout=new
Function("iescroller.scrollAmount=2");
document.write('<font size="5" face="Monotype
corsiva" color="white">')
document.write('<Div align="center">خوش آمديد</div><br><br>');
document.write('<Div align="center"><b><font
size="2">www.Your site.com</font></b></div><br><br>');
document.write('<Div align="center">آموزش ،
دانلود ، و ...</div><br><br>');
document.write('<Div align="center"><b><font
size="3">Your Email@yahoo.com</font></b></div><br><br>');
document.write('</font>');
document.write('</marquee>');
</SCRIPT> </font>
|
Wellcome
User |
دريافت نام کاربر و خوش امد گويي |
<HEAD>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8">
<SCRIPT LANGUAGE="Javascript">
var namePrompt = prompt("ببخشيد اسم شريفتون؟","");
function dispname (namePrompt) {
document.write(""+namePrompt+"");
}
</SCRIPT>
<BODY>
<CENTER>
<SCRIPT LANGUAGE="Javascript">
document.write("<font size=3 color=red> خوش آمدی
");
dispname(namePrompt);
document.write("!</font>");
</SCRIPT>
</CENTER></body>
</html>
</body>
</html>
<!-- TWO STEPS TO INSTALL EMAIL THIS PAGE:
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>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Ronnie T. Moore -->
<!-- Web Site: The JavaScript Source -->
<!-- This script and many more are available
free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com
-->
<!-- Begin
function initMail(form) {
text = "Check out this page: " + window.location;
form.message.value = "Hi " + form.sendto.value +
" (" + form.to.value + "):\n\n"
+ text + "\n\nYour Friend,\n" +
form.sendername.value + "(" +
form.senderemail.value + ")";
return (form.to.value != "");
}
// End -->
</script>
</HEAD>
<!-- STEP TWO: Copy this code into the BODY of
your HTML document -->
<BODY>
<center>
<form name=emailform method=post action="http://cgi.freedback.com/mail.pl"
target="_new" onSubmit="return initMail(this);">
<input type=hidden name=subject value="** Check
Out This Site! **">
<input type=hidden name=message value="">
<table>
<tr><td colspan=2 align=center><font
face="Tahoma" style="font-size: 9pt">فرستادن اين
صفحه براي دوستتان</font></td></tr>
<tr><td><font face="Tahoma" style="font-size:
9pt">نام دوستتان:</font></td><td>
<font face="Tahoma"><span style="font-size:
9pt">
<input type=text name=sendto style="color:
#666666; font-family: Tahoma; font-size: 9pt;
border: 1px solid #666666; background-color: #FFFFFF"
size="20"></span></font></td></tr>
<tr><td><font face="Tahoma" style="font-size:
9pt">ايميل دوستتان :</font></td><td>
<font face="Tahoma"><span style="font-size:
9pt">
<input type=text name=to style="color: #666666;
font-family: Tahoma; font-size: 9pt; border: 1px
solid #666666; background-color: #FFFFFF"
size="20"></span></font></td></tr>
<tr><td><font face="Tahoma" style="font-size:
9pt">نام شما :</font></td><td>
<font face="Tahoma"><span style="font-size:
9pt">
<input type=text name=sendername style="color:
#666666; font-family: Tahoma; font-size: 9pt;
border: 1px solid #666666; background-color: #FFFFFF"
size="20"></span></font></td></tr>
<tr><td><font face="Tahoma" style="font-size:
9pt">ايميل شما :</font></td><td>
<font face="Tahoma"><span style="font-size:
9pt">
<input type=text name=senderemail
style="font-family: Tahoma; font-size: 9pt;
color: #666666; border: 1px solid #666666;
background-color: #FFFFFF"
size="20"></span></font></td></tr>
<tr><td colspan=2 align=center><font
face="Tahoma"><span style="font-size: 9pt">
<input type=submit value="ارسال"
style="font-family: Tahoma; color: #666666;
font-size: 9pt; border: 1px solid #666666;
background-image: url('file:///E:/My%20Web%20Site/jadid/Menu.gif')"></span></font></td></tr>
</table>
</form>
</center>
|
Calender In Site |
قرار
دادن تقويم در سايت |
<!-- ONE STEP TO INSTALL MONTHLY: DAY
HIGHLIGHTED:
1. Put the code into the BODY of your HTML
document -->
<!-- STEP ONE: Copy this code into the HEAD your
HTML document -->
<html>
<head>
<meta name="GENERATOR" content="Microsoft
FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>
<body>
<center>
<script LANGUAGE="JavaScript">
<!-- Begin
monthnames = new Array(
"January",
"Februrary",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"Decemeber");
var linkcount=0;
function addlink(month, day, href) {
var entry = new Array(3);
entry[0] = month;
entry[1] = day;
entry[2] = href;
this[linkcount++] = entry;
}
Array.prototype.addlink = addlink;
linkdays = new Array();
monthdays = new Array(12);
monthdays[0]=31;
monthdays[1]=28;
monthdays[2]=31;
monthdays[3]=30;
monthdays[4]=31;
monthdays[5]=30;
monthdays[6]=31;
monthdays[7]=31;
monthdays[8]=30;
monthdays[9]=31;
monthdays[10]=30;
monthdays[11]=31;
todayDate=new Date();
thisday=todayDate.getDay();
thismonth=todayDate.getMonth();
thisdate=todayDate.getDate();
thisyear=todayDate.getYear();
thisyear = thisyear % 100;
thisyear = ((thisyear < 50) ? (2000 + thisyear)
: (1900 + thisyear));
if (((thisyear % 4 == 0)
&& !(thisyear % 100 == 0))
||(thisyear % 400 == 0)) monthdays[1]++;
startspaces=thisdate;
while (startspaces > 7) startspaces-=7;
startspaces = thisday - startspaces + 1;
if (startspaces < 0) startspaces+=7;
document.write("<table border=2 bgcolor=white
");
document.write("bordercolor=black><font
color=black>");
document.write("<tr><td colspan=7><center><strong>"
+ monthnames[thismonth] + " " + thisyear
+ "</strong></center></font></td></tr>");
document.write("<tr>");
document.write("<td align=center>Su</td>");
document.write("<td align=center>M</td>");
document.write("<td align=center>Tu</td>");
document.write("<td align=center>W</td>");
document.write("<td align=center>Th</td>");
document.write("<td align=center>F</td>");
document.write("<td align=center>Sa</td>");
document.write("</tr>");
document.write("<tr>");
for (s=0;s<startspaces;s++) {
document.write("<td> </td>");
}
count=1;
while (count <= monthdays[thismonth]) {
for (b = startspaces;b<7;b++) {
linktrue=false;
document.write("<td>");
for (c=0;c<linkdays.length;c++) {
if (linkdays[c] != null) {
if ((linkdays[c][0]==thismonth + 1) && (linkdays[c][1]==count))
{
document.write("<a href=\"" + linkdays[c][2] +
"\">");
linktrue=true;
}
}
}
if (count==thisdate) {
document.write("<font color='FF0000'><strong>");
}
if (count <= monthdays[thismonth]) {
document.write(count);
}
else {
document.write(" ");
}
if (count==thisdate) {
document.write("</strong></font>");
}
if (linktrue)
document.write("</a>");
document.write("</td>");
count++;
}
document.write("</tr>");
document.write("<tr>");
startspaces=0;
}
document.write("</table></p>");
// End -->
</script>
</center>
<!-- Script Size: 2.98 KB -->
</body>
</html>
|
Message Day |
پيام
صبح بخير،شب بخير،عصر
بخير،وقت
بخير و ... |
<td style="border-style: none; border-width:
medium">
<p align="center"><font face="Tahoma"
style="font-size: 9pt"> <head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1256">
<title></title>
</head>
<html>
<body>
</font>
<center>
<font face="Tahoma" style="font-size: 9pt">
<script LANGUAGE="JavaScript">
<!--»Learn IRAN-->
<!-- Begin
document.write("<center><font size=+1>")
day = new Date()
hr = day.getHours()
if (hr ==1)
document.write("بامداد
بخير ")
if (hr ==2)
document.write("نيمه
شب شما
بخير")
if (hr ==3)
document.write("نيمه
شب شما
بخير ....
نميروی
بخوابی")
if (hr ==4)
document.write("دوست
عزیز
وقت
استراحت
است")
if (hr ==5)
document.write("سحر
بخير")
if ((hr == 6) || (hr ==7) || (hr ==8) || (hr ==
9) || (hr ==10))
document.write("صبح
بخير")
if (hr ==11)
document.write("نيمروز
بخير")
if (hr ==12)
document.write("ظهر
بخير")
if (hr ==13)
document.write("بعد
از ظهر
شما
بخير")
if ((hr==15) || (hr==16) || (hr==14))
document.write("عصر
شما
بخير")
if ((hr==17) || (hr==18) || (hr==19) || (hr==20)
|| (hr==21) || (hr==22))
document.write("شب
بخير")
if (hr==23)
document.write("شب
شما
بخير")
if (hr==0)
document.write("نيمه
شب بخير")
document.write("</font></center>")
// End -->
</script>
</font>
</center>
<font face="Tahoma"><span style="font-size:
9pt">
<!-- Script Size: 1.76 KB -->
</body>
</html>
</body>
</span>
</html></font></td>
|
Show Time In Enter User |
نمايش زمان ورود
كاربر به سايت |
<td style="border-style: none; border-width:
medium" width="82">
<font face="Tahoma" style="font-size: 9pt"
color="#333333">زمان ورود كاربر :</font></td>
<td style="border-style: none; border-width:
medium" align="right">
<font face="Tahoma" style="font-size: 9pt"
color="#333333"> <!-- Start of Display Time
-->
<!-- Displays the current system time to the
visitor of your site -->
<!-- Instructions: Just put the beginning of
this code inside your pages
'<head>' tags and the later part inside your
pages '<body>' tags. -->
<!-- Script supplied with CoffeeCup HTML Editor
-->
<!-- www.golpesar.com -->
<head>
<script language="JavaScript">
<!--
var Temp;
setClock();
function setClock() {
CC_Time = "";
now = new Date();
var CurHour = now.getHours();
var CurMinute = now.getMinutes();
now = null;
if( CurHour > 12 ) {
CurHour = CurHour - 12;
ampm = 1;
}
else
ampm = 0;
if( CurHour == 0 )
CurHour = 12;
if( CurMinute < 10 )
CurMinute = "0" + CurMinute;
CurHour = "<FONT SIZE=2><B>" + CurHour + ":" +
CurMinute + "</B>";
if( ampm == 1 )
CurHour = CurHour + " P.M.";
else
CurHour = CurHour + " A.M.";
Temp = CurHour;
}
function pathOnly (InString) {
LastSlash=InString.lastIndexOf ('/',
InString.length-1)
OutString=InString.substring (0, LastSlash+1)
return (OutString);
}
// -->
</script>
<body>
<!-- Just insert the following code where you
want the time to appear -->
<script>
document.write( Temp );
</script>
<!-- End Insert -->
</font>
</td>
|
Scroll Bar Color |
تغيير رنگ اسكرول |
<STYLE type=text/css>
BODY {
SCROLLBAR-FACE-COLOR: #739cbd;
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
SCROLLBAR-SHADOW-COLOR: #1f1f1f;
SCROLLBAR-3DLIGHT-COLOR: #739cbd;
SCROLLBAR-ARROW-COLOR: #ffffff;
SCROLLBAR-TRACK-COLOR: #cee6f2;
SCROLLBAR-DARKSHADOW-COLOR: #ffffff
}
</STYLE>
|