Forums

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

Home Forums JavaScript Plugin for converting jQuery animations to CSS3?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #158165
    Rugg
    Participant

    I’m looking for a lightweight jQuery plugin that converts animations to CSS3. So far, I’ve discovered the two below…but I’d like to find something that doesn’t require any changes to the original jQuery animation syntax. A plugin that can simply be linked in the html head with no further tinkering would be ideal.

    Does anything like this exist? Suggestions are welcome — thank you.

    What I’ve found so far:
    http://playground.benbarnett.net/jquery-animate-enhanced/
    http://ricostacruz.com/jquery.transit/

    #158184
    TheDoc
    Member

    Transit is by far the best option.

    I think I know what you’re looking for, though, being able to add the script to older projects and just have it work? In that case it’s as simple as adding the script and doing a find and replace on animate().

    #158186
    Rugg
    Participant

    @thedoc

    I think I know what you’re looking for, though, being able to add the script to older projects and just have it work?

    You got it!

    In that case it’s as simple as adding the script and doing a find and replace on animate()

    Ideally this would work, unfortunately I have several animations that depend on the :animated pseudo selector.

    For Example:

    if ($(':animated').length) {
    
        return false;
    
    } else {
    
        // Start Animation
    
    }
    
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.