Jump to content
GreenSock

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

TopGUN121

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

3 Newbie

About TopGUN121

  • Rank
    Member
  1. I'm wondering if there is a way to know if the draggable element hits the bounds i have defined for it? I would like to shoot off a function or some code when it hits the edge of the bounds area.
  2. I was using draggable on an SVG element and this was popping up, when testing my work in chrome , this warning pop up in the console log: 'SVGElement.offsetWidth' is deprecated and will be removed in M50, around April 2016. See https://www.chromestatus.com/features/5724912467574784 for more details. It was saying it was coming from Draggable.min.js:14. I was wondering if i should be worried about this warning since i will be using this plugin on svg code during and after that time frame? Will the plugin will be updated for this or should i not worry? Brad
  3. This worked perfectly for my needs! thank you!
  4. Hi everyone, I know i can go about this a different way and make it work but i was still wondering what the answer would be to this questions i have. I'm trying to get the id of the element in the hit test that the target is going over. Ex: if (this.hitTest("#circle1", "50%")) { } How would i access and get the value of #circle1 inside the hittest if statement? this.target is the object being dragged, but i want to know what i could use to get the "circle1" value? I'm trying to get html info from that circle1. Thanks! Brad
  5. Crazy, I have used draggable with the hitTest in a couple projects this year and no issue in IE8. Using the basic same code in my codepen. I was using this version: VERSION: 0.11.0 DATE: 2015-01-20 No error or anything like that pop up. My new timelines launch just fine once the div is dragged to the hit area. I am not doing anything complex really in my projects. You just drag the div to the correct spot and I just launch a timeline if they are correct. Thank you for the additional information about what is going on with this! I'll make sure i keep this older version arou
  6. The old version works just fine for me and what i need it to do! Thank you for clearing this all up for me! Thank you for all the work you all do! I just love greensock so much and spread the word to all my dev friends about it!
  7. After digging into the hittest part of the docs it does say the quote you gave, but i also saw this on the main page: Even works in IE8! - all major browsers are supported.So maybe update that part that yes the drag works, but not the hittest anymore. I also know that the older versions the hitTest worked just fine in ie8, so hence why i was surprised it didn't now. So was the way it was coded changed? I just trying to figure out what changed. I can use an older version for my project. As of this time i have to support ie8 since our projects get put into legacy systems that users onl
  8. Sorry i don't see my zip added to my first post. here it is. drag-and-drop (1).zip
  9. Hi Everyone, I think i found a bug in the latest version of draggable. When i went to test my latest project in ie8 the hit test did nothing in that browser. Worked fine in all others. I am using the newest version you can download. No errors where thrown up or anything like that. I could still drag everything but once i drag the div over the hit location nothing happened. When i switch to an older version of draggable it worked just fine. I know the release notes on 1.18 says it was fixed but it didn't work for me. I created a codepen: http://codepen.io/anon/pen/epdBgP but it
  10. ugh! so glad i started google this very issue i was having with the .addPause! I thought i was going crazy and my code was messed up!
  11. Ok, i have tried these and they don't work for me. I can get it to clear the inline css, but it doesn't read the css correctly after i hit my refresh button. Does not like the .from i'm using and it set's the inline style not to where it should be after the animation is suppose to happen. (it's setting it to the inline style to the starting position, but not the ending position it should be) It's also forcing it to stay display none and opacity 0. I have been able to create a quick code pen to show you these issues. I can get it to read the new css, but it doesn't take those values an
  12. Thanks for this additional advice and i will try some of this out today at work. I'll let you know if this works for me. Thanks again!
  13. I don't know if i could create a codepen to show you my projects since they are very big projects with tons of parts. Rodrigo you are right, i'm update my local dev tools css in the browser, then take that and put it in my css file which i then save. Then i have a button that will reload the just saved css file. The browser shows the new css but greensock does not read the new css. I do not want to restart the whole timeline since these projects can get to be about 10 min long to run once coded up. I'm tired of having to find my position over and over again in my timeline. I just want
  14. Hi everyone, I have been trying to find out a way to refresh a timeline without having to reload the whole page. This is for my development tools so i don't have to always hit the browser refresh button and drag my slider to the last location i was editing to see my new css updates. So here is what i'm doing and hoping you can help me out. So i have my developer tools i have created for my greensock projects to help me with my projects. We have a slider bar to move me along in the timeline we have created. (my projects tend to be like learning videos). Whenever i make an update
  15. ok, i created a codepen to show you what happens: http://cdpn.io/wDhjq AND i just solved my own issue. I was using a .call to a function to resume the tl timeline (the main one) and if i switch that .call to a tl.play i don't have this issue anymore. Thanks.
×