Visualizzazione dei risultati da 1 a 8 su 8
  1. #1

    [mx] Effetto sulle foto

    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.


  2. #2

    Re: [mx] Effetto sulle foto

    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.

    Parli del fatto che andando sopra col mouse si muovono ?
    Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
    Mechanics & Expert Tuning Fix Z3 Roadster Community

  3. #3

  4. #4
    Originariamente inviato da team83
    yes
    butta l'okkio da queste parti http://forum.html.it/forum/search.ph...der=descending

    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

  5. #5
    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;
    }
    };

  6. #6
    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

  7. #7
    grazie comunque

  8. #8
    :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

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.