Javascript perhaps? But How?!?!

Discussion in 'HTML & Website Design' started by eruct, Oct 23, 2007.

  1. #1
    Alright so I stumbled across this site.
    *note. After clicking link do not re-size your browser right away. Just wait...

    I think it uses some type of Javascript but I haven't been able to find much about how to implement something like this. Any help would be awesome.
     
    eruct, Oct 23, 2007 IP
  2. Western

    Western Well-Known Member

    Messages:
    1,751
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    135
    #2
    its JS 1.2 and actionscript
    its so simple to make
    when i was newbie i had so many fun with Javascript and vBscript

    function shake_xy(n) {
    if (self.moveBy) {
    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);

    you can change them and make a new shake
    author just maked the same script in Action script on flash
    so movie and window are both move together
     
    Western, Oct 23, 2007 IP
    eruct likes this.
  3. eruct

    eruct Well-Known Member

    Messages:
    1,189
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Awesome thank you!
    How would you go about creating 2 or more windows that interacted with each other? Same method?
     
    eruct, Oct 23, 2007 IP