Jump to content

Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Newbie

About zagdxb

  • Rank
  1. Nice example, just what I need to do, but only with Tweenlite. My slider and draggable are working fine while resized to any size. Only issue is with setting the initial position when the page is loaded and the viewbox is resized. Check out the same codepen full screen and in editor https://codepen.io/zagdxb/pen/xBRoRo https://codepen.io/zagdxb/full/xBRoRo The x of slider should be all the way on the right limit of the background rectangle. current_value is 35, and my min/max are 15-35, and it is not. I'll give a good look at the example, it seems the ans
  2. Hi, I have an interesting(for me) issue I couldn't figure out. The code performs as I expect it to, setting the slider initial position depending on value of "current_value" variable, but only if I don't set the SVG Viewbox with Snap, on document ready. On the Code pen, you can remove that part at the beginning of $(document).ready and the slider sets the initial position correct. If the ViewBox is set, then the slider sets itself on some weird position I couldn't figure out. Mostly it goes out of bounds on the right, depending on the screen size. Try to vi