Forum www.forum.fora.pl Strona Główna

www.forum.fora.pl
Nieoficjalne forum pomocy serwisu fora.pl
 

Gwiazdki zamiast sniegu...
Idź do strony Poprzedni  1, 2
 
Napisz nowy temat   Odpowiedz do tematu    Forum www.forum.fora.pl Strona Główna -> Pomoc i pytania
Zobacz poprzedni temat :: Zobacz następny temat  
Autor Wiadomość
Martyn@
Nowicjusz
Nowicjusz



Dołączył: 03 Gru 2005
Posty: 35
Przeczytał: 0 tematów

Ostrzeżeń: 0/5

PostWysłany: Nie 20:52, 18 Gru 2005    Temat postu:

a ja jeszcze ponudze apropo tego skryptu na snieg czy moglby ktos zrobic zeby lecialo wiecej platlow tego sniegu
bardzo prosze Rolling Eyes


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
..::GoNzO::..
Nowicjusz
Nowicjusz



Dołączył: 15 Gru 2005
Posty: 37
Przeczytał: 0 tematów

Ostrzeżeń: 0/5
Skąd: Królewskie Miasto Kraków

PostWysłany: Pon 20:21, 19 Gru 2005    Temat postu:

Jeżeli już ktoś ma skrypta na spadające drzewka, lub gwiazdki to juz nic więcej nie bedzie "spadało"...... tak samo jeżeli ktoś ma śnieg to nie da sie zrobic żeby spadało coś innego razzem ze sniegiem. (to znaczy mozna zrobić taki skrypt żeby w jednym skrypcie były zawarte spadające choinki, płatki sniegu, i coś tam jeszcze ale to trzeba sie pomeczyc) A ilość płatków sniegu zmieniamy w tym miejscu(zreszta na forum tez to juz kilka razy było):




Trzeba znaleźć to miejsce i wpisac liczbe pałtków ktora chcemsz. Ale nie radze duzo bo forum bedzie powoli chodziło...

P.S Jeżeli jeszcze ktoś cos bedzie chciał to pisac... przezyje jakos te pytania w stylu: "a gdzie to wkleic...?" chociaz setki razy o takich żeczch było na forum to odpowiem jak ktos chce jakiegos skrypta to tez mówićSmile


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Forest
Aktywny amator
Aktywny amator



Dołączył: 29 Lis 2005
Posty: 83
Przeczytał: 0 tematów

Ostrzeżeń: 0/5
Skąd: z fotela

PostWysłany: Pon 23:32, 19 Gru 2005    Temat postu:

Gonzo thx fajnieze dales ten skrypt na snieg bo ten co niedawno byl temat o twarty slownik skryptow to na pol strony spadaly platki Smile Cool THX

Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Forest
Aktywny amator
Aktywny amator



Dołączył: 29 Lis 2005
Posty: 83
Przeczytał: 0 tematów

Ostrzeżeń: 0/5
Skąd: z fotela

PostWysłany: Pon 23:35, 19 Gru 2005    Temat postu:

Jesli ktos by mogl, mial czas to prosze o zapodanie skryptu zeby cos z tych obrazkow bylo przy kursorze myszki. Z gory THX

Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
..::GoNzO::..
Nowicjusz
Nowicjusz



Dołączył: 15 Gru 2005
Posty: 37
Przeczytał: 0 tematów

Ostrzeżeń: 0/5
Skąd: Królewskie Miasto Kraków

PostWysłany: Wto 10:38, 20 Gru 2005    Temat postu:

Nie bardzo rozumiem o jakie obrazki Ci chodzi?

Jeżeli chodzi o rzeczy przy kursorze to ja mam takie skrypty: Fajerwerki przy kursorze:


Kod:
<script>
var xLayerNo=0;



function xLayer(xHtml, x, y, w)

