Solved

jQuery Animate Left Right

Posted on 2016-10-30
2
42 Views
Last Modified: 2016-10-30
Hi Experts,

I am trying to animate the cloudDrizzle just to go side to side with jquery lines 35-40 , but nothing happening.

http://codepen.io/AleksPoposki/pen/NRZydj

Any help will be appreciated.
0
Comment
Question by:APD_Toronto
2 Comments
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE earned 500 total points
Comment Utility
As the svg is "float: left" it has no positioning and therefore the animate left and right do not work.  Set its position to relative or wrap it in a div and float the div

<div style="float: left">
<svg id="cloudDrizzle>...
</div>
0
 

Author Closing Comment

by:APD_Toronto
Comment Utility
Thank you again!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now