djreed

San Francisco, CA

Sep
26
awarded Yearling
Aug
22
comment Show sibling element on mouseover using angular
Thanks for the answer and thanks for the additional info regarding isolate scope. Very helpful! I've successfully got this working with a really simple directive (per your PLUNKER example).
Aug
21
accepted Show sibling element on mouseover using angular
Aug
20
comment Show sibling element on mouseover using angular
Here's a plunkr with the basic setup: plnkr.co/edit/nlmOHtoZLug3mJ59mRFu?p=preview
Aug
20
asked Show sibling element on mouseover using angular
Aug
1
awarded Good Question
Jul
31
comment What's the good reason for removing an event after using it in javascript or unbinding after binding it in jquery?
@CodeWizard I do understand what you're saying. If you have another simpler example let me know.
Jul
31
comment What's the good reason for removing an event after using it in javascript or unbinding after binding it in jquery?
@CodeWizard I've edited my original reply. When I read OP's code, I thought this was a complete example of something he had written. It would never make sense to in one line add an event listener, and then in the next line unbind the listener. I thought this was the OP's question. If the answer isn't comprehensive enough, I'm open to suggestions :)
Jul
31
revised What's the good reason for removing an event after using it in javascript or unbinding after binding it in jquery?
deleted 183 characters in body
Jul
31
comment javascript ajax is returning 0 status code on some browsers
@user3785337 can you list which browsers the request works in and which browsers return the status code 0? Have you checked to see if there are any console security errors?
Jul
31
comment javascript ajax is returning 0 status code on some browsers
@Barmar that wouldn't explain why it works in some browsers but not others.
Jul
31
answered JavaScript - Array behaves like object
Jul
31
answered Animate div background position on slide change
Jul
31
answered What's the good reason for removing an event after using it in javascript or unbinding after binding it in jquery?
Jul
31
answered Change value of td when pass to servlet
Jul
2
awarded Curious
Jan
31
awarded Notable Question
May
30
awarded Nice Question
Mar
15
awarded Tumbleweed
Mar
8
comment visibility hidden flashes multiple times after fadeIn
One additional tip: You should likely be using CSS3 Animation for this instead :) My suggestion would be simplify your JS greatly and avoid using JS animation entirely. The solution would instead turn a CSS class on or off depending on your condition. the CSS could handle all the animation for you! Read up on it: developer.mozilla.org/en-US/docs/CSS/Tutorials/…
1 2 3 4 5