{

   if(x==null)x=0;

   if(y==null)y=0;

   if(w==null)w=100;



   if(document.layers)

   {

      this.layer=new Layer(w);

      this.layer.document.open();

      this.layer.document.write(xHtml);

      this.layer.document.close();

      this.layer.moveTo(x,y);

      this.images=this.layer.document.images;

/*** These used to be prototypes (like  IE ) but when NS (communicator) 4.7 ***/

/*** first loads up, for some reason the prototypes do not get assigned ***/

this.moveTo    = function(x,y)    { this.layer.moveTo(x,y); }

this.moveBy    = function(x,y)    { this.layer.moveBy(x,y); }

this.show      = function()    { this.layer.visibility = "show"; }

this.hide       = function()    { this.layer.visibility = "hide"; }

this.setzIndex   = function(z)   { this.layer.zIndex = z; }

this.setBgColor    = function(color) { this.layer.bgColor = color; }

this.setBgImage    = function(image) { this.layer.background.src = image; }

this.getX       = function()    { return this.layer.left; }

this.getY       = function()    { return this.layer.right; }

this.getWidth    = function()    { return this.layer.width; }

this.getHeight    = function()    { return this.layer.height; }

this.getStackingOrder = function()   { return this.layer.zIndex; }

this.isVisible    = function()    { return this.layer.visibility == "show"; }

this.setContent   = function(xHtml)

{

   this.layer.document.open();

   this.layer.document.write(xHtml);

   this.layer.document.close();

}

this.clip = function(x1,y1, x2,y2)

{

   this.layer.clip.top   =y1;

   this.layer.clip.left   =x1;

   this.layer.clip.bottom   =y2;

   this.layer.clip.right   =x2;

}



   }

   else

   if(document.all)

   {

      var xName="xLayer" + xLayerNo++;



      txt =   "<DIV ID='" + xName

         + "' STYLE=\"position:absolute;"

         + "left:"  + x + ";"

         + "top:"   + y + ";"

         + "width:" + w + ";"

         + "visibility:hidden\">"

         + xHtml

         + "</DIV>";

      document.body.insertAdjacentHTML("BeforeEnd",txt);

      this.content = document.all[xName];

      this.layer   = document.all[xName].style;

      this.images  = document.images;

   }

   return(this);

}



if(document.layers)

{

/**** START prototypes for NS ***/

/*** END NS ***/

}

else

if(document.all)

{

/*** START prototypes for IE ***/

xLayer.prototype.moveTo = function(x,y)

{

   this.layer.pixelLeft = x;

   this.layer.pixelTop = y;

}

xLayer.prototype.moveBy = function(x,y)

{

   this.layer.pixelLeft += x;

   this.layer.pixelTop += y;

}

xLayer.prototype.show      = function()    { this.layer.visibility = "visible"; }

xLayer.prototype.hide      = function()    { this.layer.visibility = "hidden"; }

xLayer.prototype.setzIndex   = function(z)   { this.layer.zIndex = z; }

xLayer.prototype.setBgColor   = function(color) { this.layer.backgroundColor = color; }

xLayer.prototype.setBgImage   = function(image) { this.layer.backgroundImage = image; }

xLayer.prototype.setContent   = function(xHtml)   { this.content.innerHTML=xHtml; }

xLayer.prototype.getX      = function()    { return this.layer.pixelLeft; }

xLayer.prototype.getY      = function()    { return this.layer.pixelRight; }

xLayer.prototype.getWidth   = function()    { return this.layer.pixelWidth; }

xLayer.prototype.getHeight   = function()    { return this.layer.pixelHeight; }

xLayer.prototype.getStackingOrder = function()   { return this.layer.zIndex; }

xLayer.prototype.isVisible   = function()   { return this.layer.visibility == "visible"; }

xLayer.prototype.clip      = function(x1,y1, x2,y2)

{

   this.layer.clip="rect("+y1+" "+x2+" "+y2+" "+x1+")";

   this.layer.pixelWidth=x2;

   this.layer.pixelHeight=y2;

   this.layer.overflow="hidden";

}

/*** END IE ***/

}

else

