Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8681483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:31:17+00:00 2026-06-12T21:31:17+00:00

Is there an equivalent to jQuery’s slideDown method for SVG elements? Right now the

  • 0

Is there an equivalent to jQuery’s slideDown method for SVG elements? Right now the elements just show up rather suddenly. I would like to soften that a little by sliding down.

Edit:
I’m basing my code on the dynamic stacked bar graph here: http://benjchristensen.com/2011/12/16/dynamic-stacked-bar-chart-using-d3-js/

Instead of one graph with many bars, I have many graphs with one bar. I want to make it so that when the graphs appear, it will slowly slide down.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T21:31:19+00:00Added an answer on June 12, 2026 at 9:31 pm

    I don’t believe that SVG is easily supported by jQuery. Keith Wood has a SVG specific jQuery library that allows you to do some animation though.

    A different option would be to use a graphics library that works with SVG. The first that comes to mind is D3.js, which provides some very easy to use methods for manipulating SVG elements. Additionally, the selector style is similar to what you may be used to for jQuery.

    If you’re using D3, I’d check out the transition methods. There’s quite a bit you can do and D3 is incredibly powerful. An example would be:

    var rect = d3.select('#rectangle');
    // this selects a rectangle.  Let's say that it starts at 
    // the origin, or even off screen in your case   
    
    rect.transition()
        .duration(250)
        .attr('x', 10)
        .attr('y', 20); 
        // this changes the x and y attributes
        // of the rectangle to 10 and 20 respectively
        // using a transition over a 250ms duration.
    

    For the particular example that you gave, I would just change the y attribute so that it starts off screen (say y = -1 * height) and then transition it down to y = height or y = 200 or something like that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know if there is any equivalent to the jquery mousemove
Is there an equivalent of right() function that I can use in jquery. I
Is there an equivalent to the Rails/Prototype observe_field method using jQuery without jRails? I
Anyone know if there is an equivalent method in jquery or javascript that matches
Is there an Oracle NVL function equivalent in JavaScript/jQuery. I would be interested to
Is there any JQuery method/implementation that equivalent to YUI.getElementsBy? YUI.getElementsBy ( method , tag
Is there some equivalent to jQuery's getScript in Prototype ?
Is there any equivalent for setTimeout and clearTimeout functions in jquery 1.4.2.... I found
Is there an easy way to do the equivalent in jquery or jscript for
I was wondering if there is a MooTools equivalent to jQuery's .getScript() ? I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.