The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript simple javascript moving effect

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #35054

    I’m not good at javascript and I want to make this effect for a div element:
    I have a div and inside it an image and some text and I want to move them from right to the middle of the page very slow and smooth.
    How can I make this ?
    Thanks !


    Check out jQuery’s animate to animate over the div’s position.

    I’m not sure how smooth it will be though, especially at a very slow speed.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.