הוספתי את ההמשך של הדף הקודם פה כי לא היה מקום
אז קיצור בלי הרבה דיבורים תהנו :]
תמונות-קישור מתחלפות במעבר העכבר
שורת לינקים \ הודעות מתחלפות
<script language="JavaScript1.2">
/*
Ticker Tape script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
//configure tickercontents[] to set the messges you wish be displayed (HTML codes accepted)
var tickercontents=new Array()
tickercontents[0]='ברוכים הבאים לאתר'
tickercontents[1]='<a href="http://www.tool.up.co.il">[קישורים]</a>זה הקוונה שאפשר גם קישורים'
tickercontents[2]='.תהנו</a>'
//configure the below 2 variables to set the width/background color of the ticker
var tickerwidth='50%'
var tickerbgcolor='#ffffcf'
//configure the below variable to determine the delay between ticking of messages (in miliseconds
var tickdelay=3000
var currentmessage=0
function changetickercontent(){
if (document.layers){
document.tickernsmain.document.tickernssub.document.write(tickercontents[currentmessage])
document.tickernsmain.document.tickernssub.document.close()
}
else if (document.all)
tickerie.innerHTML=tickercontents[currentmessage]
if (currentmessage==tickercontents.length-1) currentmessage=0
else currentmessage++
setTimeout("changetickercontent()",tickdelay)
}
function start_ticking(){
if (document.layers)
document.tickernsmain.visibility="show"
changetickercontent()
}
if (document.all)
document.write('<div id="tickerie" style="width:'+tickerwidth+'; background-color:'+tickerbgcolor+'"></div>')
window.onload=start_ticking
</script>
<ilayer id="tickernsmain" width=&{tickerwidth}; bgColor=#ffffff visibility=hide><layer bgColor=&{tickerbgcolor}; id="tickernssub" width=&{tickerwidth}; left=48% top=0></layer></ilayer>
שעון אם ברכות
<SCRIPT language=JavaScript>
function process(){}
today = new Date()
if(today.getMinutes() < 10) {pad = "0"}
else
pad = "";
document.write("<center><FONT SIZE=3>",today.getHours(),":",pad,today.getMinutes())
document.write("<FONT SIZE=3> :העשה </FONT><br>")
if((today.getHours() >= 6) && (today.getHours() < 12))
{ document.write("<center><FONT SIZE=3>בוקר טוב</FONT>")}
if((today.getHours() >= 16) && (today.getHours() < 20))
{ document.write("<center><FONT SIZE=2>אחר הצהרים טובים </FONT>")}
if((today.getHours() >= 18) && (today.getHours() <= 23))
{ document.write("<center><FONT SIZE=3>ערב טוב </FONT>")}
if((today.getHours() >= 0) && (today.getHours() < 4))
{ document.write("<center><FONT SIZE=3>לילה טוב </FONT>")}
if((today.getHours() >= 12) && (today.getHours() <= 16))
{ document.write("<center><FONT SIZE=3>צהריים טובים</FONT>")}
if((today.getHours() >= 12) && (today.getHours() <= 16))
{ document.write(", <FONT SIZE=2>צהריים טובים</FONT>")}
// end hiding contents --></SCRIPT></font>
שורת הודעות מתחלפת
<script language="JavaScript"><!--
line=new Object()
line[1]="www.poma.coo.co.il"
line[2]="ברוכים הבאים לאתר שלי.."
line[3]=":-) אהבתם את הסקריפט.!?..תהנו"
line[4]="תוכלו לשנות את כל המאפיינים..בהצלחה..ביי"
lines=4 //--Number of lines
//--Don't edit below this line
document.write('<form name="bannerform">')
document.write('<div align="center"><center><p><input type="text" name="banner" size="48"')
document.write(' style="background-color: #000000; color: #f7f7ff; text-align: center; font-family: verdana; font-size: 14pt; border: medium none" onfocus="blur()"></p>')
document.write(' </center></div>')
document.write('</form>')
temp=""
nextchar=-1;
nextline=1;
cursor="\\"
function animate(){
if (temp==line[nextline] & temp.length==line[nextline].length & nextline!=lines){
nextline++;
nextchar=-1;
document.bannerform.banner.value=temp;
temp="";
setTimeout("nextstep()",1000)}
else if (nextline==lines & temp==line[nextline] & temp.length==line[nextline].length){
nextline=1;
nextchar=-1;
document.bannerform.banner.value=temp;
temp="";
setTimeout("nextstep()",1000)}
else{
nextstep()}}
function nextstep(){
if (cursor=="\\"){
cursor="|"}
else if (cursor=="|"){
cursor="/"}
else if (cursor=="/"){
cursor="-"}
else if (cursor=="-"){
cursor="\\"}
nextchar++;
temp+=line[nextline].charAt(nextchar);
document.bannerform.banner.value=temp+cursor
setTimeout("animate()",25)}
document.onload=animate();
// --></script>
לינק הדפסה
<A href="javascript:print()">הדפסה</A>
צביעת טקסט שעכבר עובר מעליו
<a OnMouseOver="this.style.color = 'red';" OnMouseOut="this.style.color = 'blue';">
write here...blabla...bla bla
</a>
תפריט מהיר אם אפשרות לחלון חדש
<table border=0><tr><td align=right>
<form name="mycombowopt">
<select name="example" size=1>SELECTED
<OPTION SELECTED VALUE="0"> ----- תפריט מהיר -----
<option value="o.html">עמוד ראשי</option>
<option value="magar.html">מאגר הסקריפטים</option>
<option value="clal.html">כללי הזהב</option>
<option value="http://cnn.com">CNN</option>
</select> <input type="button" value="Go!" onClick="gothere()"> <br>
שדח ןולחב חתפ<input type="checkbox" name="windowoption" value="ON">
</form>
</td></tr></table>
<script language="javascript">
// www.itzik1.co.il
<!--
function gothere(){
var thebox=document.mycombowopt
if (thebox.windowoption.checked){
newwindow=window.open("");
newwindow.location=
thebox.example.options[thebox.example.selectedIndex].value
}
else
location=
thebox.example.options[thebox.example.selectedIndex].value
}
//-->
</script>
האתר עודכן לאחרונה..
<script language="JavaScript" type="text/javascript">
<!--
document.write("" + document.lastModified)
// -->
</script> :עודכן לאחרונה ב
כותרת בסטוס בר זזה
<SCRIPT LANGUAGE="JavaScript">
function infoscroll(seed,looped)
{
var text1 = " www.poma.coo.co.il ";
var text2 = " poma ";
var msg=text1+text2;
var putout = " ";
var c = 1;
if (looped > 10)
{ window.status="<Thanks !>"; }
else if (seed > 100)
{
seed--;
var cmd="infoscroll(" + seed + "," + looped + ")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0)
{
for (c=0 ; c < seed ; c++)
{ putout+=" "; }
putout+=msg.substring(0,100-seed);
seed--;
var cmd="infoscroll(" + seed + "," + looped + ")";
window.status=putout;
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0)
{
if (-seed < msg.length)
{
putout+=msg.substring(-seed,msg.length);
seed--;
var cmd="infoscroll(" + seed + "," + looped + ")";
window.status=putout;
timerTwo=window.setTimeout(cmd,100); // 100
}
else
{
window.status=" ";
looped += 1;
var cmd = "infoscroll(100," + looped + ")";
timerTwo=window.setTimeout(cmd,75); // 75
}
}
}
// -->
<!--
infoscroll(100,1)
// -->
</SCRIPT>
</form>
מצב האייסייקיו שלי הוא..
<img src="http://wwp.icq.com/scripts/online.dll?icq=פה מספר האייסייקיו שלכם&img=2">
העברה אוטומטית מאתר לאתר
<META HTTP-EQUIV=REFRESH CONTENT="7;URL=http://www.poma.coo.co.il">
הצמדת הרקע לאתר
הוסיפו את הקוד הבא ל...BODY
bgproperties=fixed
צביעת טקסט שעכבר עובר מעליו
<a OnMouseOver="this.style.color = 'red';" OnMouseOut="this.style.color = 'blue';">
write here...blabla...bla bla
</a>
תפריט מהיר אם אפשרות לחלון חדש
<table border=0><tr><td align=right>
<form name="mycombowopt">
<select name="example" size=1>SELECTED
<OPTION SELECTED VALUE="0"> ----- תפריט מהיר -----
<option value="o.html">עמוד ראשי</option>
<option value="magar.html">מאגר הסקריפטים</option>
<option value="clal.html">כללי הזהב</option>
<option value="http://cnn.com">CNN</option>
</select> <input type="button" value="Go!" onClick="gothere()"> <br>
שדח ןולחב חתפ<input type="checkbox" name="windowoption" value="ON">
</form>
</td></tr></table>
<script language="javascript">
// www.itzik1.co.il
<!--
function gothere(){
var thebox=document.mycombowopt
if (thebox.windowoption.checked){
newwindow=window.open("");
newwindow.location=
thebox.example.options[thebox.example.selectedIndex].value
}
else
location=
thebox.example.options[thebox.example.selectedIndex].value
}
//-->
</script>
כפתור אזהרה
<div align="center">
<form>
<input type="button" value="Click here to be alerted"
onClick='alert("You have been alerted.")'>
</form>
</div>
האתר יהיה לפי הרזולוציה שתבחרו
<script language="JavaScript1.2">
<!-- Begin
var bestwidth = 600;
var bestheight = 800;
if (screen.width != bestwidth || screen.height != bestheight) {
msg = "This site looks best when viewed when your screen "
+ "is set to a " + bestwidth + "x" + bestheight + " resolution, "
+ "but your screen resolution is " + screen.width + "x"
+ screen.height + ". Please change your screen resolution "
+ "to best view the site, if possible. Thanks!";
document.write(msg);
}
// End -->
</script>
שעון ותאריך
<div align="center">
<script language="JavaScript">
<!-- Begin
Stamp = new Date();
document.write('<font size="2" face="Arial"><B>' + (Stamp.getMonth() + 1) +"/"+Stamp.getDate()+ "/"+Stamp.getYear() + '</B></font><BR>');
var Hours;
var Mins;
var Time;
Hours = Stamp.getHours();
if (Hours >= 12) {
Time = " P.M.";
}
else {
Time = " A.M.";
}
if (Hours > 12) {
Hours -= 12;
}
if (Hours == 0) {
Hours = 12;
}
Mins = Stamp.getMinutes();
if (Mins < 10) {
Mins = "0" + Mins;
}
document.write('<font size="2" face="Arial"><B>' + Hours + ":" + Mins + Time + '</B></font>');
// End -->
</script>
</div>
מרעיד מסך
<head>
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<script language="JavaScript1.2">
<!-- Begin
function shake(n) {
if (parent.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
}
}
}
}
// End -->
</script>
</head>
<body>
<div align="center">
<form>
<input type="button" onClick="shake(2)" value="Shake Screen">
</form>
</div>
מחשבון
<script language="JavaScript">
function compute(obj)
{obj.expr.value = eval(obj.expr.value)}
var one = '1'
var two = '2'
var three = '3'
var four = '4'
var five = '5'
var six = '6'
var seven = '7'
var eight = '8'
var nine = '9'
var zero = '0'
var plus = '+'
var minus = '-'
var multiply = '*'
var divide = '/'
var decimal = '.'
function enter(obj, string)
{obj.expr.value += string}
function clear(obj)
{obj.expr.value = ''}
</script> </p>
<form name="calc">
<div align="center"><center><table border="1"
bgcolor="#004B97" bordercolor="#C3FADA">
<TBODY> <tr>
<td colspan="4"><p align="center"><input type="text"
size="30" style="background-color: #fcffff; color: #000000;" name="expr" action="compute(this.form)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 7 " onclick="enter(this.form, seven)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 8 " onclick="enter(this.form, eight)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 9 " onclick="enter(this.form, nine)"> </p>
</td>
<td><p align="center"><input type="button"
value=" / " onclick="enter(this.form, divide)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 4 " onclick="enter(this.form, four)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 5 " onclick="enter(this.form, five)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 6 " onclick="enter(this.form, six)"> </p>
</td>
<td><p align="center"><input type="button"
value=" x " onclick="enter(this.form, multiply)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 1 " onclick="enter(this.form, one)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 2 " onclick="enter(this.form, two)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 3 " onclick="enter(this.form, three)"> </p>
</td>
<td><p align="center"><input type="button"
value=" - " onclick="enter(this.form, minus)"> </p>
</td>
</tr>
<tr>
<td colspan="2"><p align="center"><input
type="button" value=" 0 "
onclick="enter(this.form, zero)"> </p>
</td>
<td><p align="center"><input type="button"
value=" . " onclick="enter(this.form, decimal)"> </p>
</td>
<td><p align="center"><input type="button"
value=" + " onclick="enter(this.form, plus)"> </p>
</td>
</tr>
<tr>
<td colspan="2"><p align="center"><input
type="button" value=" = "
onclick="compute(this.form)"> </p>
</td>
<td colspan="2"><p align="center"><font face="Ms Sans Serif">
<input type="reset"
value=" נקה " onclick="clear(this.form)"></font></p>
</td>
</tr>
</TBODY> </table>
</center></div>
</form>
שורה מתחלפת
<script language="JavaScript">
<!---
var CurrentMsg = 'hello ';
function update(msg) {
var pad_str="";
n = msg.length;
if(n<72) {
pad = (73-n)/2;
for(var i=0; i<pad; i++) {
pad_str+=" ";
}
}
CurrentMsg = pad_str + msg;
document.messages.field.value = CurrentMsg;clearTimeout(timer);
timer = setTimeout("idleMsg()",1500);
}
function MakeArray(n) {
this.length=n;
for(var i = 1; i<= n; i++) {
this[i] = "";
}
return(this);
}
var index = 1;
var notice_num = 9;
var notices = new MakeArray(notice_num);
notices[1] = " here we start "
notices[2] = "www.yo-yo.up.co.il"
notices[3] = "wwwwhhhhatttt"
notices[4] = " this is a nice script"
notices[5] = " bla bla bla "
notices[6] = " www.topsites.coo.co.il"
notices[7] = " 121212"
notices[8] = " www.yo-yo.up.co.il "
var timer = setTimeout('idleMsg()',1500);
function nochange() {
document.messages.field.value = CurrentMsg;
}
function idleMsg() {
update(notices[index++]);
if(index>notice_num) {
index=1;
}
}
//-->
</script>
<form name="messages" onSubmit="return false">
<input type="text" name="field" size=50 onFocus="self.status='This is a JavaScript information data field'; return true" onChange="nochange()">
העברה אוטומטית מאתר לאתר אחר
<META HTTP-EQUIV=REFRESH CONTENT="7;URL=http://superpower.coo.co.il">
חסימת לחצן ימני
<script language="JavaScript">
<!--
function stopError() {
return true;
}
window.onerror = stopError;
// -->
</script>
<script language="JavaScript">
<!--
function openLoader( windowURL, windowName, windowFeatures ) {
return window.open( windowURL, windowName, windowFeatures ) ;
}
// -->
</script> <style> #ie5menu { position :
absolute; width : 150px; border : 2px solid black; background-color
: #cfffcf; font-family : Arial; line-height : 20px; cursor :
default; visibility : hidden; } .menuitems { padding-left : 15px;
padding-right : 15px; text-align : right; } </style> <script
language="JavaScript1.1">
<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
// End -->
</script> <script
language="JavaScript1.2">
function showmenuie5(){
ie5menu.style.left=document.body.scrollLeft+event.clientX
ie5menu.style.top=document.body.scrollTop+event.clientY
ie5menu.style.visibility="visible"
return false
}
function hidemenuie5(){
ie5menu.style.visibility="hidden"
}
function highlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="#000090"
event.srcElement.style.color="white"
if (display_url==1)
window.status=event.srcElement.url
}
}
function lowlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor=""
event.srcElement.style.color="#000090"
window.status=''
}
}
function jumptoie5(){
if (event.srcElement.className=="menuitems")
window.location=event.srcElement.url
}
</script> <font color="#000090" size="2"
face="Arial"><b><!--[if IE]>
<div id="ie5menu" onMouseover="highlightie5()" onMouseout="lowlightie5()" onClick="jumptoie5()">
<div class="menuitems" url="http://www.yo-yo.up.co.il" target="main">www.tool.up.co.il </div>
</div>
<![endif]--> <script language="JavaScript1.2">
document.oncontextmenu=showmenuie5
if (document.all&&window.print)
document.body.onclick=hidemenuie5
</script></b></font>
שורה קבועה בסטטוס בר
<script>
window.status= "www.superpower.coo.co.il"
</script>
איך האתר? כפתורים + תגובות
<table border=1 width=200 cellspacing=0 cellpadding=0 bordercolor=blue><tr><td align=center>
יו-יו הוא</td></tr><td align=right>
אתר מצוין<INPUT TYPE="radio" NAME="myradio" value="!תודה רבה" onClick="alert(value)"><br>
אתר נחמד<INPUT TYPE="radio" NAME="myradio" value="או קיי, אני אשתדל לשפר" onClick="alert(value)"><br>
דרוש שיפור<INPUT TYPE="radio" NAME="myradio" value=":-( ..חבל" onClick="alert(value)">
</td></tr></table>
תמונות מרחפות
<script language="JavaScript1.2">
var Ymax=8; //MAX # OF PIXEL STEPS IN THE "X" DIRECTION
var Xmax=8; //MAX # OF PIXEL STEPS IN THE "Y" DIRECTION
var Tmax=10000; //MAX # OF MILLISECONDS BETWEEN PARAMETER CHANGES
//FLOATING IMAGE URLS FOR EACH IMAGE. ADD OR DELETE ENTRIES. KEEP ELEMENT NUMERICAL ORDER STARTING WITH "0" !!
var floatimages=new Array();
floatimages[0]='cars.bmp';
floatimages[1]='buffy.bmp';
//*********DO NOT EDIT BELOW***********
var NS4 = (navigator.appName.indexOf("Netscape")>=0 && parseFloat(navigator.appVersion) >= 4 && parseFloat(navigator.appVersion) < 5)? true : false;
var IE4 = (document.all)? true : false;
var NS6 = (parseFloat(navigator.appVersion) >= 5 && navigator.appName.indexOf("Netscape")>=0 )? true: false;
var wind_w, wind_h, t='', IDs=new Array();
for(i=0; i<floatimages.length; i++){
t+=(NS4)?'<layer name="pic'+i+'" visibility="hide" width="10" height="10"><a href="javascript:hidebutterfly()">' : '<div id="pic'+i+'" style="position:absolute; visibility:hidden;width:10px; height:10px"><a href="javascript:hidebutterfly()">';
t+='<img src="'+floatimages[i]+'" name="p'+i+'" border="0">';
t+=(NS4)? '</a></layer>':'</a></div>';
}
document.write(t);
function moveimage(num){
if(getidleft(num)+IDs[num].W+IDs[num].Xstep >= wind_w+getscrollx())IDs[num].Xdir=false;
if(getidleft(num)-IDs[num].Xstep<=getscrollx())IDs[num].Xdir=true;
if(getidtop(num)+IDs[num].H+IDs[num].Ystep >= wind_h+getscrolly())IDs[num].Ydir=false;
if(getidtop(num)-IDs[num].Ystep<=getscrolly())IDs[num].Ydir=true;
moveidby(num, (IDs[num].Xdir)? IDs[num].Xstep : -IDs[num].Xstep , (IDs[num].Ydir)? IDs[num].Ystep: -IDs[num].Ystep);
}
function getnewprops(num){
IDs[num].Ydir=Math.floor(Math.random()*2)>0;
IDs[num].Xdir=Math.floor(Math.random()*2)>0;
IDs[num].Ystep=Math.ceil(Math.random()*Ymax);
IDs[num].Xstep=Math.ceil(Math.random()*Xmax)
setTimeout('getnewprops('+num+')', Math.floor(Math.random()*Tmax));
}
function getscrollx(){
if(NS4 || NS6)return window.pageXOffset;
if(IE4)return document.body.scrollLeft;
}
function getscrolly(){
if(NS4 || NS6)return window.pageYOffset;
if(IE4)return document.body.scrollTop;
}
function getid(name){
if(NS4)return document.layers[name];
if(IE4)return document.all[name];
if(NS6)return document.getElementById(name);
}
function moveidto(num,x,y){
if(NS4)IDs[num].moveTo(x,y);
if(IE4 || NS6){
IDs[num].style.left=x+'px';
IDs[num].style.top=y+'px';
}}
function getidleft(num){
if(NS4)return IDs[num].left;
if(IE4 || NS6)return parseInt(IDs[num].style.left);
}
function getidtop(num){
if(NS4)return IDs[num].top;
if(IE4 || NS6)return parseInt(IDs[num].style.top);
}
function moveidby(num,dx,dy){
if(NS4)IDs[num].moveBy(dx, dy);
if(IE4 || NS6){
IDs[num].style.left=(getidleft(num)+dx)+'px';
IDs[num].style.top=(getidtop(num)+dy)+'px';
}}
function getwindowwidth(){
if(NS4 || NS6)return window.innerWidth;
if(IE4)return document.body.clientWidth;
}
function getwindowheight(){
if(NS4 || NS6)return window.innerHeight;
if(IE4)return document.body.clientHeight;
}
function init(){
wind_w=getwindowwidth();
wind_h=getwindowheight();
for(i=0; i<floatimages.length; i++){
IDs[i]=getid('pic'+i);
if(NS4){
IDs[i].W=IDs[i].document.images["p"+i].width;
IDs[i].H=IDs[i].document.images["p"+i].height;
}
if(NS6 || IE4){
IDs[i].W=document.images["p"+i].width;
IDs[i].H=document.images["p"+i].height;
}
getnewprops(i);
moveidto(i , Math.floor(Math.random()*(wind_w-IDs[i].W)), Math.floor(Math.random()*(wind_h-IDs[i].H)));
if(NS4)IDs[i].visibility = "show";
if(IE4 || NS6)IDs[i].style.visibility = "visible";
startfly=setInterval('moveimage('+i+')',Math.floor(Math.random()*100)+100);
}}
function hidebutterfly(){
for(i=0; i<floatimages.length; i++){
if (IE4)
eval("document.all.pic"+i+".style.visibility='hidden'")
else if (NS6)
document.getElementById("pic"+i).style.visibility='hidden'
else if (NS4)
eval("document.pic"+i+".visibility='hide'")
clearInterval(startfly)
}
}
if (NS4||NS6||IE4){
window.onload=init;
window.onresize=function(){ wind_w=getwindowwidth(); wind_h=getwindowheight(); }
}
</script>
קווים נמשכים לעכבר (לא לרקע לבן)
<STYLE>
v\:* {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<SCRIPT>
// the default color of the 8 spiderlines
var defaultcolor="#F5F5F5"
// the width of the 8 spiderlines while highlighting textlinks (pixels)
var lineweighthighlight=50
// the width of the 8 spiderlines while NOT highlighting textlinks (pixels)
var lineweightnormal=1
///////////////////////////////////////////////////////////////////////////
// CONFIGURATION ENDS HERE
///////////////////////////////////////////////////////////////////////////
var distancetomouse=0
var mousepos_x=0
var mousepos_x=0
var marginleft=0
var margintop=0
var marginbottom=0
var marginright=0
var margincenterx
var margincentery
var mousepos_x=0
var mousepos_x=0
if (document.all&&window.print){
document.write('<div id="bodycontent" style="position:relative">')
}
function initiateanimation(){
marginbottom=document.body.clientHeight
marginright=document.body.clientWidth
margincenterx=Math.floor(marginright/2)
margincentery=Math.floor(marginbottom/2)
rectangulartopleft.to=marginleft+","+margintop
rectangulartopright.to=marginright+","+margintop
rectangularbottomleft.to=marginleft+","+marginbottom
rectangularbottomright.to=marginright+","+marginbottom
rectangulartop.to=margincenterx+","+margintop
rectangularright.to=marginright+","+margincentery
rectangularbottom.to=margincenterx+","+marginbottom
rectangularleft.to=marginleft+","+margincentery
rectangulartopleft.strokecolor=defaultcolor
rectangulartopright.strokecolor=defaultcolor
rectangularbottomleft.strokecolor=defaultcolor
rectangularbottomright.strokecolor=defaultcolor
rectangulartop.strokecolor=defaultcolor
rectangularright.strokecolor=defaultcolor
rectangularbottom.strokecolor=defaultcolor
rectangularleft.strokecolor=defaultcolor
}
function msover(thiscolorhighlight){
if(document.all&&window.print){
rectangulartopleft.strokecolor=thiscolorhighlight
rectangulartopright.strokecolor=thiscolorhighlight
rectangularbottomleft.strokecolor=thiscolorhighlight
rectangularbottomright.strokecolor=thiscolorhighlight
rectangulartop.strokecolor=thiscolorhighlight
rectangularright.strokecolor=thiscolorhighlight
rectangularbottom.strokecolor=thiscolorhighlight
rectangularleft.strokecolor=thiscolorhighlight
rectangulartopleft.strokeweight=lineweighthighlight
rectangulartopright.strokeweight=lineweighthighlight
rectangularbottomleft.strokeweight=lineweighthighlight
rectangularbottomright.strokeweight=lineweighthighlight
rectangulartop.strokeweight=lineweighthighlight
rectangularright.strokeweight=lineweighthighlight
rectangularbottom.strokeweight=lineweighthighlight
rectangularleft.strokeweight=lineweighthighlight
}
}
function msout(){
if(document.all&&window.print){
rectangulartopleft.strokecolor=defaultcolor
rectangulartopright.strokecolor=defaultcolor
rectangularbottomleft.strokecolor=defaultcolor
rectangularbottomright.strokecolor=defaultcolor
rectangulartop.strokecolor=defaultcolor
rectangularright.strokecolor=defaultcolor
rectangularbottom.strokecolor=defaultcolor
rectangularleft.strokecolor=defaultcolor
rectangulartopleft.strokeweight=lineweightnormal
rectangulartopright.strokeweight=lineweightnormal
rectangularbottomleft.strokeweight=lineweightnormal
rectangularbottomright.strokeweight=lineweightnormal
rectangulartop.strokeweight=lineweightnormal
rectangularright.strokeweight=lineweightnormal
rectangularbottom.strokeweight=lineweightnormal
rectangularleft.strokeweight=lineweightnormal
}
}
function momouse(){
if(document.all&&window.print){
mousepos_x=document.body.scrollLeft+event.clientX
mousepos_y=document.body.scrollTop+event.clientY
rectangulartopleft.from=mousepos_x+","+mousepos_y
rectangulartopright.from=mousepos_x+","+mousepos_y
rectangularbottomleft.from=mousepos_x+","+mousepos_y
rectangularbottomright.from=mousepos_x+","+mousepos_y
rectangulartop.from=mousepos_x+","+mousepos_y
rectangularright.from=mousepos_x+","+mousepos_y
rectangularbottom.from=mousepos_x+","+mousepos_y
rectangularleft.from=mousepos_x+","+mousepos_y
}
}
if(document.all&&window.print){
code="<v:line id=rectangulartopleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangulartopright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularbottomleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularbottomright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangulartop style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularbottom style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
document.body.insertAdjacentHTML("afterBegin",code)
document.onmousemove=momouse
window.onload=initiateanimation
}
</SCRIPT>
שיר ברקע
<EMBED src="linkinpark.mp3" type="audio/wav" hidden=true autostart=true loop=false width=1 height=1> </EMBED>
חייב ללחוץ על באנר כדי להיכנס לאתר
<FONT color=#000000><script language="javascript">
/*
Copyright © superpower.coo.co.il
More Free Scripts (superpower.coo.co.il)
*/
var clickme;
function chack(){
clickme="ok";
}
function send(){
if(clickme!="ok"){
alert("בבקשה לחץ קודם על הבאנר");
return false;
}
else if(clickme=="ok"){
return true;
}
}
</script>
<a href="http://superpower.coo.co.il" target=_blank><img src="banner5.gif" onclick="chack()"></a><p>
<a href="http://superpower.coo.co.il" target=_blank onclick="return send()"><b>לחץ כאן לכניסה לאתר</b></a></FONT>
פינת הד"שים
<marquee direction="right" bgcolor="#000099" scrolldelay="80" onMouseOut=this.start() onMouseOver=this.stop() scrollamount="3" style="font-weight: bold; color: #000099; position: relative; border-left-style:outset; border-left-width:2px; border-right-style:solid; border-right-width:2px; padding-left:15px; padding-right:2px; padding-top:6px; padding-bottom:1px; background-image:url('images/skins/10_bar_bk.gif'); border-top-width:1px; border-bottom-width:1px" > <font size=2 color=#FF0000 face=david>כאן כתוב את הד"שים</font></marquee>
סקריפטים לעכבר:
אפקט של פנס מעל תמונה [הצג] אפקט של כוונת [הצג] אפקט עיינים עוקבות [הצג] הזזת תמונה עם העכבר [הצג] טקסט מסתובב סביב העכבר [הצג] טקסט עוקב אחרי העכבר [הצג] כדורים כחולים עוקבים [הצג] כוכבים רוקדים סביב העכבר [הצג] סופר כדור [הצג] שעון אנלוגי עוקב [הצג] כוכבים מסתובבים סביב העכבר [הצג]
סקריפטים לרקע:
בועות סבון [הצג] ברקים [הצג] פרפרים עפים [הצג] מטוסים עפים [הצג] גשם ברקע [הצג] דף נפתח בחלקים [הצג] זיקוקים ברקע [הצג] כוכבים זזים [הצג] מסגרת צבעונית [הצג] צבע רקע מתחלף עם כפתור זז [הצג] עלי שלכת [הצג] קווים חוצים לרוחב [הצג] שינוי צבע רקע בכניסה [הצג] אפקט של רוחות רפאים [הצג] שלג ברקע [הצג]
סקריפטים לטקסט:
אותיות עפות [הצג] אפקט המטריקס [הצג] גדלים שונים [הצג] טקסט בנאון [הצג] טקסט בשוק [הצג] טקסט בתלת מימד [הצג] טקסט גדל וצבעוני [הצג] טקסט מסולסל [הצג] טקסט מתעופף במסך [הצג] טקסט מתפתל [הצג] טקסט נמרח [הצג] טקסט רועד [הצג] טקסט ציבעוני מהבהב [הצג] רכבת הרים [הצג] טקסט נופל [הצג]
סקריפטים לתמונות:
אור חזק מעל תמונה [הצג] אפקט לחיצה [הצג] אפקט מעבר בין תמונות [הצג] אפקט פילטר מעל תמונה [הצג] אפקט פנס מעל תמונה [הצג] השתקפות תמונה במים [הצג] מעבר בין תמונות [הצג] תמונה נעה כלפי מעלה [הצג] תמונה נפתחת בפופ אפ מעל לינק [הצג] תמונה מתחלפת במעבר עדין [הצג] תמונות מתחלפות [הצג] תמונות נופלות [הצג] תמונות נעות [הצג]
סקריפטים למשחקים:
איקס עיגול [הצג] טטריס [הצג] בדיקת ריפלקסים [הצג] סנייק [הצג] פינג פונג [הצג] פירמידת עיגולים [הצג] קוביות [הצג]
רוצה לקבל שלום יפה?
<script language="JavaScript">
<!--
// This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function testIt() {
Response = "";
while ((Response == "") || (Response == "")){
Response=prompt ("?מה שמך", "");
}
if (Response != null)
alert ("שלום לך " + Response + "");
}
// End
// -->
</script>
<font face="Ms Sans Serif" size=2><input type="button" name="button1" value="רוצה לקבל שלום יפה? לחץ כאן" onclick="testIt()">
</body>
</html>
</body>
</html>
</body>
</html>
</body>
</html>
</body>
</html>
הודעה בפתיחת האתר <SCRIPT LANGUAGE="JavaScript">
alert(" סקריפי")
</SCRIPT>
חוסם לחצן ימני בעכבר
<script language="Javascript1.2">
<!--
message = "מהאתר שלי לא מעתיקים!";
bV = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"
function nrc(e) {
if (bNS && e.which > 1){
alert(message)
return false
} else if (bIE && (event.button >1)) {
alert(message)
return false;
}
}
document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;
//-->
</script>
הרעדת מסך
<P align=center><INPUT onclick=shake(4) type=button value="לחץ להרעיד מסך"></P>
<SCRIPT language=JavaScript1.2><!--
netscape = (navigator.appName == "Netscape");
n4 = netscape && (parseInt(navigator.appVersion) >= 4);
explorer = (navigator.appName == "Microsoft Internet Explorer");
ie4 = explorer && (parseInt(navigator.appVersion) >= 4);
function shake(n)
{
if (n4 || ie4)
{
for (i = 10; i > 0; i--)
{
for (j = n; j > 0; j--)
{
self.moveBy(0,i);
self.moveBy(i,0);
self.moveBy(0,-i);
self.moveBy(-i,0);
}
}
}
}
// --></SCRIPT>
הוספה למועדפים
<script language="JavaScript1.2">
<!--
var bookmarkurl="http://www.scripi.tipo.co.il"
var bookmarktitle="סקריפי"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
-->
</script>
<a href="javascript:addbookmark()">הוסף למועדפים</a>
הפיכת העמוד לדף בית
<a style="cursor:hand" HREF onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.scripi.tipo.co.il);">
הפוך לדף הבית</a>
כמה פעמים היית באתר
<p align="center"><font color="#000000" size="2"
face="Arial (Hebrew)"><strong>נכנסת לאתר הזה כבר<br>
<script language="JavaScript"><!--
var caution = false
function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "")
if (!caution || (name + "=" + escape(value)).length <= 4000)
document.cookie = curCookie
else
if (confirm("Cookie exceeds 4KB and will be cut!"))
document.cookie = curCookie
}
function getCookie(name) {
var prefix = name + "="
var cookieStartIndex = document.cookie.indexOf(prefix)
if (cookieStartIndex == -1)
return null
var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex +
prefix.length)
if (cookieEndIndex == -1)
cookieEndIndex = document.cookie.length
return unescape(document.cookie.substring(cookieStartIndex +
prefix.length, cookieEndIndex))
}
function deleteCookie(name, path, domain) {
if (getCookie(name)) {
document.cookie = name + "=" +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
"; expires=Thu, 01-Jan-70 00:00:01 GMT"
}
}
function fixDate(date) {
var base = new Date(0)
var skew = base.getTime()
if (skew > 0)
date.setTime(date.getTime() - skew)
}
var now = new Date()
fixDate(now)
now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000)
var visits = getCookie("counter")
if (!visits)
visits = 1
else
visits = parseInt(visits) + 1
setCookie("counter", visits, now)
document.write(visits)
// --></script><br>
פעמים</strong></font></p>
שינוי צבע פסי הגלילה (החצים שבצד)
<STYLE id=MSODAPDEFAULTS type=text/css rel="stylesheet">
body { scrollbar-face-color: #0176C4;
scrollbar-shadow-color: #CCffff; scrollbar-highlight-color: CCfffff;
scrollbar-3dlight-color: #CCffff; scrollbar-darkshadow-color: #CCCCCC;
scrollbar-track-color: CCfffff; scrollbar-arrow-color: #CCFFFF}
</STYLE> כדי לבחור צבעים אחרים לפסי הגלילה אתם צריכים לשנות את הקודים של הצבעים, שזה נראה לדוגמא כך: #0176C4 כדי לבחור צבעים אחרים אתם יכולים לקישור הזה > לחץ כאן < ולראות את טבלת הצבעים.
טקסט הולך אחריי העכבר
<html>
<style>.texttail {position:absolute; visibility:visible; font-family:monospace, san-serif; font-size:x-large; font-weight:bold; color:FF00FF;}</style>
</head>
<body bgcolor="#FFFFFF" link="#0000FF" vlink="#FF0000" text="#000000"
onLoad="window.onresize=new Function('if (navigator.appVersion==\'Netscape\') history.go(0);');">
<script language="javascript">
c20 = new config();
c20.prefix = "y_texttail20";
c20.updateDelay = 30;
c20.letterspacing = 22;
c20.fontsize = "x-large";
c20.fontweight = "bold";
c20.fontcolor = "FF00FF";
c20.message = " כאן תכתבו את הטקסט שתרצו שילך אחריי העכבר";
c20.message = c20.message.split("");
c20.howmany = parseInt(c20.message.length);
c20.oldx = new Array();
c20.oldy = new Array();
c20.uid = 20;
for (i=0;i<c20.howmany;i++) {
c20.oldx[i] = 0;
c20.oldy[i] = -50;
}
if (document.all) {
for (i=0;i<c20.howmany;i++) {
document.writeln("<span id=\"" + c20.prefix + i + "\" class=\"texttail\" style=\"left:0; top:-50;\">" + c20.message[i] + "</span>\n\n");
layers[c20.prefix + i] = document.all[c20.prefix + i];
}
} else if (document.layers) {
for (i=0;i<c20.howmany;i++) {
document.writeln("<layer id=\"" + c20.prefix + i + "\" left=0 top=\"-50\"><span class=\"texttail\">" + c20.message[i] + "</span></layer>\n\n");
layers[c20.prefix + i] = document.layers[c20.prefix + i];
}
}
function updateTextTail(c) {
for (i=c.howmany-1;i>0;i--) {
c.oldx[i] = c.oldx[i-1] + c.letterspacing;
c.oldy[i] = c.oldy[i-1];
}
c.oldx[0] = cursorX + c.letterspacing;
c.oldy[0] = cursorY;
for (i=0;i<c.howmany;i++) {
if (c.oldx[i] >= getViewWidth() - 30) {
c.oldx[i] = getViewWidth() - 30;
setVisible(c.prefix + i, 0);
} else { setVisible(c.prefix + i, 1); }
moveLayer(c.prefix + i, c.oldx[i], c.oldy[i]);
}
setTimeout("updateTextTail(c" + c.uid + ")", c.updateDelay);
}
if (c20.message != "") {
captureXY();
updateTextTail(c20);
}
</script>
</body>
</html>
<!-- text below generated by server. PLEASE REMOVE --></object></layer></div></span></style></noscript></table></script></applet>
מצב הICQ שלי
<img src="http://wwp.icq.com/scripts/online.dll?icq=מספר האיסיקיו שלכם&img=2">
ברכה לפי שעות היום
<SCRIPT LANGUAGE="JavaScript">
<!--
currentTime = new Date();
if (currentTime.getHours() < 12)
document.write("<b><u>בוקר טוב</u></b>");
else if (currentTime.getHours() < 16)
document.write("<b><u>צהריים טובים</u></b>");
else if (currentTime.getHours() < 18)
document.write("<b><u>אחר הצהריים טובים</u></b>");
else if (currentTime.getHours() < 22)
document.write("<b><u>ערב טוב</u></b>");
else
document.write("<b><u>לילה טוב</u></b>");
//-->
</SCRIPT>
כל מנועי החיפוש
<SCRIPT LANGUAGE="JavaScript">
<!--
currentTime = new Date();
if (currentTime.getHours() < 12)
document.write("<b><u>בוקר טוב</u></b>");
else if (currentTime.getHours() < 16)
document.write("<b><u>צהריים טובים</u></b>");
else if (currentTime.getHours() < 18)
document.write("<b><u>אחר הצהריים טובים</u></b>");
else if (currentTime.getHours() < 22)
document.write("<b><u>ערב טוב</u></b>");
else
document.write("<b><u>לילה טוב</u></b>");
//-->
</SCRIPT>
נגד גניבות - אי אפשר לסמן
<script language="JavaScript1.2">
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
מילים בתוך מלבן שחור
נגד גניבות - אי אפשר לסמן
<script language="JavaScript1.2">
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
סקרפטים מספר 3
הזהרה
<div align="center">
<form>
<input type="button" value="Click here to be alerted"
onClick='alert("You have been alerted.")'>
</form>
</div>
</body>
</html>
</body>
</html>
הרזולוציה שלכם
<script language="JavaScript1.2">
<!-- Begin
var bestwidth = 600;
var bestheight = 800;
if (screen.width != bestwidth || screen.height != bestheight) {
msg = "This site looks best when viewed when your screen "
+ "is set to a " + bestwidth + "x" + bestheight + " resolution, "
+ "but your screen resolution is " + screen.width + "x"
+ screen.height + ". Please change your screen resolution "
+ "to best view the site, if possible. Thanks!";
document.write(msg);
}
// End -->
</script>
כפתור הבהוב העמוד
<head>
<script language="JavaScript">
<!-- Begin
function blinkit(){
intrvl=0;
for(nTimes=0;nTimes<3;nTimes++){
intrvl += 200;
setTimeout("document.bgColor='#0000FF';",intrvl);
intrvl += 200;
setTimeout("document.bgColor='#FFFFFF';",intrvl);
}
}
// End -->
</script>
</head>
<body>
<div align="center">
<form>
<input type="button" value="Blink" onClick="blinkit()">
</form>
</div>
שעון ותאריך
<div align="center">
<script language="JavaScript">
<!-- Begin
Stamp = new Date();
document.write('<font size="2" face="Arial"><B>' + (Stamp.getMonth() + 1) +"/"+Stamp.getDate()+ "/"+Stamp.getYear() + '</B></font><BR>');
var Hours;
var Mins;
var Time;
Hours = Stamp.getHours();
if (Hours >= 12) {
Time = " P.M.";
}
else {
Time = " A.M.";
}
if (Hours > 12) {
Hours -= 12;
}
if (Hours == 0) {
Hours = 12;
}
Mins = Stamp.getMinutes();
if (Mins < 10) {
Mins = "0" + Mins;
}
document.write('<font size="2" face="Arial"><B>' + Hours + ":" + Mins + Time + '</B></font>');
// End -->
</script>
</div>
מרעיד מסך
<head>
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<script language="JavaScript1.2">
<!-- Begin
function shake(n) {
if (parent.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
}
}
}
}
// End -->
</script>
</head>
<body>
<div align="center">
<form>
<input type="button" onClick="shake(2)" value="Shake Screen">
</form>
</div>
מחשבון
<script language="JavaScript">
function compute(obj)
{obj.expr.value = eval(obj.expr.value)}
var one = '1'
var two = '2'
var three = '3'
var four = '4'
var five = '5'
var six = '6'
var seven = '7'
var eight = '8'
var nine = '9'
var zero = '0'
var plus = '+'
var minus = '-'
var multiply = '*'
var divide = '/'
var decimal = '.'
function enter(obj, string)
{obj.expr.value += string}
function clear(obj)
{obj.expr.value = ''}
</script> </p>
<form name="calc">
<div align="center"><center><table border="1"
bgcolor="#004B97" bordercolor="#C3FADA">
<TBODY> <tr>
<td colspan="4"><p align="center"><input type="text"
size="30" style="background-color: #fcffff; color: #000000;" name="expr" action="compute(this.form)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 7 " onclick="enter(this.form, seven)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 8 " onclick="enter(this.form, eight)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 9 " onclick="enter(this.form, nine)"> </p>
</td>
<td><p align="center"><input type="button"
value=" / " onclick="enter(this.form, divide)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 4 " onclick="enter(this.form, four)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 5 " onclick="enter(this.form, five)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 6 " onclick="enter(this.form, six)"> </p>
</td>
<td><p align="center"><input type="button"
value=" x " onclick="enter(this.form, multiply)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 1 " onclick="enter(this.form, one)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 2 " onclick="enter(this.form, two)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 3 " onclick="enter(this.form, three)"> </p>
</td>
<td><p align="center"><input type="button"
value=" - " onclick="enter(this.form, minus)"> </p>
</td>
</tr>
<tr>
<td colspan="2"><p align="center"><input
type="button" value=" 0 "
onclick="enter(this.form, zero)"> </p>
</td>
<td><p align="center"><input type="button"
value=" . " onclick="enter(this.form, decimal)"> </p>
</td>
<td><p align="center"><input type="button"
value=" + " onclick="enter(this.form, plus)"> </p>
</td>
</tr>
<tr>
<td colspan="2"><p align="center"><input
type="button" value=" = "
onclick="compute(this.form)"> </p>
</td>
<td colspan="2"><p align="center"><font face="Ms Sans Serif">
<input type="reset"
value=" נקה " onclick="clear(this.form)"></font></p>
</td>
</tr>
</TBODY> </table>
</center></div>
</form>
שורה מתחלפת
<script language="JavaScript">
<!---
var CurrentMsg = 'hello ';
function update(msg) {
var pad_str="";
n = msg.length;
if(n<72) {
pad = (73-n)/2;
for(var i=0; i<pad; i++) {
pad_str+=" ";
}
}
CurrentMsg = pad_str + msg;
document.messages.field.value = CurrentMsg;clearTimeout(timer);
timer = setTimeout("idleMsg()",1500);
}
function MakeArray(n) {
this.length=n;
for(var i = 1; i<= n; i++) {
this[i] = "";
}
return(this);
}
var index = 1;
var notice_num = 9;
var notices = new MakeArray(notice_num);
notices[1] = " here we start "
notices[2] = "www.yo-yo.up.co.il"
notices[3] = "wwwwhhhhatttt"
notices[4] = " this is a nice script"
notices[5] = " bla bla bla "
notices[6] = " www.topsites.coo.co.il"
notices[7] = " 121212"
notices[8] = " www.yo-yo.up.co.il "
var timer = setTimeout('idleMsg()',1500);
function nochange() {
document.messages.field.value = CurrentMsg;
}
function idleMsg() {
update(notices[index++]);
if(index>notice_num) {
index=1;
}
}
//-->
</script>
<form name="messages" onSubmit="return false">
<input type="text" name="field" size=50 onFocus="self.status='This is a JavaScript information data field'; return true" onChange="nochange()">
העברה אוטומטית מאתר לאתר אחר
<META HTTP-EQUIV=REFRESH CONTENT="7;URL=http://www.yo-yo.up.co.il">
חסימת לחצן ימני
<script language="JavaScript">
<!--
function stopError() {
return true;
}
window.onerror = stopError;
// -->
</script>
<script language="JavaScript">
<!--
function openLoader( windowURL, windowName, windowFeatures ) {
return window.open( windowURL, windowName, windowFeatures ) ;
}
// -->
</script> <style> #ie5menu { position :
absolute; width : 150px; border : 2px solid black; background-color
: #cfffcf; font-family : Arial; line-height : 20px; cursor :
default; visibility : hidden; } .menuitems { padding-left : 15px;
padding-right : 15px; text-align : right; } </style> <script
language="JavaScript1.1">
<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
// End -->
</script> <script
language="JavaScript1.2">
function showmenuie5(){
ie5menu.style.left=document.body.scrollLeft+event.clientX
ie5menu.style.top=document.body.scrollTop+event.clientY
ie5menu.style.visibility="visible"
return false
}
function hidemenuie5(){
ie5menu.style.visibility="hidden"
}
function highlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="#000090"
event.srcElement.style.color="white"
if (display_url==1)
window.status=event.srcElement.url
}
}
function lowlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor=""
event.srcElement.style.color="#000090"
window.status=''
}
}
function jumptoie5(){
if (event.srcElement.className=="menuitems")
window.location=event.srcElement.url
}
</script> <font color="#000090" size="2"
face="Arial"><b><!--[if IE]>
<div id="ie5menu" onMouseover="highlightie5()" onMouseout="lowlightie5()" onClick="jumptoie5()">
<div class="menuitems" url="http://www.yo-yo.up.co.il" target="main">www.tool.up.co.il </div>
</div>
<![endif]--> <script language="JavaScript1.2">
document.oncontextmenu=showmenuie5
if (document.all&&window.print)
document.body.onclick=hidemenuie5
</script></b></font>
שורה קבועה בסטטוס בר
<script>
window.status= "www.yo-yo.up.co.il"
</script>
איך האתר ? כפתורים + תגובות
<table border=1 width=200 cellspacing=0 cellpadding=0 bordercolor=blue><tr><td align=center>
יו-יו הוא</td></tr><td align=right>
אתר מצוין<INPUT TYPE="radio" NAME="myradio" value="!תודה רבה" onClick="alert(value)"><br>
אתר נחמד<INPUT TYPE="radio" NAME="myradio" value="או קיי, אני אשתדל לשפר" onClick="alert(value)"><br>
דרוש שיפור<INPUT TYPE="radio" NAME="myradio" value=":-( ..חבל" onClick="alert(value)">
</td></tr></table>
תמונות מרחפות
<script language="JavaScript1.2">
var Ymax=8; //MAX # OF PIXEL STEPS IN THE "X" DIRECTION
var Xmax=8; //MAX # OF PIXEL STEPS IN THE "Y" DIRECTION
var Tmax=10000; //MAX # OF MILLISECONDS BETWEEN PARAMETER CHANGES
//FLOATING IMAGE URLS FOR EACH IMAGE. ADD OR DELETE ENTRIES. KEEP ELEMENT NUMERICAL ORDER STARTING WITH "0" !!
var floatimages=new Array();
floatimages[0]='cars.bmp';
floatimages[1]='buffy.bmp';
//*********DO NOT EDIT BELOW***********
var NS4 = (navigator.appName.indexOf("Netscape")>=0 && parseFloat(navigator.appVersion) >= 4 && parseFloat(navigator.appVersion) < 5)? true : false;
var IE4 = (document.all)? true : false;
var NS6 = (parseFloat(navigator.appVersion) >= 5 && navigator.appName.indexOf("Netscape")>=0 )? true: false;
var wind_w, wind_h, t='', IDs=new Array();
for(i=0; i<floatimages.length; i++){
t+=(NS4)?'<layer name="pic'+i+'" visibility="hide" width="10" height="10"><a href="javascript:hidebutterfly()">' : '<div id="pic'+i+'" style="position:absolute; visibility:hidden;width:10px; height:10px"><a href="javascript:hidebutterfly()">';
t+='<img src="'+floatimages[i]+'" name="p'+i+'" border="0">';
t+=(NS4)? '</a></layer>':'</a></div>';
}
document.write(t);
function moveimage(num){
if(getidleft(num)+IDs[num].W+IDs[num].Xstep >= wind_w+getscrollx())IDs[num].Xdir=false;
if(getidleft(num)-IDs[num].Xstep<=getscrollx())IDs[num].Xdir=true;
if(getidtop(num)+IDs[num].H+IDs[num].Ystep >= wind_h+getscrolly())IDs[num].Ydir=false;
if(getidtop(num)-IDs[num].Ystep<=getscrolly())IDs[num].Ydir=true;
moveidby(num, (IDs[num].Xdir)? IDs[num].Xstep : -IDs[num].Xstep , (IDs[num].Ydir)? IDs[num].Ystep: -IDs[num].Ystep);
}
function getnewprops(num){
IDs[num].Ydir=Math.floor(Math.random()*2)>0;
IDs[num].Xdir=Math.floor(Math.random()*2)>0;
IDs[num].Ystep=Math.ceil(Math.random()*Ymax);
IDs[num].Xstep=Math.ceil(Math.random()*Xmax)
setTimeout('getnewprops('+num+')', Math.floor(Math.random()*Tmax));
}
function getscrollx(){
if(NS4 || NS6)return window.pageXOffset;
if(IE4)return document.body.scrollLeft;
}
function getscrolly(){
if(NS4 || NS6)return window.pageYOffset;
if(IE4)return document.body.scrollTop;
}
function getid(name){
if(NS4)return document.layers[name];
if(IE4)return document.all[name];
if(NS6)return document.getElementById(name);
}
function moveidto(num,x,y){
if(NS4)IDs[num].moveTo(x,y);
if(IE4 || NS6){
IDs[num].style.left=x+'px';
IDs[num].style.top=y+'px';
}}
function getidleft(num){
if(NS4)return IDs[num].left;
if(IE4 || NS6)return parseInt(IDs[num].style.left);
}
function getidtop(num){
if(NS4)return IDs[num].top;
if(IE4 || NS6)return parseInt(IDs[num].style.top);
}
function moveidby(num,dx,dy){
if(NS4)IDs[num].moveBy(dx, dy);
if(IE4 || NS6){
IDs[num].style.left=(getidleft(num)+dx)+'px';
IDs[num].style.top=(getidtop(num)+dy)+'px';
}}
function getwindowwidth(){
if(NS4 || NS6)return window.innerWidth;
if(IE4)return document.body.clientWidth;
}
function getwindowheight(){
if(NS4 || NS6)return window.innerHeight;
if(IE4)return document.body.clientHeight;
}
function init(){
wind_w=getwindowwidth();
wind_h=getwindowheight();
for(i=0; i<floatimages.length; i++){
IDs[i]=getid('pic'+i);
if(NS4){
IDs[i].W=IDs[i].document.images["p"+i].width;
IDs[i].H=IDs[i].document.images["p"+i].height;
}
if(NS6 || IE4){
IDs[i].W=document.images["p"+i].width;
IDs[i].H=document.images["p"+i].height;
}
getnewprops(i);
moveidto(i , Math.floor(Math.random()*(wind_w-IDs[i].W)), Math.floor(Math.random()*(wind_h-IDs[i].H)));
if(NS4)IDs[i].visibility = "show";
if(IE4 || NS6)IDs[i].style.visibility = "visible";
startfly=setInterval('moveimage('+i+')',Math.floor(Math.random()*100)+100);
}}
function hidebutterfly(){
for(i=0; i<floatimages.length; i++){
if (IE4)
eval("document.all.pic"+i+".style.visibility='hidden'")
else if (NS6)
document.getElementById("pic"+i).style.visibility='hidden'
else if (NS4)
eval("document.pic"+i+".visibility='hide'")
clearInterval(startfly)
}
}
if (NS4||NS6||IE4){
window.onload=init;
window.onresize=function(){ wind_w=getwindowwidth(); wind_h=getwindowheight(); }
}
</script>
קוים נמשכים לעכבר (לא רקע לבן )
<STYLE>
v\:* {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<SCRIPT>
// the default color of the 8 spiderlines
var defaultcolor="#F5F5F5"
// the width of the 8 spiderlines while highlighting textlinks (pixels)
var lineweighthighlight=50
// the width of the 8 spiderlines while NOT highlighting textlinks (pixels)
var lineweightnormal=1
///////////////////////////////////////////////////////////////////////////
// CONFIGURATION ENDS HERE
///////////////////////////////////////////////////////////////////////////
var distancetomouse=0
var mousepos_x=0
var mousepos_x=0
var marginleft=0
var margintop=0
var marginbottom=0
var marginright=0
var margincenterx
var margincentery
var mousepos_x=0
var mousepos_x=0
if (document.all&&window.print){
document.write('<div id="bodycontent" style="position:relative">')
}
function initiateanimation(){
marginbottom=document.body.clientHeight
marginright=document.body.clientWidth
margincenterx=Math.floor(marginright/2)
margincentery=Math.floor(marginbottom/2)
rectangulartopleft.to=marginleft+","+margintop
rectangulartopright.to=marginright+","+margintop
rectangularbottomleft.to=marginleft+","+marginbottom
rectangularbottomright.to=marginright+","+marginbottom
rectangulartop.to=margincenterx+","+margintop
rectangularright.to=marginright+","+margincentery
rectangularbottom.to=margincenterx+","+marginbottom
rectangularleft.to=marginleft+","+margincentery
rectangulartopleft.strokecolor=defaultcolor
rectangulartopright.strokecolor=defaultcolor
rectangularbottomleft.strokecolor=defaultcolor
rectangularbottomright.strokecolor=defaultcolor
rectangulartop.strokecolor=defaultcolor
rectangularright.strokecolor=defaultcolor
rectangularbottom.strokecolor=defaultcolor
rectangularleft.strokecolor=defaultcolor
}
function msover(thiscolorhighlight){
if(document.all&&window.print){
rectangulartopleft.strokecolor=thiscolorhighlight
rectangulartopright.strokecolor=thiscolorhighlight
rectangularbottomleft.strokecolor=thiscolorhighlight
rectangularbottomright.strokecolor=thiscolorhighlight
rectangulartop.strokecolor=thiscolorhighlight
rectangularright.strokecolor=thiscolorhighlight
rectangularbottom.strokecolor=thiscolorhighlight
rectangularleft.strokecolor=thiscolorhighlight
rectangulartopleft.strokeweight=lineweighthighlight
rectangulartopright.strokeweight=lineweighthighlight
rectangularbottomleft.strokeweight=lineweighthighlight
rectangularbottomright.strokeweight=lineweighthighlight
rectangulartop.strokeweight=lineweighthighlight
rectangularright.strokeweight=lineweighthighlight
rectangularbottom.strokeweight=lineweighthighlight
rectangularleft.strokeweight=lineweighthighlight
}
}
function msout(){
if(document.all&&window.print){
rectangulartopleft.strokecolor=defaultcolor
rectangulartopright.strokecolor=defaultcolor
rectangularbottomleft.strokecolor=defaultcolor
rectangularbottomright.strokecolor=defaultcolor
rectangulartop.strokecolor=defaultcolor
rectangularright.strokecolor=defaultcolor
rectangularbottom.strokecolor=defaultcolor
rectangularleft.strokecolor=defaultcolor
rectangulartopleft.strokeweight=lineweightnormal
rectangulartopright.strokeweight=lineweightnormal
rectangularbottomleft.strokeweight=lineweightnormal
rectangularbottomright.strokeweight=lineweightnormal
rectangulartop.strokeweight=lineweightnormal
rectangularright.strokeweight=lineweightnormal
rectangularbottom.strokeweight=lineweightnormal
rectangularleft.strokeweight=lineweightnormal
}
}
function momouse(){
if(document.all&&window.print){
mousepos_x=document.body.scrollLeft+event.clientX
mousepos_y=document.body.scrollTop+event.clientY
rectangulartopleft.from=mousepos_x+","+mousepos_y
rectangulartopright.from=mousepos_x+","+mousepos_y
rectangularbottomleft.from=mousepos_x+","+mousepos_y
rectangularbottomright.from=mousepos_x+","+mousepos_y
rectangulartop.from=mousepos_x+","+mousepos_y
rectangularright.from=mousepos_x+","+mousepos_y
rectangularbottom.from=mousepos_x+","+mousepos_y
rectangularleft.from=mousepos_x+","+mousepos_y
}
}
if(document.all&&window.print){
code="<v:line id=rectangulartopleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangulartopright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularbottomleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularbottomright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangulartop style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularbottom style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
document.body.insertAdjacentHTML("afterBegin",code)
document.onmousemove=momouse
window.onload=initiateanimation
}
</SCRIPT>
שיר ברקע
<EMBED src="linkinpark.mp3" type="audio/wav" hidden=true autostart=true loop=false width=1 height=1> </EMBED>
חייב ללחוץ על באנר כדי להכנס לאתר
<FONT color=#000000><script language="javascript">
/*
Copyright © yo-yo.up.co.il
More Free Scripts (www.yo-yo.up.co.il)
*/
var clickme;
function chack(){
clickme="ok";
}
function send(){
if(clickme!="ok"){
alert("בבקשה לחץ קודם על הבאנר");
return false;
}
else if(clickme=="ok"){
return true;
}
}
</script>
<a href="http://www.yo-yo.up.co.il" target=_blank><img src="banner5.gif" onclick="chack()"></a><p>
<a href="http://www.yo-yo.co.il" target=_blank onclick="return send()"><b>לחץ כאן לכניסה לאתר</b></a></FONT>
איזור טקסט כמו אלה שכתוב בתוכם פה
<TEXTAREA cols=70 rows=5>
אינפורמציה מלאה על הגולש
<table border=10 bgcolor="#201030">
<td align=center nowrap><font color="#ffff90" size=2>:
סוג דפדפן ומערכת ההפעלה שלך
<hr width=610>
<Script Language="JavaScript">
<!--document.write(navigator.appName)
document.write(navigator.appVersion)//-->
</script>
<br>
<script>
document.write(screen.width + " x " + screen.height)
</script>
: הרזולוציה שלך היא
<br>
:ביקרת באתר זה
<SCRIPT LANGUAGE="JavaScript">
<!--
var caution = false
function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "")
if (!caution || (name + "=" + escape(value)).length <= 4000)
document.cookie = curCookie
else
if (confirm("Cookie exceeds 4KB and will be cut!"))
document.cookie = curCookie
}
function getCookie(name) {
var prefix = name + "="
var cookieStartIndex = document.cookie.indexOf(prefix)
if (cookieStartIndex == -1)
return null
var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex +
prefix.length)
if (cookieEndIndex == -1)
cookieEndIndex = document.cookie.length
return unescape(document.cookie.substring(cookieStartIndex +
prefix.length, cookieEndIndex))
}
function deleteCookie(name, path, domain) {
if (getCookie(name)) {
document.cookie = name + "=" +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
"; expires=Thu, 01-Jan-70 00:00:01 GMT"
}
}
function fixDate(date) {
var base = new Date(0)
var skew = base.getTime()
if (skew > 0)
date.setTime(date.getTime() - skew)
}
var now = new Date()
fixDate(now)
now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000)
var visits = getCookie("counter")
if (!visits)
visits = 1
else
visits = parseInt(visits) + 1
setCookie("counter", visits, now)
document.write(visits)
// -->
</SCRIPT>פעמיים
<br>
<SCRIPT LANGUAGE="JavaScript">
<!--
currentTime = new Date();
document.write(currentTime.getHours());
document.write(".");
document.write(currentTime.getMinutes());
document.write(".");
document.write(currentTime.getSeconds());
//-->
</SCRIPT>:
נכנסת לפה בדיוק בשעה
<br>
<SCRIPT LANGUAGE="javascript">
<!--
document.writeln('');
var times=history.length -1;
document.write('החלון הנוכחי פתח '+times+' -: דפים עד עכשיו');
//-->
</SCRIPT>
</td>
</TR>
</table>
מחשבון
<script language="JavaScript">
function compute(obj)
{obj.expr.value = eval(obj.expr.value)}
var one = '1'
var two = '2'
var three = '3'
var four = '4'
var five = '5'
var six = '6'
var seven = '7'
var eight = '8'
var nine = '9'
var zero = '0'
var plus = '+'
var minus = '-'
var multiply = '*'
var divide = '/'
var decimal = '.'
function enter(obj, string)
{obj.expr.value += string}
function clear(obj)
{obj.expr.value = ''}
</script> </p>
<form name="calc">
<div align="center"><center><table border="1"
bgcolor="#004B97" bordercolor="#C3FADA">
<TBODY> <tr>
<td colspan="4"><p align="center"><input type="text"
size="30" style="background-color: #fcffff; color: #000000;" name="expr" action="compute(this.form)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 7 " onclick="enter(this.form, seven)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 8 " onclick="enter(this.form, eight)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 9 " onclick="enter(this.form, nine)"> </p>
</td>
<td><p align="center"><input type="button"
value=" / " onclick="enter(this.form, divide)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 4 " onclick="enter(this.form, four)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 5 " onclick="enter(this.form, five)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 6 " onclick="enter(this.form, six)"> </p>
</td>
<td><p align="center"><input type="button"
value=" x " onclick="enter(this.form, multiply)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 1 " onclick="enter(this.form, one)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 2 " onclick="enter(this.form, two)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 3 " onclick="enter(this.form, three)"> </p>
</td>
<td><p align="center"><input type="button"
value=" - " onclick="enter(this.form, minus)"> </p>
</td>
</tr>
<tr>
<td colspan="2"><p align="center"><input
type="button" value=" 0 "
onclick="enter(this.form, zero)"> </p>
</td>
<td><p align="center"><input type="button"
value=" . " onclick="enter(this.form, decimal)"> </p>
</td>
<td><p align="center"><input type="button"
value=" + " onclick="enter(this.form, plus)"> </p>
</td>
</tr>
<tr>
<td colspan="2"><p align="center"><input
type="button" value=" = "
onclick="compute(this.form)"> </p>
</td>
<td colspan="2"><p align="center"><font face="Ms Sans Serif">
<input type="reset"
value=" נקה " onclick="clear(this.form)"></font></p>
</td>
</tr>
</TBODY> </table>
</center></div>
</form>
שורת הודעות מתחלפות... בשדה טקסט <script language="JavaScript">
<!---
var CurrentMsg = 'hello ';
function update(msg) {
var pad_str="";
n = msg.length;
if(n<72) {
pad = (73-n)/2;
for(var i=0; i<pad; i++) {
pad_str+=" ";
}
}
CurrentMsg = pad_str + msg;
document.messages.field.value = CurrentMsg;clearTimeout(timer);
timer = setTimeout("idleMsg()",1500);
}
function MakeArray(n) {
this.length=n;
for(var i = 1; i<= n; i++) {
this[i] = "";
}
return(this);
}
var index = 1;
var notice_num = 9;
var notices = new MakeArray(notice_num);
notices[1] = "נתרם על ידי האתר פומה";
notices[2] = "www.poma.coo.co.il";
notices[3] = "אל תשכחו דבר חשוב";
notices[4] = "netscape users will not see hebrew";
notices[5] = "אתם יכולים לכיון את המהירות";
notices[6] = "בפרמטר למטה..איפה שכתוב 1500";
notices[7] = "שיהיה לכם יום יפה";
notices[8] = "ביי";
var timer = setTimeout('idleMsg()',1500);
function nochange() {
document.messages.field.value = CurrentMsg;
}
function idleMsg() {
update(notices[index++]);
if(index>notice_num) {
index=1;
}
}
//-->
</script>
<form name="messages" onSubmit="return false">
<input type="text" name="field" size=50 onFocus="self.status='This is a JavaScript information data field'; return true" onChange="nochange()">
כפתור לפתיחת חלון על כל הדף
<script>
<!--
function fullwin(){
window.open("http://www.poma.coo.co.il","","fullscreen,scrollbars")
}
//-->
</script>
<form>
<input type="button" onClick="fullwin()" value="Open window">
</form>
הוספת האתר למועדפים
<table border=3 bgcolor="#c0ff00"><tr><td>
<script language="JavaScript1.2">
<!--
var bookmarkurl="http://www.poma.coo.co.il"
var bookmarktitle="פומה"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
-->
</script>
<a href="javascript:addbookmark()">הוסף אתר למועדפים</a>
</td></tr></table>
קבע כאתר בית
<table border=3 bgcolor="#c0ff00"><tr><td>
<a style="cursor:hand" HREF onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.poma.coo.co.il');">
!לחץ כאן להפוך את האתר לאתר בית שלך</a></td>
</tr></table>
וזה body
<div id="i1" class="intro"></div><div id="i2" class="intro"></div><div id="i3"
class="intro"></div><div id="i4" class="intro"></div><div id="i5" class="intro"></div><div
id="i6" class="intro"></div><div id="i7" class="intro"></div><div id="i8" class="intro"></div>
<script language="JavaScript1.2">
/*
Left-Right Stripy Curtain Script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more free DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
var speed=20
var temp=new Array()
var temp2=new Array()
if (document.layers){
for (i=1;i<=8;i++){
temp[i]=eval("document.i"+i+".clip")
temp2[i]=eval("document.i"+i)
temp[i].width=window.innerWidth
temp[i].height=window.innerHeight/8
temp2[i].top=(i-1)*temp[i].height
}
}
else if (document.all){
var clipright=document.body.clientWidth,clipleft=0
for (i=1;i<=8;i++){
temp[i]=eval("document.all.i"+i+".style")
temp[i].width=document.body.clientWidth
temp[i].height=document.body.offsetHeight/8
temp[i].top=(i-1)*parseInt(temp[i].height)
}
}
function openit(){
window.scrollTo(0,0)
if (document.layers){
for (i=1;i<=8;i=i+2)
temp[i].right-=speed
for (i=2;i<=8;i=i+2)
temp[i].left+=speed
if (temp[2].left>window.innerWidth)
clearInterval(stopit)
}
else if (document.all){
clipright-=speed
for (i=1;i<=8;i=i+2){
temp[i].clip="rect(0 "+clipright+" auto 0)"
}
clipleft+=speed
for (i=2;i<=8;i=i+2){
temp[i].clip="rect(0 auto auto "+clipleft+")"
}
if (clipright<=0)
clearInterval(stopit)
}
}
function gogo(){
stopit=setInterval("openit()",100)
}
gogo()
</script>
פסים חוצים לרוחב בכניסה לאתר להשים ב head
<style>
<!--
.intro{
position:absolute;
left:0;
top:0;
layer-background-color:blue;
background-color:blue;
border:0.1px solid blue
}
-->
</style>
כמה פעמיים הייתה באתר
<SCRIPT>
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}
function DeleteCookie (name) {
var exp = new Date();
exp.setTime (exp.getTime() - 1);
var cval = GetCookie (name);
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}
var expDays = 30;
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
function amt(){
var count = GetCookie('count')
if(count == null) {
SetCookie('count','1')
return 1
}
else {
var newcount = parseInt(count) + 1;
DeleteCookie('count')
SetCookie('count',newcount,exp)
return count
}
}
function getCookieVal(offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
</SCRIPT>
<SCRIPT>
document.write("ברוך הבא בפעם ה: <b><font color=red>" + amt() + "</b></font> לאתר")
</SCRIPT>
זיהוי רזולוציה, ואזהרה בהתאם
<script language="JavaScript1.2">
<!--
/*
Screen resolution detection and notification Script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
var correctwidth=800
var correctheight=600
if (screen.width!=correctwidth||screen.height!=correctheight)
document.write(" "+correctwidth+"*"+correctheight+" : הרזולוציה שלך היא<br>"+screen.width+"*"+screen.height+" : דף זה מומלץ לצפיה ברזולוציה של")
//-->
</script><p>
קישור בולט במעבר העכבר
<A HREF="http://www.itzik1.co.il"
onmouseover="style.fontWeight='bold'" onmouseout="style.fontWeight='normal'">Move
your cursor over this link.</a>
רוצה לקבל שלום יפה?
<script language="JavaScript">
<!--
// This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function testIt() {
Response = "";
while ((Response == "") || (Response == "")){
Response=prompt ("?מה שמך", "");
}
if (Response != null)
alert ("שלום לך " + Response + "");
}
// End
// -->
</script>
<font face="Ms Sans Serif" size=2><input type="button" name="button1" value="רוצה לקבל שלום יפה? לחץ כאן" onclick="testIt()">
</body>
</html>
</body>
</html>
</body>
</html>
</body>
</html>
</body>
</html>
הודעה בפתיחת האתר <SCRIPT LANGUAGE="JavaScript">
alert(" סקריפי")
</SCRIPT>
חוסם לחצן ימני בעכבר
<script language="Javascript1.2">
<!--
message = "מהאתר שלי לא מעתיקים!";
bV = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"
function nrc(e) {
if (bNS && e.which > 1){
alert(message)
return false
} else if (bIE && (event.button >1)) {
alert(message)
return false;
}
}
document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;
//-->
</script>
הרעדת מסך
<P align=center><INPUT onclick=shake(4) type=button value="לחץ להרעיד מסך"></P>
<SCRIPT language=JavaScript1.2><!--
netscape = (navigator.appName == "Netscape");
n4 = netscape && (parseInt(navigator.appVersion) >= 4);
explorer = (navigator.appName == "Microsoft Internet Explorer");
ie4 = explorer && (parseInt(navigator.appVersion) >= 4);
function shake(n)
{
if (n4 || ie4)
{
for (i = 10; i > 0; i--)
{
for (j = n; j > 0; j--)
{
self.moveBy(0,i);
self.moveBy(i,0);
self.moveBy(0,-i);
self.moveBy(-i,0);
}
}
}
}
// --></SCRIPT>
הוספה למועדפים
<script language="JavaScript1.2">
<!--
var bookmarkurl="http://www.scripi.tipo.co.il"
var bookmarktitle="סקריפי"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
-->
</script>
<a href="javascript:addbookmark()">הוסף למועדפים</a>
הפיכת העמוד לדף בית
<a style="cursor:hand" HREF onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.scripi.tipo.co.il);">
הפוך לדף הבית</a>
כמה פעמים היית באתר
<p align="center"><font color="#000000" size="2"
face="Arial (Hebrew)"><strong>נכנסת לאתר הזה כבר<br>
<script language="JavaScript"><!--
var caution = false
function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "")
if (!caution || (name + "=" + escape(value)).length <= 4000)
document.cookie = curCookie
else
if (confirm("Cookie exceeds 4KB and will be cut!"))
document.cookie = curCookie
}
function getCookie(name) {
var prefix = name + "="
var cookieStartIndex = document.cookie.indexOf(prefix)
if (cookieStartIndex == -1)
return null
var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex +
prefix.length)
if (cookieEndIndex == -1)
cookieEndIndex = document.cookie.length
return unescape(document.cookie.substring(cookieStartIndex +
prefix.length, cookieEndIndex))
}
function deleteCookie(name, path, domain) {
if (getCookie(name)) {
document.cookie = name + "=" +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
"; expires=Thu, 01-Jan-70 00:00:01 GMT"
}
}
function fixDate(date) {
var base = new Date(0)
var skew = base.getTime()
if (skew > 0)
date.setTime(date.getTime() - skew)
}
var now = new Date()
fixDate(now)
now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000)
var visits = getCookie("counter")
if (!visits)
visits = 1
else
visits = parseInt(visits) + 1
setCookie("counter", visits, now)
document.write(visits)
// --></script><br>
פעמים</strong></font></p>
שינוי צבע פסי הגלילה (החצים שבצד)
<STYLE id=MSODAPDEFAULTS type=text/css rel="stylesheet">
body { scrollbar-face-color: #0176C4;
scrollbar-shadow-color: #CCffff; scrollbar-highlight-color: CCfffff;
scrollbar-3dlight-color: #CCffff; scrollbar-darkshadow-color: #CCCCCC;
scrollbar-track-color: CCfffff; scrollbar-arrow-color: #CCFFFF}
</STYLE> כדי לבחור צבעים אחרים לפסי הגלילה אתם צריכים לשנות את הקודים של הצבעים, שזה נראה לדוגמא כך: #0176C4 כדי לבחור צבעים אחרים אתם יכולים לקישור הזה > לחץ כאן < ולראות את טבלת הצבעים.
טקסט הולך אחריי העכבר
<html>
<style>.texttail {position:absolute; visibility:visible; font-family:monospace, san-serif; font-size:x-large; font-weight:bold; color:FF00FF;}</style>
</head>
<body bgcolor="#FFFFFF" link="#0000FF" vlink="#FF0000" text="#000000"
onLoad="window.onresize=new Function('if (navigator.appVersion==\'Netscape\') history.go(0);');">
<script language="javascript">
c20 = new config();
c20.prefix = "y_texttail20";
c20.updateDelay = 30;
c20.letterspacing = 22;
c20.fontsize = "x-large";
c20.fontweight = "bold";
c20.fontcolor = "FF00FF";
c20.message = " כאן תכתבו את הטקסט שתרצו שילך אחריי העכבר";
c20.message = c20.message.split("");
c20.howmany = parseInt(c20.message.length);
c20.oldx = new Array();
c20.oldy = new Array();
c20.uid = 20;
for (i=0;i<c20.howmany;i++) {
c20.oldx[i] = 0;
c20.oldy[i] = -50;
}
if (document.all) {
for (i=0;i<c20.howmany;i++) {
document.writeln("<span id=\"" + c20.prefix + i + "\" class=\"texttail\" style=\"left:0; top:-50;\">" + c20.message[i] + "</span>\n\n");
layers[c20.prefix + i] = document.all[c20.prefix + i];
}
} else if (document.layers) {
for (i=0;i<c20.howmany;i++) {
document.writeln("<layer id=\"" + c20.prefix + i + "\" left=0 top=\"-50\"><span class=\"texttail\">" + c20.message[i] + "</span></layer>\n\n");
layers[c20.prefix + i] = document.layers[c20.prefix + i];
}
}
function updateTextTail(c) {
for (i=c.howmany-1;i>0;i--) {
c.oldx[i] = c.oldx[i-1] + c.letterspacing;
c.oldy[i] = c.oldy[i-1];
}
c.oldx[0] = cursorX + c.letterspacing;
c.oldy[0] = cursorY;
for (i=0;i<c.howmany;i++) {
if (c.oldx[i] >= getViewWidth() - 30) {
c.oldx[i] = getViewWidth() - 30;
setVisible(c.prefix + i, 0);
} else { setVisible(c.prefix + i, 1); }
moveLayer(c.prefix + i, c.oldx[i], c.oldy[i]);
}
setTimeout("updateTextTail(c" + c.uid + ")", c.updateDelay);
}
if (c20.message != "") {
captureXY();
updateTextTail(c20);
}
</script>
</body>
</html>
<!-- text below generated by server. PLEASE REMOVE --></object></layer></div></span></style></noscript></table></script></applet>
מצב הICQ שלי
<img src="http://wwp.icq.com/scripts/online.dll?icq=מספר האיסיקיו שלכם&img=2">
ברכה לפי שעות היום
<SCRIPT LANGUAGE="JavaScript">
<!--
currentTime = new Date();
if (currentTime.getHours() < 12)
document.write("<b><u>בוקר טוב</u></b>");
else if (currentTime.getHours() < 16)
document.write("<b><u>צהריים טובים</u></b>");
else if (currentTime.getHours() < 18)
document.write("<b><u>אחר הצהריים טובים</u></b>");
else if (currentTime.getHours() < 22)
document.write("<b><u>ערב טוב</u></b>");
else
document.write("<b><u>לילה טוב</u></b>");
//-->
</SCRIPT>
כל מנועי החיפוש
<SCRIPT LANGUAGE="JavaScript">
<!--
currentTime = new Date();
if (currentTime.getHours() < 12)
document.write("<b><u>בוקר טוב</u></b>");
else if (currentTime.getHours() < 16)
document.write("<b><u>צהריים טובים</u></b>");
else if (currentTime.getHours() < 18)
document.write("<b><u>אחר הצהריים טובים</u></b>");
else if (currentTime.getHours() < 22)
document.write("<b><u>ערב טוב</u></b>");
else
document.write("<b><u>לילה טוב</u></b>");
//-->
</SCRIPT>
נגד גניבות - אי אפשר לסמן
<script language="JavaScript1.2">
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
מילים בתוך מלבן שחור
נגד גניבות - אי אפשר לסמן
<script language="JavaScript1.2">
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
סקרפטים מספר 3
הזהרה
<div align="center">
<form>
<input type="button" value="Click here to be alerted"
onClick='alert("You have been alerted.")'>
</form>
</div>
</body>
</html>
</body>
</html>
הרזולוציה שלכם
<script language="JavaScript1.2">
<!-- Begin
var bestwidth = 600;
var bestheight = 800;
if (screen.width != bestwidth || screen.height != bestheight) {
msg = "This site looks best when viewed when your screen "
+ "is set to a " + bestwidth + "x" + bestheight + " resolution, "
+ "but your screen resolution is " + screen.width + "x"
+ screen.height + ". Please change your screen resolution "
+ "to best view the site, if possible. Thanks!";
document.write(msg);
}
// End -->
</script>
כפתור הבהוב העמוד
<head>
<script language="JavaScript">
<!-- Begin
function blinkit(){
intrvl=0;
for(nTimes=0;nTimes<3;nTimes++){
intrvl += 200;
setTimeout("document.bgColor='#0000FF';",intrvl);
intrvl += 200;
setTimeout("document.bgColor='#FFFFFF';",intrvl);
}
}
// End -->
</script>
</head>
<body>
<div align="center">
<form>
<input type="button" value="Blink" onClick="blinkit()">
</form>
</div>
שעון ותאריך
<div align="center">
<script language="JavaScript">
<!-- Begin
Stamp = new Date();
document.write('<font size="2" face="Arial"><B>' + (Stamp.getMonth() + 1) +"/"+Stamp.getDate()+ "/"+Stamp.getYear() + '</B></font><BR>');
var Hours;
var Mins;
var Time;
Hours = Stamp.getHours();
if (Hours >= 12) {
Time = " P.M.";
}
else {
Time = " A.M.";
}
if (Hours > 12) {
Hours -= 12;
}
if (Hours == 0) {
Hours = 12;
}
Mins = Stamp.getMinutes();
if (Mins < 10) {
Mins = "0" + Mins;
}
document.write('<font size="2" face="Arial"><B>' + Hours + ":" + Mins + Time + '</B></font>');
// End -->
</script>
</div>
מרעיד מסך
<head>
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<script language="JavaScript1.2">
<!-- Begin
function shake(n) {
if (parent.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
}
}
}
}
// End -->
</script>
</head>
<body>
<div align="center">
<form>
<input type="button" onClick="shake(2)" value="Shake Screen">
</form>
</div>
מחשבון
<script language="JavaScript">
function compute(obj)
{obj.expr.value = eval(obj.expr.value)}
var one = '1'
var two = '2'
var three = '3'
var four = '4'
var five = '5'
var six = '6'
var seven = '7'
var eight = '8'
var nine = '9'
var zero = '0'
var plus = '+'
var minus = '-'
var multiply = '*'
var divide = '/'
var decimal = '.'
function enter(obj, string)
{obj.expr.value += string}
function clear(obj)
{obj.expr.value = ''}
</script> </p>
<form name="calc">
<div align="center"><center><table border="1"
bgcolor="#004B97" bordercolor="#C3FADA">
<TBODY> <tr>
<td colspan="4"><p align="center"><input type="text"
size="30" style="background-color: #fcffff; color: #000000;" name="expr" action="compute(this.form)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 7 " onclick="enter(this.form, seven)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 8 " onclick="enter(this.form, eight)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 9 " onclick="enter(this.form, nine)"> </p>
</td>
<td><p align="center"><input type="button"
value=" / " onclick="enter(this.form, divide)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 4 " onclick="enter(this.form, four)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 5 " onclick="enter(this.form, five)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 6 " onclick="enter(this.form, six)"> </p>
</td>
<td><p align="center"><input type="button"
value=" x " onclick="enter(this.form, multiply)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 1 " onclick="enter(this.form, one)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 2 " onclick="enter(this.form, two)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 3 " onclick="enter(this.form, three)"> </p>
</td>
<td><p align="center"><input type="button"
value=" - " onclick="enter(this.form, minus)"> </p>
</td>
</tr>
<tr>
<td colspan="2"><p align="center"><input
type="button" value=" 0 "
onclick="enter(this.form, zero)"> </p>
</td>
<td><p align="center"><input type="button"
value=" . " onclick="enter(this.form, decimal)"> </p>
</td>
<td><p align="center"><input type="button"
value=" + " onclick="enter(this.form, plus)"> </p>
</td>
</tr>
<tr>
<td colspan="2"><p align="center"><input
type="button" value=" = "
onclick="compute(this.form)"> </p>
</td>
<td colspan="2"><p align="center"><font face="Ms Sans Serif">
<input type="reset"
value=" נקה " onclick="clear(this.form)"></font></p>
</td>
</tr>
</TBODY> </table>
</center></div>
</form>
שורה מתחלפת
<script language="JavaScript">
<!---
var CurrentMsg = 'hello ';
function update(msg) {
var pad_str="";
n = msg.length;
if(n<72) {
pad = (73-n)/2;
for(var i=0; i<pad; i++) {
pad_str+=" ";
}
}
CurrentMsg = pad_str + msg;
document.messages.field.value = CurrentMsg;clearTimeout(timer);
timer = setTimeout("idleMsg()",1500);
}
function MakeArray(n) {
this.length=n;
for(var i = 1; i<= n; i++) {
this[i] = "";
}
return(this);
}
var index = 1;
var notice_num = 9;
var notices = new MakeArray(notice_num);
notices[1] = " here we start "
notices[2] = "www.yo-yo.up.co.il"
notices[3] = "wwwwhhhhatttt"
notices[4] = " this is a nice script"
notices[5] = " bla bla bla "
notices[6] = " www.topsites.coo.co.il"
notices[7] = " 121212"
notices[8] = " www.yo-yo.up.co.il "
var timer = setTimeout('idleMsg()',1500);
function nochange() {
document.messages.field.value = CurrentMsg;
}
function idleMsg() {
update(notices[index++]);
if(index>notice_num) {
index=1;
}
}
//-->
</script>
<form name="messages" onSubmit="return false">
<input type="text" name="field" size=50 onFocus="self.status='This is a JavaScript information data field'; return true" onChange="nochange()">
העברה אוטומטית מאתר לאתר אחר
<META HTTP-EQUIV=REFRESH CONTENT="7;URL=http://www.yo-yo.up.co.il">
חסימת לחצן ימני
<script language="JavaScript">
<!--
function stopError() {
return true;
}
window.onerror = stopError;
// -->
</script>
<script language="JavaScript">
<!--
function openLoader( windowURL, windowName, windowFeatures ) {
return window.open( windowURL, windowName, windowFeatures ) ;
}
// -->
</script> <style> #ie5menu { position :
absolute; width : 150px; border : 2px solid black; background-color
: #cfffcf; font-family : Arial; line-height : 20px; cursor :
default; visibility : hidden; } .menuitems { padding-left : 15px;
padding-right : 15px; text-align : right; } </style> <script
language="JavaScript1.1">
<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
// End -->
</script> <script
language="JavaScript1.2">
function showmenuie5(){
ie5menu.style.left=document.body.scrollLeft+event.clientX
ie5menu.style.top=document.body.scrollTop+event.clientY
ie5menu.style.visibility="visible"
return false
}
function hidemenuie5(){
ie5menu.style.visibility="hidden"
}
function highlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="#000090"
event.srcElement.style.color="white"
if (display_url==1)
window.status=event.srcElement.url
}
}
function lowlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor=""
event.srcElement.style.color="#000090"
window.status=''
}
}
function jumptoie5(){
if (event.srcElement.className=="menuitems")
window.location=event.srcElement.url
}
</script> <font color="#000090" size="2"
face="Arial"><b><!--[if IE]>
<div id="ie5menu" onMouseover="highlightie5()" onMouseout="lowlightie5()" onClick="jumptoie5()">
<div class="menuitems" url="http://www.yo-yo.up.co.il" target="main">www.tool.up.co.il </div>
</div>
<![endif]--> <script language="JavaScript1.2">
document.oncontextmenu=showmenuie5
if (document.all&&window.print)
document.body.onclick=hidemenuie5
</script></b></font>
שורה קבועה בסטטוס בר
<script>
window.status= "www.yo-yo.up.co.il"
</script>
איך האתר ? כפתורים + תגובות
<table border=1 width=200 cellspacing=0 cellpadding=0 bordercolor=blue><tr><td align=center>
יו-יו הוא</td></tr><td align=right>
אתר מצוין<INPUT TYPE="radio" NAME="myradio" value="!תודה רבה" onClick="alert(value)"><br>
אתר נחמד<INPUT TYPE="radio" NAME="myradio" value="או קיי, אני אשתדל לשפר" onClick="alert(value)"><br>
דרוש שיפור<INPUT TYPE="radio" NAME="myradio" value=":-( ..חבל" onClick="alert(value)">
</td></tr></table>
תמונות מרחפות
<script language="JavaScript1.2">
var Ymax=8; //MAX # OF PIXEL STEPS IN THE "X" DIRECTION
var Xmax=8; //MAX # OF PIXEL STEPS IN THE "Y" DIRECTION
var Tmax=10000; //MAX # OF MILLISECONDS BETWEEN PARAMETER CHANGES
//FLOATING IMAGE URLS FOR EACH IMAGE. ADD OR DELETE ENTRIES. KEEP ELEMENT NUMERICAL ORDER STARTING WITH "0" !!
var floatimages=new Array();
floatimages[0]='cars.bmp';
floatimages[1]='buffy.bmp';
//*********DO NOT EDIT BELOW***********
var NS4 = (navigator.appName.indexOf("Netscape")>=0 && parseFloat(navigator.appVersion) >= 4 && parseFloat(navigator.appVersion) < 5)? true : false;
var IE4 = (document.all)? true : false;
var NS6 = (parseFloat(navigator.appVersion) >= 5 && navigator.appName.indexOf("Netscape")>=0 )? true: false;
var wind_w, wind_h, t='', IDs=new Array();
for(i=0; i<floatimages.length; i++){
t+=(NS4)?'<layer name="pic'+i+'" visibility="hide" width="10" height="10"><a href="javascript:hidebutterfly()">' : '<div id="pic'+i+'" style="position:absolute; visibility:hidden;width:10px; height:10px"><a href="javascript:hidebutterfly()">';
t+='<img src="'+floatimages[i]+'" name="p'+i+'" border="0">';
t+=(NS4)? '</a></layer>':'</a></div>';
}
document.write(t);
function moveimage(num){
if(getidleft(num)+IDs[num].W+IDs[num].Xstep >= wind_w+getscrollx())IDs[num].Xdir=false;
if(getidleft(num)-IDs[num].Xstep<=getscrollx())IDs[num].Xdir=true;
if(getidtop(num)+IDs[num].H+IDs[num].Ystep >= wind_h+getscrolly())IDs[num].Ydir=false;
if(getidtop(num)-IDs[num].Ystep<=getscrolly())IDs[num].Ydir=true;
moveidby(num, (IDs[num].Xdir)? IDs[num].Xstep : -IDs[num].Xstep , (IDs[num].Ydir)? IDs[num].Ystep: -IDs[num].Ystep);
}
function getnewprops(num){
IDs[num].Ydir=Math.floor(Math.random()*2)>0;
IDs[num].Xdir=Math.floor(Math.random()*2)>0;
IDs[num].Ystep=Math.ceil(Math.random()*Ymax);
IDs[num].Xstep=Math.ceil(Math.random()*Xmax)
setTimeout('getnewprops('+num+')', Math.floor(Math.random()*Tmax));
}
function getscrollx(){
if(NS4 || NS6)return window.pageXOffset;
if(IE4)return document.body.scrollLeft;
}
function getscrolly(){
if(NS4 || NS6)return window.pageYOffset;
if(IE4)return document.body.scrollTop;
}
function getid(name){
if(NS4)return document.layers[name];
if(IE4)return document.all[name];
if(NS6)return document.getElementById(name);
}
function moveidto(num,x,y){
if(NS4)IDs[num].moveTo(x,y);
if(IE4 || NS6){
IDs[num].style.left=x+'px';
IDs[num].style.top=y+'px';
}}
function getidleft(num){
if(NS4)return IDs[num].left;
if(IE4 || NS6)return parseInt(IDs[num].style.left);
}
function getidtop(num){
if(NS4)return IDs[num].top;
if(IE4 || NS6)return parseInt(IDs[num].style.top);
}
function moveidby(num,dx,dy){
if(NS4)IDs[num].moveBy(dx, dy);
if(IE4 || NS6){
IDs[num].style.left=(getidleft(num)+dx)+'px';
IDs[num].style.top=(getidtop(num)+dy)+'px';
}}
function getwindowwidth(){
if(NS4 || NS6)return window.innerWidth;
if(IE4)return document.body.clientWidth;
}
function getwindowheight(){
if(NS4 || NS6)return window.innerHeight;
if(IE4)return document.body.clientHeight;
}
function init(){
wind_w=getwindowwidth();
wind_h=getwindowheight();
for(i=0; i<floatimages.length; i++){
IDs[i]=getid('pic'+i);
if(NS4){
IDs[i].W=IDs[i].document.images["p"+i].width;
IDs[i].H=IDs[i].document.images["p"+i].height;
}
if(NS6 || IE4){
IDs[i].W=document.images["p"+i].width;
IDs[i].H=document.images["p"+i].height;
}
getnewprops(i);
moveidto(i , Math.floor(Math.random()*(wind_w-IDs[i].W)), Math.floor(Math.random()*(wind_h-IDs[i].H)));
if(NS4)IDs[i].visibility = "show";
if(IE4 || NS6)IDs[i].style.visibility = "visible";
startfly=setInterval('moveimage('+i+')',Math.floor(Math.random()*100)+100);
}}
function hidebutterfly(){
for(i=0; i<floatimages.length; i++){
if (IE4)
eval("document.all.pic"+i+".style.visibility='hidden'")
else if (NS6)
document.getElementById("pic"+i).style.visibility='hidden'
else if (NS4)
eval("document.pic"+i+".visibility='hide'")
clearInterval(startfly)
}
}
if (NS4||NS6||IE4){
window.onload=init;
window.onresize=function(){ wind_w=getwindowwidth(); wind_h=getwindowheight(); }
}
</script>
קוים נמשכים לעכבר (לא רקע לבן )
<STYLE>
v\:* {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<SCRIPT>
// the default color of the 8 spiderlines
var defaultcolor="#F5F5F5"
// the width of the 8 spiderlines while highlighting textlinks (pixels)
var lineweighthighlight=50
// the width of the 8 spiderlines while NOT highlighting textlinks (pixels)
var lineweightnormal=1
///////////////////////////////////////////////////////////////////////////
// CONFIGURATION ENDS HERE
///////////////////////////////////////////////////////////////////////////
var distancetomouse=0
var mousepos_x=0
var mousepos_x=0
var marginleft=0
var margintop=0
var marginbottom=0
var marginright=0
var margincenterx
var margincentery
var mousepos_x=0
var mousepos_x=0
if (document.all&&window.print){
document.write('<div id="bodycontent" style="position:relative">')
}
function initiateanimation(){
marginbottom=document.body.clientHeight
marginright=document.body.clientWidth
margincenterx=Math.floor(marginright/2)
margincentery=Math.floor(marginbottom/2)
rectangulartopleft.to=marginleft+","+margintop
rectangulartopright.to=marginright+","+margintop
rectangularbottomleft.to=marginleft+","+marginbottom
rectangularbottomright.to=marginright+","+marginbottom
rectangulartop.to=margincenterx+","+margintop
rectangularright.to=marginright+","+margincentery
rectangularbottom.to=margincenterx+","+marginbottom
rectangularleft.to=marginleft+","+margincentery
rectangulartopleft.strokecolor=defaultcolor
rectangulartopright.strokecolor=defaultcolor
rectangularbottomleft.strokecolor=defaultcolor
rectangularbottomright.strokecolor=defaultcolor
rectangulartop.strokecolor=defaultcolor
rectangularright.strokecolor=defaultcolor
rectangularbottom.strokecolor=defaultcolor
rectangularleft.strokecolor=defaultcolor
}
function msover(thiscolorhighlight){
if(document.all&&window.print){
rectangulartopleft.strokecolor=thiscolorhighlight
rectangulartopright.strokecolor=thiscolorhighlight
rectangularbottomleft.strokecolor=thiscolorhighlight
rectangularbottomright.strokecolor=thiscolorhighlight
rectangulartop.strokecolor=thiscolorhighlight
rectangularright.strokecolor=thiscolorhighlight
rectangularbottom.strokecolor=thiscolorhighlight
rectangularleft.strokecolor=thiscolorhighlight
rectangulartopleft.strokeweight=lineweighthighlight
rectangulartopright.strokeweight=lineweighthighlight
rectangularbottomleft.strokeweight=lineweighthighlight
rectangularbottomright.strokeweight=lineweighthighlight
rectangulartop.strokeweight=lineweighthighlight
rectangularright.strokeweight=lineweighthighlight
rectangularbottom.strokeweight=lineweighthighlight
rectangularleft.strokeweight=lineweighthighlight
}
}
function msout(){
if(document.all&&window.print){
rectangulartopleft.strokecolor=defaultcolor
rectangulartopright.strokecolor=defaultcolor
rectangularbottomleft.strokecolor=defaultcolor
rectangularbottomright.strokecolor=defaultcolor
rectangulartop.strokecolor=defaultcolor
rectangularright.strokecolor=defaultcolor
rectangularbottom.strokecolor=defaultcolor
rectangularleft.strokecolor=defaultcolor
rectangulartopleft.strokeweight=lineweightnormal
rectangulartopright.strokeweight=lineweightnormal
rectangularbottomleft.strokeweight=lineweightnormal
rectangularbottomright.strokeweight=lineweightnormal
rectangulartop.strokeweight=lineweightnormal
rectangularright.strokeweight=lineweightnormal
rectangularbottom.strokeweight=lineweightnormal
rectangularleft.strokeweight=lineweightnormal
}
}
function momouse(){
if(document.all&&window.print){
mousepos_x=document.body.scrollLeft+event.clientX
mousepos_y=document.body.scrollTop+event.clientY
rectangulartopleft.from=mousepos_x+","+mousepos_y
rectangulartopright.from=mousepos_x+","+mousepos_y
rectangularbottomleft.from=mousepos_x+","+mousepos_y
rectangularbottomright.from=mousepos_x+","+mousepos_y
rectangulartop.from=mousepos_x+","+mousepos_y
rectangularright.from=mousepos_x+","+mousepos_y
rectangularbottom.from=mousepos_x+","+mousepos_y
rectangularleft.from=mousepos_x+","+mousepos_y
}
}
if(document.all&&window.print){
code="<v:line id=rectangulartopleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangulartopright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularbottomleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularbottomright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangulartop style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularbottom style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
code+="<v:line id=rectangularleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>"
document.body.insertAdjacentHTML("afterBegin",code)
document.onmousemove=momouse
window.onload=initiateanimation
}
</SCRIPT>
שיר ברקע
<EMBED src="linkinpark.mp3" type="audio/wav" hidden=true autostart=true loop=false width=1 height=1> </EMBED>
חייב ללחוץ על באנר כדי להכנס לאתר
<FONT color=#000000><script language="javascript">
/*
Copyright © yo-yo.up.co.il
More Free Scripts (www.yo-yo.up.co.il)
*/
var clickme;
function chack(){
clickme="ok";
}
function send(){
if(clickme!="ok"){
alert("בבקשה לחץ קודם על הבאנר");
return false;
}
else if(clickme=="ok"){
return true;
}
}
</script>
<a href="http://www.yo-yo.up.co.il" target=_blank><img src="banner5.gif" onclick="chack()"></a><p>
<a href="http://www.yo-yo.co.il" target=_blank onclick="return send()"><b>לחץ כאן לכניסה לאתר</b></a></FONT>
איזור טקסט כמו אלה שכתוב בתוכם פה
<TEXTAREA cols=70 rows=5>
אינפורמציה מלאה על הגולש
<table border=10 bgcolor="#201030">
<td align=center nowrap><font color="#ffff90" size=2>:
סוג דפדפן ומערכת ההפעלה שלך
<hr width=610>
<Script Language="JavaScript">
<!--document.write(navigator.appName)
document.write(navigator.appVersion)//-->
</script>
<br>
<script>
document.write(screen.width + " x " + screen.height)
</script>
: הרזולוציה שלך היא
<br>
:ביקרת באתר זה
<SCRIPT LANGUAGE="JavaScript">
<!--
var caution = false
function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "")
if (!caution || (name + "=" + escape(value)).length <= 4000)
document.cookie = curCookie
else
if (confirm("Cookie exceeds 4KB and will be cut!"))
document.cookie = curCookie
}
function getCookie(name) {
var prefix = name + "="
var cookieStartIndex = document.cookie.indexOf(prefix)
if (cookieStartIndex == -1)
return null
var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex +
prefix.length)
if (cookieEndIndex == -1)
cookieEndIndex = document.cookie.length
return unescape(document.cookie.substring(cookieStartIndex +
prefix.length, cookieEndIndex))
}
function deleteCookie(name, path, domain) {
if (getCookie(name)) {
document.cookie = name + "=" +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
"; expires=Thu, 01-Jan-70 00:00:01 GMT"
}
}
function fixDate(date) {
var base = new Date(0)
var skew = base.getTime()
if (skew > 0)
date.setTime(date.getTime() - skew)
}
var now = new Date()
fixDate(now)
now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000)
var visits = getCookie("counter")
if (!visits)
visits = 1
else
visits = parseInt(visits) + 1
setCookie("counter", visits, now)
document.write(visits)
// -->
</SCRIPT>פעמיים
<br>
<SCRIPT LANGUAGE="JavaScript">
<!--
currentTime = new Date();
document.write(currentTime.getHours());
document.write(".");
document.write(currentTime.getMinutes());
document.write(".");
document.write(currentTime.getSeconds());
//-->
</SCRIPT>:
נכנסת לפה בדיוק בשעה
<br>
<SCRIPT LANGUAGE="javascript">
<!--
document.writeln('');
var times=history.length -1;
document.write('החלון הנוכחי פתח '+times+' -: דפים עד עכשיו');
//-->
</SCRIPT>
</td>
</TR>
</table>
מחשבון
<script language="JavaScript">
function compute(obj)
{obj.expr.value = eval(obj.expr.value)}
var one = '1'
var two = '2'
var three = '3'
var four = '4'
var five = '5'
var six = '6'
var seven = '7'
var eight = '8'
var nine = '9'
var zero = '0'
var plus = '+'
var minus = '-'
var multiply = '*'
var divide = '/'
var decimal = '.'
function enter(obj, string)
{obj.expr.value += string}
function clear(obj)
{obj.expr.value = ''}
</script> </p>
<form name="calc">
<div align="center"><center><table border="1"
bgcolor="#004B97" bordercolor="#C3FADA">
<TBODY> <tr>
<td colspan="4"><p align="center"><input type="text"
size="30" style="background-color: #fcffff; color: #000000;" name="expr" action="compute(this.form)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 7 " onclick="enter(this.form, seven)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 8 " onclick="enter(this.form, eight)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 9 " onclick="enter(this.form, nine)"> </p>
</td>
<td><p align="center"><input type="button"
value=" / " onclick="enter(this.form, divide)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 4 " onclick="enter(this.form, four)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 5 " onclick="enter(this.form, five)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 6 " onclick="enter(this.form, six)"> </p>
</td>
<td><p align="center"><input type="button"
value=" x " onclick="enter(this.form, multiply)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 1 " onclick="enter(this.form, one)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 2 " onclick="enter(this.form, two)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 3 " onclick="enter(this.form, three)"> </p>
</td>
<td><p align="center"><input type="button"
value=" - " onclick="enter(this.form, minus)"> </p>
</td>
</tr>
<tr>
<td colspan="2"><p align="center"><input
type="button" value=" 0 "
onclick="enter(this.form, zero)"> </p>
</td>
<td><p align="center"><input type="button"
value=" . " onclick="enter(this.form, decimal)"> </p>
</td>
<td><p align="center"><input type="button"
value=" + " onclick="enter(this.form, plus)"> </p>
</td>
</tr>
<tr>
<td colspan="2"><p align="center"><input
type="button" value=" = "
onclick="compute(this.form)"> </p>
</td>
<td colspan="2"><p align="center"><font face="Ms Sans Serif">
<input type="reset"
value=" נקה " onclick="clear(this.form)"></font></p>
</td>
</tr>
</TBODY> </table>
</center></div>
</form>
שורת הודעות מתחלפות... בשדה טקסט <script language="JavaScript">
<!---
var CurrentMsg = 'hello ';
function update(msg) {
var pad_str="";
n = msg.length;
if(n<72) {
pad = (73-n)/2;
for(var i=0; i<pad; i++) {
pad_str+=" ";
}
}
CurrentMsg = pad_str + msg;
document.messages.field.value = CurrentMsg;clearTimeout(timer);
timer = setTimeout("idleMsg()",1500);
}
function MakeArray(n) {
this.length=n;
for(var i = 1; i<= n; i++) {
this[i] = "";
}
return(this);
}
var index = 1;
var notice_num = 9;
var notices = new MakeArray(notice_num);
notices[1] = "נתרם על ידי האתר פומה";
notices[2] = "www.poma.coo.co.il";
notices[3] = "אל תשכחו דבר חשוב";
notices[4] = "netscape users will not see hebrew";
notices[5] = "אתם יכולים לכיון את המהירות";
notices[6] = "בפרמטר למטה..איפה שכתוב 1500";
notices[7] = "שיהיה לכם יום יפה";
notices[8] = "ביי";
var timer = setTimeout('idleMsg()',1500);
function nochange() {
document.messages.field.value = CurrentMsg;
}
function idleMsg() {
update(notices[index++]);
if(index>notice_num) {
index=1;
}
}
//-->
</script>
<form name="messages" onSubmit="return false">
<input type="text" name="field" size=50 onFocus="self.status='This is a JavaScript information data field'; return true" onChange="nochange()">
כפתור לפתיחת חלון על כל הדף
<script>
<!--
function fullwin(){
window.open("http://www.poma.coo.co.il","","fullscreen,scrollbars")
}
//-->
</script>
<form>
<input type="button" onClick="fullwin()" value="Open window">
</form>
הוספת האתר למועדפים
<table border=3 bgcolor="#c0ff00"><tr><td>
<script language="JavaScript1.2">
<!--
var bookmarkurl="http://www.poma.coo.co.il"
var bookmarktitle="פומה"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
-->
</script>
<a href="javascript:addbookmark()">הוסף אתר למועדפים</a>
</td></tr></table>
קבע כאתר בית
<table border=3 bgcolor="#c0ff00"><tr><td>
<a style="cursor:hand" HREF onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.poma.coo.co.il');">
!לחץ כאן להפוך את האתר לאתר בית שלך</a></td>
</tr></table>
וזה body
<div id="i1" class="intro"></div><div id="i2" class="intro"></div><div id="i3"
class="intro"></div><div id="i4" class="intro"></div><div id="i5" class="intro"></div><div
id="i6" class="intro"></div><div id="i7" class="intro"></div><div id="i8" class="intro"></div>
<script language="JavaScript1.2">
/*
Left-Right Stripy Curtain Script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more free DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
var speed=20
var temp=new Array()
var temp2=new Array()
if (document.layers){
for (i=1;i<=8;i++){
temp[i]=eval("document.i"+i+".clip")
temp2[i]=eval("document.i"+i)
temp[i].width=window.innerWidth
temp[i].height=window.innerHeight/8
temp2[i].top=(i-1)*temp[i].height
}
}
else if (document.all){
var clipright=document.body.clientWidth,clipleft=0
for (i=1;i<=8;i++){
temp[i]=eval("document.all.i"+i+".style")
temp[i].width=document.body.clientWidth
temp[i].height=document.body.offsetHeight/8
temp[i].top=(i-1)*parseInt(temp[i].height)
}
}
function openit(){
window.scrollTo(0,0)
if (document.layers){
for (i=1;i<=8;i=i+2)
temp[i].right-=speed
for (i=2;i<=8;i=i+2)
temp[i].left+=speed
if (temp[2].left>window.innerWidth)
clearInterval(stopit)
}
else if (document.all){
clipright-=speed
for (i=1;i<=8;i=i+2){
temp[i].clip="rect(0 "+clipright+" auto 0)"
}
clipleft+=speed
for (i=2;i<=8;i=i+2){
temp[i].clip="rect(0 auto auto "+clipleft+")"
}
if (clipright<=0)
clearInterval(stopit)
}
}
function gogo(){
stopit=setInterval("openit()",100)
}
gogo()
</script>
פסים חוצים לרוחב בכניסה לאתר להשים ב head
<style>
<!--
.intro{
position:absolute;
left:0;
top:0;
layer-background-color:blue;
background-color:blue;
border:0.1px solid blue
}
-->
</style>
כמה פעמיים הייתה באתר
<SCRIPT>
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}
function DeleteCookie (name) {
var exp = new Date();
exp.setTime (exp.getTime() - 1);
var cval = GetCookie (name);
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}
var expDays = 30;
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
function amt(){
var count = GetCookie('count')
if(count == null) {
SetCookie('count','1')
return 1
}
else {
var newcount = parseInt(count) + 1;
DeleteCookie('count')
SetCookie('count',newcount,exp)
return count
}
}
function getCookieVal(offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
</SCRIPT>
<SCRIPT>
document.write("ברוך הבא בפעם ה: <b><font color=red>" + amt() + "</b></font> לאתר")
</SCRIPT>
זיהוי רזולוציה, ואזהרה בהתאם
<script language="JavaScript1.2">
<!--
/*
Screen resolution detection and notification Script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
var correctwidth=800
var correctheight=600
if (screen.width!=correctwidth||screen.height!=correctheight)
document.write(" "+correctwidth+"*"+correctheight+" : הרזולוציה שלך היא<br>"+screen.width+"*"+screen.height+" : דף זה מומלץ לצפיה ברזולוציה של")
//-->
</script><p>
קישור בולט במעבר העכבר
<A HREF="http://www.itzik1.co.il"
onmouseover="style.fontWeight='bold'" onmouseout="style.fontWeight='normal'">Move
your cursor over this link.</a>
ממנהלת האתר:)