Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Doing more with ::selection than changing the selection color. [question] Re: Doing more with ::selection than changing the selection color. [question]

#83021

Right then, here is a jsfiddle – javascript courtesy of Mark S. Kolich. I haven’t a reason to develop on this at the moment, so I’m afraid the project has been pushed back to the personal/curiosity list. lol. Anyways, if you’re interested in having the highlight be similar to the organic highlight color in the iBooks app you can simply change that span.highlight background to an image. Looks very nice. Hope this helps.

http://jsfiddle.net/meetaaronsilber/eU6WP/