Skip to content Skip to sidebar Skip to footer
Showing posts with the label Selection

How To Apply Rounded Borders To Highlight/selection

I have used Visual Studio Online for a while for a project, and the way they apply rounded borders … Read more How To Apply Rounded Borders To Highlight/selection

How To Disable Text Selection On Double Click, But Not Otherwise?

There are tons of questions like this one and every answer I've seen is: use user-select: none.… Read more How To Disable Text Selection On Double Click, But Not Otherwise?

How Does Twitter Implement Its Tweet Box?

I'm trying to implement something like Twitter's tweet box, specifically: Automatically hi… Read more How Does Twitter Implement Its Tweet Box?

Weird Behavour Wysiwyg?

I have a code to wrap elements around text it works fine until i try the following format in my edi… Read more Weird Behavour Wysiwyg?

Get The Raw Html Of Selected Content Using Javascript

How would I get the raw HTML of the selected content on a page using Javascript? For the sake of s… Read more Get The Raw Html Of Selected Content Using Javascript

How To Copy Markup - Not Just Plain Text - To The Clipboard Using Legacy Free Javascript

The complete content of a Mary had a little lamb , its fleece was white as snow. Everywhere t… Read more How To Copy Markup - Not Just Plain Text - To The Clipboard Using Legacy Free Javascript

Make Text Unselectable And Uncopyable (webkit, While Surrounded By Copyable Text)

The following snippet shows how to make text unselectable. Sadly, if you select text on either side… Read more Make Text Unselectable And Uncopyable (webkit, While Surrounded By Copyable Text)

How To Preserve Text Selection When Opening A Jquery Dialog

Using jQuery's dialog I came across the following quirk (tested in FF3): User selects text In … Read more How To Preserve Text Selection When Opening A Jquery Dialog