Home
Top.Mail.Ru Yandeks.Metrika
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];

Top









Memory: 0.56 MB
Time: 0.022 c
14-22405
Kozhanov
2001-11-12 11:53
2002.01.08
English puzzle


1-22145
MARcoDEN
2001-12-15 17:42
2002.01.08
Custom Button


4-22457
Zabl
2001-11-01 13:15
2002.01.08
Problem with Dll


7-22453
Juri
2001-09-21 18:26
2002.01.08
RS485


7-22418
Mikle
2001-09-20 09:06
2002.01.08
Urgently! Comp instead of the printer.





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Español swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish