I have a div that has a span inside that will display a message on a web page. I would like that message to show at top where ever the user is located in page. So lets say that the user is scrolled all the way at the bottom of the page, I would like that message to display to them at the highest point that they can see on the page. thanks for any help.
Share
I believe you’re looking for
here’s a little sample: http://jsfiddle.net/8APrp/1/