Tag Archive: jquery

What happens if you set the position of an invisible div

The other day I wanted to allow users of the metadiscourse annotator to quickly locate in text the marker they tag. This is particularly important if the text contains many markers. When the user presses a button I wanted the following effect: It seemed quite simple to implement it: Create a hidden div which contains the pointer Place the div at the correct location (i.e. next to the marker) Show the div and animate using jquery. Hide it at the end of the animation. The implementation was quite simple and worked almost from the first attempt. I was very happy….
Read more