Ciao ragazzi
ho visto questo sito http://www.whoisthebrainbehind.com/whois3_englishx.html, dovete cliccare sulla voce PORTFOLIO e vedrete due foto quello è l'effetto che volevo fare.
![]()
Ciao ragazzi
ho visto questo sito http://www.whoisthebrainbehind.com/whois3_englishx.html, dovete cliccare sulla voce PORTFOLIO e vedrete due foto quello è l'effetto che volevo fare.
![]()
Parli del fatto che andando sopra col mouse si muovono ?Originariamente inviato da team83
Ciao ragazzi
ho visto questo sito http://www.whoisthebrainbehind.com/whois3_englishx.html, dovete cliccare sulla voce PORTFOLIO e vedrete due foto quello è l'effetto che volevo fare.
![]()
Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
Mechanics & Expert Tuning Fix Z3 Roadster Community
yes
butta l'okkio da queste parti http://forum.html.it/forum/search.ph...der=descendingOriginariamente inviato da team83
yes
dovresti trovare tutto quanto il necessario..
scusa se non lo faccio diretamente, ma ci vorrebbe troppo tempo!![]()
Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
Mechanics & Expert Tuning Fix Z3 Roadster Community
Grazie l'ho trovato, gentilmente potresti spiegarmi il codice.
Ciaoooooooo
MovieClip.prototype.onEnterFrame = function() {
if (this._name != "") {
if (!this.defaultX) {
this.defaultX = this._x;
}
if (!this.defaultY) {
this.defaultY = this._y;
}
magnet = 100;
this.X0 = this._x;
this.y0 = this._y;
this.X1 = _root._xmouse;
this.Y1 = _root._ymouse;
this.distanceX = this.X1-this.X0;
this.distanceY = this.Y1-this.Y0;
this.distance = Math.sqrt((this.distanceX*this.distanceX)+(this.di stanceY*this.distanceY));
this.powerX = this._x-(this.distanceX/this.distance)*magnet/this.distance;
this.powerY = this._y-(this.distanceY/this.distance)*magnet/this.distance;
this.forceX = (this.forceX+(this.defaultX-this.X0)/2)/8.0;
this.forceY = (this.forceY+(this.defaultY-this.Y0)/2)/8.0;
this._x = this.powerX+this.forceX;
this._y = this.powerY+this.forceY;
}
};
see.. e poi magari anche cappuccio e briosche? :sexpulp:
chiedi a chi lo ha realizzato!
Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
Mechanics & Expert Tuning Fix Z3 Roadster Community
grazie comunque
:adhone: figurati.. l'importante è che hai trovato, poi con la calma e soprattutto il tempo.. lo risolvi da te![]()
Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
Mechanics & Expert Tuning Fix Z3 Roadster Community