2d
awarded Enlightened
2d
awarded Nice Answer
Apr
24
comment How to set a fixed position at top of div and don't scroll
Just don't set it to fixed. Setting the overflow on content instead of container alone seems to answer the question.
Apr
24
comment How to set a fixed position at top of div and don't scroll
Scrolling content instead of container is a good point, but I don't see why you would set either element to position fixed.
Apr
24
revised How to fix the border and padding on the links
added 14 characters in body
Apr
24
comment How to use Closure?
Is there a question here? Maybe I'm just missing it.
Apr
23
comment Does Comparator<T> class exist in Java 8?
It's certainly in the java 8 docs docs.oracle.com/javase/8/docs/api/java/util/Comparator.html
Apr
22
comment Adding and subtracting height in Jquery BUGGING
The requirement for code within the question when including a jsfiddle is there for a reason. You should not enter fake/irrelevant code to bypass the rule.
Apr
22
awarded css3
Apr
21
comment Javascript Algorithm Practice Removing Negatives From Array
You are infinite looping because you have X[j+1] = temp inside your j loop. When j is equal to X.length - 1, this line will add an additional entry into the array, causing it to loop again, again adding and looping and adding... forever
Apr
21
reviewed Approve suggested edit on Javascript Algorithm Practice Removing Negatives From Array
Apr
21
comment Javascript Algorithm Practice Removing Negatives From Array
@adeneo I posted a solution that I think is working and linear time. You are correct that you can't pop in the middle, but you can swap your element to the end and then pop. (or really just replace the middle element with the last and then pop).
Apr
21
answered Javascript Algorithm Practice Removing Negatives From Array
Apr
21
comment Javascript Algorithm Practice Removing Negatives From Array
@jdphenix filter creates a new array.
Apr
21
comment Javascript Algorithm Practice Removing Negatives From Array
I think it can be done in a single pass without ordering.
Apr
21
comment Javascript Algorithm Practice Removing Negatives From Array
You mention preserving the order of the array, but why? The description doesn't say anything about preserving order.
Apr
21
comment Pseudo-Element and listening to a transition to end
@Boris just updated with one more note. You'll want to make that update or concurrent animations will mess up.
Apr
21
revised Pseudo-Element and listening to a transition to end
added 610 characters in body
Apr
21
answered Pseudo-Element and listening to a transition to end
Apr
21
comment Pseudo-Element and listening to a transition to end
That doesn't let the current rotation end, it just jumps directly back to starting position.
1 2 3 4 5