Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 116
  • Last Modified:

jQuery Animate Left Right

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
APD_Toronto
Asked:
APD_Toronto
1 Solution
 
RobOwner (Aidellio)Commented:
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
 
APD_TorontoAuthor Commented:
Thank you again!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now