I'm trying to make a javascript bookmarklet that will act as a highlighter, changing the background of selected text on a webpage to yellow when the bookmarklet is pressed.  I'm using the following code to get the selected text, and it work...
I have a span and an input field; I want to change the color of the text in span when I enter that text in input field.  Following is my code:  i want, if i type wrong word then that word will red in span    var i=0; var idx=0; document.body.onkeydow...
I have the following phrase:  The birds fly in the sky near planes. 0123456789012345678901234567890123456           1         2         3    How can I highlight in the sky with TinyMce if I know the start(14) and end(23) of the phrase ?  I would like...
is there a way to get the highlighted  selectionstart and selectedlenght on a span ?  Thanks...
What I am trying to do is allow the user to scroll over any word on a web page and when the mouse goes over the word it is highlighted (I know I can use hover for that).  However I do not know how to select individual words, from the paragraph.  The...
Is it possible to highlight text in an HTML document using without wrapping it with <span> or any other tag for that matter?  For example, in the HTML code <p>The quick fox</p> I would like to highlight quick but without adding a DO...
I implement Search in a web application that looks similar to the browser's "Find" feature.  I want to highlight the searched strings on the page.  The search-string is often a substring of longer string that is shown with ellipsis.  I wa...
Scenario:    Image with several areas mapped.  A list of text on the page   Desired functionality: When I mouseover the different pieces of text in the list, corresponding areas in the mapped image will become highlighted.  Does anyone know of a good...
I have several nested tables and I want to highlight the innermost row that is below the mouse pointer. How can I do that?  Some pointers: I use nested tables to display recursive tabular data. The tables can be nested 10 levels deep. The nesting is...
We need to add anchors and highlights for some keywords/sentences in the html page. It turns out the highlighting is really slow in Firefox.  In the following code, all ranges which need to be highlighted are stored in array hiliteRanges:  for (var i...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.