{

xLayer.prototype.moveTo    = function(x,y)    {  }

xLayer.prototype.moveBy    = function(x,y)    {  }

xLayer.prototype.show       = function()    {  }

xLayer.prototype.hide       = function()    {  }

xLayer.prototype.setStackingOrder = function(z) {  }

xLayer.prototype.setBgColor    = function(color) {  }

xLayer.prototype.setBgImage    = function(image) {  }

xLayer.prototype.getX       = function()    { return 0; }

xLayer.prototype.getY       = function()    { return 0; }

xLayer.prototype.getWidth    = function()    { return 0; }

xLayer.prototype.getHeight    = function()    { return 0; }

xLayer.prototype.getStackingOrder = function()   { return 0; }

xLayer.prototype.isVisible    = function()    { return false; }

xlayer.prototype.setContent   = function(xHtml) { }



}

/*** End  - xLayer - a cross browser layer object by [link widoczny dla zalogowanych] ***/



var theTimer=null;

var mouseX = 100;

var mouseY = 100;



var oneDeg=(2*Math.PI)/360;



/*** Pinwheel type 1 ***/

var Radius = 5;

var NumStars=32;

var NumSteps=16;

var StepAngle=(25)*oneDeg;



/*** Pinwheel type 2 ***/

//var Radius = 10;

//var NumStars=16;

//var NumSteps=8;

//var StepAngle=(22.5)*oneDeg;



/*** Pinwheel type 3 ***/

//var Radius = 5;

//var NumStars=16;

//var NumSteps=16;

//var StepAngle=(22.5)*oneDeg;



/*** Pinwheel type 4 ***/

//var Radius = 10;

//var NumStars=32;

//var NumSteps=16;

//var StepAngle=(11.25)*oneDeg;



var StarObject=new Array();



var hexDigit=new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F");

function dec2hex(dec)

{

   return(hexDigit[dec>>4]+hexDigit[dec&15]);

}

function hex2dec(hex)

{

   return(parseInt(hex,16))

}



function CreateStar()

{



   this.layer       = new xLayer(" ", 100, 100, 10);

   this.currAngle    = 0;

   this.step      = 0;

   this.x      = 100;

   this.y      = 100;

   return (this);

}



function restart()

{

   for(i=0;i<NumStars;i++)

   {

      StarObject[i].currAngle = (StepAngle*i);

      StarObject[i].step = (i%NumSteps);

      StarObject[i].x = mouseX;

      StarObject[i].y = mouseY;

      StarObject[i].layer.moveTo(mouseX, mouseY);

      StarObject[i].layer.show();

   }

}

/*** Choose a random pinwheel configuration ***/

function next_random()

{

   var num=Math.floor(Math.random()*4);

   

   for(i=0;i<NumStars;i++)

      StarObject[i].layer.hide();



   if(num==0){

      Radius = 5;

      NumStars=32;

      NumSteps=16;

      StepAngle=(25)*oneDeg;

   }

   else

   if(num==1){

      Radius = 10;

      NumStars=16;

      NumSteps=8;

      StepAngle=(22.5)*oneDeg;

   }

   else

   if(num==2){

      Radius = 5;

      NumStars=16;

      NumSteps=16;

      StepAngle=(22.5)*oneDeg;

   }

   else{

      Radius = 10;

      NumStars=32;

      NumSteps=16;

      StepAngle=(11.25)*oneDeg;

   }





   for(i=0 ; i<NumStars; i++)

   {

      var s=StarObject[i];

      s.currAngle = (StepAngle*i);

      s.step = (i%NumSteps);

      s.x=mouseX;

      s.y=mouseY;

   }



   restart();



   theTimer=setTimeout("next_random()", 10000);

}

function start()

{

if (document.all)

   document.onmousemove = IE_MouseMove;



if (document.layers) {

   window.captureEvents(Event.MOUSEMOVE);

   window.onmousemove = NS_MouseMove;

}



   for(i=0 ; i<NumStars; i++)

   {

      StarObject[i]=new CreateStar();

      StarObject[i].currAngle = (StepAngle*i);

      StarObject[i].step = (i%NumSteps);

      StarObject[i].layer.clip(0,0,2,2);

      StarObject[i].layer.setBgColor("red");

   }



   for(i=0 ; i<NumStars ; i++)

      StarObject[i].layer.show();



   /*** Remove this if you only 1 type of pinwheel ***/

   theTimer=setTimeout("next_random()", 10000);



   Rotate();

}



