Forum: "Grab";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];
Down
Formatting in the answers Find similar branches
← →
McSimm (2001-11-11 12:01) [0]Just noticed. What they talked about for so long ...
I'm talking about buttons that allow you to frame the selected text.
When the question was raised, I dug up a lot of resources and did not find such functions and properties. True, I'm not far from a webmaster, but I'm very interested.
Can I find out what this standard is and where it is described?
And in the window "Add your question to the forum" you could add these buttons.
← →
McSimm (2001-11-11 12:03) [1]Sealed up:
far from a webmaster
← →
Merlin (2001-11-11 12:39) [2]Do a search on selection.createRange
Please check if this will work under NN?
if (document.getSelection) { // code for Netscape var str = document.getSelection (); str = s1 + str + s2; }
And then I do not have NN :(
← →
McSimm (2001-11-11 13:31) [3]I could not quickly get anything reasonable from NN.
In the original version - gives an alert.
if (document.getSelection) {
// code for Netscape
var str = document.getSelection ();
str = s1 + str + s2;
}
Just the above code does nothing visual.
In different combinations with the code for IE - at best it is written at the end, but I have not figured out the function yet. It is not possible to frame the selected text in any way. I can help as I can, at least as a tester.
In addition, the buttons in NN are shown ugly. Sent a shot.
Pages: 1 whole branch
Forum: "Grab";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];
Memory: 0.56 MB
Time: 0.022 c