Mouse Select: How have they done this

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Live24x7
Forum Contributor
Posts: 194
Joined: Sat Nov 19, 2011 9:32 am

Mouse Select: How have they done this

Post by Live24x7 »

Normally when we mouse-select some text on a webpage, the selection is highlighted with a blue background.

However i came across this website

http://www.catswhocode.com/blog/tips-an ... e-websites


When you select a piece of text with your mouse, the selection is highlighted in pink.

How is this done ?
Do they use javascript for this ?
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Mouse Select: How have they done this

Post by pickle »

Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Live24x7
Forum Contributor
Posts: 194
Joined: Sat Nov 19, 2011 9:32 am

Re: Mouse Select: How have they done this

Post by Live24x7 »

Thanks .. :)
Post Reply