function changeColour(s)

{

   var colour="";



   r2= Math.floor(Math.random()*2)*255;

   g2= Math.floor(Math.random()*2)*255;

   b2= Math.floor(Math.random()*2)*255;



   if(r2==0 && g2==0 && b2==0)

      r2=255;



   colour = "#" + dec2hex(r2) + dec2hex(g2) + dec2hex(b2);

   s.layer.setBgColor(colour);



   s.x=mouseX;

   s.y=mouseY;

}

function Rotate()

{

   var x;

   var y;

   for (i = 0 ; i < NumStars ; i++ ) {

      var s=StarObject[i];

       

      if(s.step==0)

         changeColour(s);



      var angle = s.currAngle;

      var rad   = s.step*Radius + 10;

      x = s.x + rad*Math.cos(angle);

      y = s.y + rad*Math.sin(angle);



      s.layer.moveTo(x,y);



      s.step = (s.step+1)%NumSteps;

   }



   setTimeout("Rotate()", 30);

}





function IE_MouseMove()

{

   mouseX = document.body.scrollLeft+event.x;

   mouseY = document.body.scrollTop+event.y;

}

function NS_MouseMove(evnt) {

   mouseX = evnt.pageX;

   mouseY = evnt.pageY;

}



function handle_resize()

{

   if(document.layers)

      start();

}



window.onresize=handle_resize;

window.onload=start;
</script>


Orbity wokół kursora:


Kod:
<script language="JavaScript">
<!--

