Какие вам нужны скрипты?
Находим скрипты
Сообщений 1 страница 23 из 23
Поделиться22009-12-15 16:11:14
Мне нужна таблица на форум)
Поделиться32009-12-15 16:12:30
<table width="100%" border="1"> <tr align="center"> <td>Ячейка1</td> <td>Ячейка2</td> </tr> <tr align="center"> <td colspan="2">Ячейка3</td> </tr> </table>
Поделиться42009-12-15 16:24:00
А как сделать что бы эта табличка была большой??
Отредактировано Яночка (2009-12-15 16:24:46)
Поделиться52009-12-15 16:29:12
Надо побольше писать или закажи другую табличку)))
Поделиться62009-12-15 16:36:04
Ysia
А ты не можешь дать мне скрипт снежинок?
Поделиться72009-12-15 16:37:11
Только каких?
Могу дать такие, что сугробы остаются на рабочем столе!
Поделиться82009-12-15 16:38:07
Вот которые у тебя на форуме скрипт для сайта)
Поделиться92009-12-15 16:40:34
Может другой? Вот попробуй:
<SCRIPT language=JavaScript>
Amount=20;
Image0=new Image();
Image0.src="http://fantasyflash.ru/script/web/image/sneg2.gif";
Image1=new Image();
Image1.src="http://fantasyflash.ru/script/web/image/sneg2.gif";
Image2=new Image();
Image2.src="http://fantasyflash.ru/script/web/image/sneg2.gif";
Image3=new Image();
Image3.src="http://fantasyflash.ru/script/web/image/sneg2.gif";
Image4=new Image();
Image4.src="http://fantasyflash.ru/script/web/image/sneg2.gif";
grphcs=new Array(5)
grphcs[0]="http://fantasyflash.ru/script/web/image/sneg2.gif"
grphcs[1]="http://fantasyflash.ru/script/web/image/sneg2.gif"
grphcs[2]="http://fantasyflash.ru/script/web/image/sneg2.gif"
grphcs[3]="http://fantasyflash.ru/script/web/image/sneg2.gif"
grphcs[4]="http://fantasyflash.ru/script/web/image/sneg2.gif"
grphcs[5]="http://fantasyflash.ru/script/web/image/sneg2.gif"
grphcs[6]="http://fantasyflash.ru/script/web/image/sneg2.gif"
Ypos=new Array();
Xpos=new Array();
Speed=new Array();
Step=new Array();
Cstep=new Array();
Ypos=new Array();
ns=(document.layers)?1:0;
if (ns){
for (i = 0; i < Amount; i++){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];
document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+rndPic+"></LAYER>");
}
}
else{
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i = 0; i < Amount; i++){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];//fantasyflash.ru
document.write('<img id="si" src="'+rndPic+'" style="position:absolute;top:0px;left:0px">');
}
document.write('</div></div>');
}
WinHeight=(document.layers)?window.innerHeight:window.document.body.clientHeight;
WinWidth=(document.layers)?window.innerWidth:window.document.body.clientWidth;
for (i=0; i < Amount; i++){
Ypos[i] = Math.round(Math.random()*WinHeight);
Xpos[i] = Math.round(Math.random()*WinWidth);
Speed[i]= Math.random()*3+2;
Cstep[i]=0;
Step[i]=Math.random()*0.1+0.05;
}
function fall(){
var WinHeight=(document.layers)?window.innerHeight:window.document.body.clientHeight;
var WinWidth=(document.layers)?window.innerWidth:window.document.body.clientWidth;
var hscrll=(document.layers)?window.pageYOffset:document.body.scrollTop;
var wscrll=(document.layers)?window.pageXOffset:document.body.scrollLeft;
for (i=0; i < Amount; i++){
sy = Speed[i]*Math.sin(90*Math.PI/180);
sx = Speed[i]*Math.cos(Cstep[i]);//osw
Ypos[i]+=sy;
Xpos[i]+=sx;
if (Ypos[i] > WinHeight){
Ypos[i]=-60;
Xpos[i]=Math.round(Math.random()*WinWidth);
Speed[i]=Math.random()*5+2;
}
if (ns){
document.layers['sn'+i].left=Xpos[i];
document.layers['sn'+i].top=Ypos[i]+hscrll;
}
else{
si[i].style.pixelLeft=Xpos[i];
si[i].style.pixelTop=Ypos[i]+hscrll;
}
Cstep[i]+=Step[i];
}
setTimeout('fall()',20);
}
</SCRIPT>Поделиться102009-12-15 16:48:00
<script language="JavaScript1.2">
grphcs=new Array(2)
Image0=new Image();
Image0.src=grphcs[0]="http://fantasyflash.ru/script/web/image/sneg1.gif";
Image1=new Image();
Image1.src=grphcs[1]="http://fantasyflash.ru/script/web/image/sneg1.gif";
Amount=25;
Ypos=new Array();
Xpos=new Array();
Speed=new Array();
Step=new Array();
Cstep=new Array();
ns=(document.layers)?1:0;
ns6=(document.getElementById&&!document.all)?1:0;
if (ns){
for (i = 0; i < Amount; i++){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];
document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+rndPic+"></LAYER>");
}
}
else{
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i = 0; i < Amount; i++){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];//osw
document.write('<img id="si'+i+'" src="'+rndPic+'" style="position:absolute;top:0px;left:0px">');
}
document.write('</div></div>');
}
WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;//fantasyflash.ru
for (i=0; i < Amount; i++){
Ypos[i] = Math.round(Math.random()*WinHeight);
Xpos[i] = Math.round(Math.random()*WinWidth);
Speed[i]= Math.random()*5+3;
Cstep[i]=0;
Step[i]=Math.random()*0.1+0.05;
}
function fall(){
var WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
var WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
var hscrll=(ns||ns6)?window.pageYOffset:document.body.scrollTop;
var wscrll=(ns||ns6)?window.pageXOffset:document.body.scrollLeft;
for (i=0; i < Amount; i++){
sy = Speed[i]*Math.sin(90*Math.PI/180);
sx = Speed[i]*Math.cos(Cstep[i]);
Ypos[i]+=sy;
Xpos[i]+=sx;
if (Ypos[i] > WinHeight){
Ypos[i]=-60;
Xpos[i]=Math.round(Math.random()*WinWidth);
Speed[i]=Math.random()*5+3;
}
if (ns){
document.layers['sn'+i].left=Xpos[i];
document.layers['sn'+i].top=Ypos[i]+hscrll;
}
else if (ns6){
document.getElementById("si"+i).style.left=Math.min(WinWidth,Xpos[i]);
document.getElementById("si"+i).style.top=Ypos[i]+hscrll;
}
else{
eval("document.all.si"+i).style.left=Xpos[i];
eval("document.all.si"+i).style.top=Ypos[i]+hscrll;
}
Cstep[i]+=Step[i];
}
setTimeout('fall()',20);
}
window.onload=fall
//-->
</script>Поделиться112009-12-15 16:48:05
Не получается)
Поделиться122009-12-15 16:55:17
Спасибо)
Поделиться132009-12-15 16:56:35
щас нормальный код дам! (таблицы)
Поделиться142009-12-15 16:58:52
<table width="100%" border="1"> <tr align="center"> <td><a target="_blank" href="http://www.radikal.ru"><img src="http://i047.radikal.ru/0912/fd/e8f5c0a21a15.gif" ></a></td> <td>Поздравляю с начтупающим 2009 годом</td> </tr> </table>
Поделиться152009-12-17 15:01:10
Мне нужна таблица из 5 колонок
Поделиться162009-12-17 15:04:35
такая пойдёт?
<table width="100%" border="1"> <tr align="center"> <td>Ячейка1</td> <td>Ячейка2</td> <td>Ячейка3</td> </tr> <tr align="center"> <td colspan="2">Ячейка4</td> </tr> <tr align="center"> <td colspan="2">Ячейка5</td> </tr> </table>
Поделиться172009-12-17 15:08:34
воо точто надо)спс
Поделиться182009-12-17 15:11:27
Я щас исправлю ошибку вот:
<table width="100%" border="1"> <tr align="center"> <td>Ячейка1</td> <td>Ячейка2</td> <td>Ячейка3</td> </tr> <tr align="center"> <td colspan="3">Ячейка4</td> </tr> <tr align="center"> <td colspan="3">Ячейка5</td> </tr> </table>
Поделиться212009-12-18 07:44:06
Что-бы я делала без тебя)))


