How can one implement the type of background color changing that you see on stack overflow when you link directly to one of the answers via an a
tag?
e.g.
https://stackoverflow.com/questions/821321/what-does-the-utmscr-or-utmcct-values-mean-in-reference-to-the-http-cookie-serve/#1401813
Note the #1401813
on the end is the answer id.
Navigating there will trigger the background color of the container to glow for a second, and return.
I have the ids set up on my containers, and the links working fine, in that the page jumps down to the appropriate area, but I am not sure how to use either pure js
or jquery
to realize there is a anchor reference in the url, and transition the background color into, and out of, a glow color for that container.
Anyone have any examples?