/*
Dancing Stars cursor (Submitted by Kurt at [link widoczny dla zalogowanych])
Modified and permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

if (document.all){
document.write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')
for (xy=0;xy<7;xy++)
document.write('<div style="position:relative;width:3px;height:3px;background:#FFFF00;font-size:2px;visibility:visible"></div>')
document.write('</div>')
}

if (document.layers)
{window.captureEvents(Event.MOUSEMOVE);}
var yBase = 200;
var xBase = 200;
var yAmpl = 10;
var yMax = 40;
var step = .2;
var ystep = .5;
var currStep = 0;
var tAmpl=1;
var Xpos = 1;
var Ypos = 1;
var i = 0;
var j = 0;

if (document.all)
{
  function MoveHandler(){
  Xpos = document.body.scrollLeft+event.x;
  Ypos = document.body.scrollTop+event.y;
  }
  document.onmousemove = MoveHandler;
}

else if (document.layers)
{
  function xMoveHandler(evnt){
  Xpos = evnt.pageX;
  Ypos = evnt.pageY;
  }
  window.onMouseMove = xMoveHandler;
}



function animateLogo() {
if (document.all)
{
 yBase = window.document.body.offsetHeight/4;
 xBase = window.document.body.offsetWidth/4;
}
else if (document.layers)
{
 yBase = window.innerHeight/4 ;
 xBase = window.innerWidth/4;
}

if (document.all)
{
var totaldivs=document.all.starsDiv.all.length
 for ( i = 0 ; i < totaldivs ; i++ )
 {
var tempdiv=document.all.starsDiv.all[i].style
  tempdiv.top = Ypos + Math.cos((20*Math.sin(currStep/20))+i*70)*yBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + i*25)/10);
  tempdiv.left = Xpos + Math.sin((20*Math.sin(currStep/20))+i*70)*xBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + i*25)/10);
 }
}

else if (document.layers)
{
 for ( j = 0 ; j < 7 ; j++ )
 {
var templayer="a"+j
  document.layers[templayer].top = Ypos + Math.cos((20*Math.sin(currStep/20))+j*70)*yBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + j*25)/10);
  document.layers[templayer].left =Xpos + Math.sin((20*Math.sin(currStep/20))+j*70)*xBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + j*25)/10);
 }
}
currStep += step;
setTimeout("animateLogo()", 15);
}
animateLogo();
// -->
</script>


ale nie rozumiem za bardzo o jakie pbrazki Ci chodzi Razz napisz jakie to ja pstarma sie albo znaleźć skrypta w necie albo napisac takiego Razz Pozdro


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Will_Patrycja
Maniak postów
Maniak postów



Dołączył: 28 Cze 2005
Posty: 109
Przeczytał: 0 tematów

Ostrzeżeń: 0/5
Skąd: Kraina Elfów...

PostWysłany: Wto 12:09, 20 Gru 2005    Temat postu:

Da się zeby 2 rzeczy spadały- trzeba zrobić taki obrazek! Ja mam glowe psa i snieg xD
[link widoczny dla zalogowanych]


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Febe12
Amator postów
Amator postów



Dołączył: 18 Gru 2005
Posty: 41
Przeczytał: 0 tematów

Ostrzeżeń: 0/5

PostWysłany: Wto 13:40, 20 Gru 2005    Temat postu:


Will_Patrycja napisał:
Da się zeby 2 rzeczy spadały- trzeba zrobić taki obrazek! Ja mam glowe psa i snieg xD
[link widoczny dla zalogowanych]


ej mógłbyś mi zorbić też coś takjiego tylko, żeby spadał śnieg i głowy z Harrego Pottera Question Tu masz adres do obrazka [link widoczny dla zalogowanych] wytnij główy zmiejsz i zorób mi ok Question Smile


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Will_Patrycja
Maniak postów
Maniak postów



Dołączył: 28 Cze 2005
Posty: 109
Przeczytał: 0 tematów

Ostrzeżeń: 0/5
Skąd: Kraina Elfów...

PostWysłany: Wto 14:04, 20 Gru 2005    Temat postu:

OK zrobie ale mi sie strona nie wyswietla

juz sie wyswietla ^^

sorka, ale mi sie w paincie rozmazuja trzeba zrobic w jakims innym programie, a ja posiadam tylko paint...


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Seta
Maniak postów
Maniak postów



Dołączył: 07 Gru 2005
Posty: 119
Przeczytał: 0 tematów

Ostrzeżeń: 5/5

PostWysłany: Wto 15:29, 20 Gru 2005    Temat postu:

jak ktoś che jakieś skrypty to zapraszam na moje forum, mam ich tam sporo!

Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Febe12
Amator postów
Amator postów



Dołączył: 18 Gru 2005
Posty: 41
Przeczytał: 0 tematów

Ostrzeżeń: 0/5

PostWysłany: Wto 15:53, 20 Gru 2005    Temat postu:


Will_Patrycja napisał:
OK zrobie ale mi sie strona nie wyswietla

juz sie wyswietla ^^

sorka, ale mi sie w paincie rozmazuja trzeba zrobic w jakims innym programie, a ja posiadam tylko paint...


To nic może ci się rozmazywać Smile Bardzo cie prosze zrób mi Smile


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Will_Patrycja
Maniak postów
Maniak postów



Dołączył: 28 Cze 2005
Posty: 109
Przeczytał: 0 tematów

Ostrzeżeń: 0/5
Skąd: Kraina Elfów...

PostWysłany: Wto 15:54, 20 Gru 2005    Temat postu:

ok ale beda wieczorem .

Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Darti47
Amator postów
Amator postów



Dołączył: 23 Lis 2005
Posty: 63
Przeczytał: 0 tematów

Ostrzeżeń: 0/5
Skąd: Rybnik

PostWysłany: Wto 16:04, 20 Gru 2005    Temat postu:

dzięki za fajerwerki... na pewno się przydadzą

Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Febe12
Amator postów
Amator postów



Dołączył: 18 Gru 2005
Posty: 41
Przeczytał: 0 tematów

Ostrzeżeń: 0/5

PostWysłany: Wto 16:13, 20 Gru 2005    Temat postu:


Will_Patrycja napisał:
ok ale beda wieczorem .


To nic waażne, żeby wogóle były Laughing


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Wyświetl posty z ostatnich:   
Napisz nowy temat   Odpowiedz do tematu    Forum www.forum.fora.pl Strona Główna -> Pomoc i pytania Wszystkie czasy w strefie EET (Europa)
Idź do strony Poprzedni  1, 2
Strona 2 z 2

 
Skocz do:  
Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach


fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2005 phpBB Group
deoxGreen v1.2 // Theme created by Sopel stylerbb.net & programosy.pl

Regulamin