: ; , , , , . .
.
, , , , . , , ( 2 18 ).
, , ( 53 ). ( 8 2 42 ). ; , 2 53 . . .
, 166 167 .
( 190 ). . , , . .. , , 28.
, , . , . , , , . , , , , . .. , , , , 29.
, , . , , , .
, , ; , .
, . , , , .
, - () , , . , .
, - () , , :
1. , - () , ;
2. , , - () , - () , , ;
3. , - () , ;
4. , .
, , , , , .
, . .
, . , .
. . , , , 167 .
. , 191 , , . .
: . , , 425 .
//function to get selected text function getSelText() { var txt = ''; if (window.getSelection) { txt = window.getSelection(); } else if (document.getSelection) { txt = document.getSelection(); } else if (document.selection) { txt = document.selection.createRange().text; } else return; $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtSelectedText").val(txt); } function getCtrlPrefix() { return document.getElementById("ctl00_ctl00_MPCPH_CMPCPH_sendForm1_hdnCtrlPrefix").value; } //function for showing popup $(document).ready(function() { $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").css("display", "block"); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog ({ autoOpen: false, modal: true, width: 400, height: 500, dialogClass: "popupDialog", resizable: false, overlay: { opacity: 0.5, background: "black" } }); // $('.lbPopupLink').click(function() { // var titleFirst = getCtrlPrefix() + "hdnTitleOfTheme"; // var labelTitle = document.getElementById(titleFirst.replace("_sendForm1", "")); // var s = document.title + ' - ' + labelTitle.value; // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtTheme").val(s); // getSelText(); // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog("open"); // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtComment").focus(); // return false; // }); //function for click on image $('#lbLink').click(function() { var titleOfThemeFirst = getCtrlPrefix() + "hdnTitleOfTheme"; var labelTitle = document.getElementById(titleOfThemeFirst.replace("_sendForm1", "")); var titleOfLessonF = getCtrlPrefix() + "hdnTitleOfLesson"; var labelTitleOfLesson = document.getElementById(titleOfLessonF.replace("_sendForm1", "")); var p = labelTitle.value + ' - ' + labelTitleOfLesson.value; var s = ' : ' + document.title; $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtTheme").val(s); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_hdnPath").val(p); getSelText(); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog("open"); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtComment").focus(); return false; }); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_butCancel").click(function() { $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog("close"); return false; }); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_butOk").click(function() { return $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialogCloseAndSubmit($(this).attr("id")); }); //function for keypress event // $(document).keypress(function(e) { // switch (e.which) { // // user presses the "s" key // case 115: // var titleFirst = getCtrlPrefix() + "hdnTitleOfTheme"; // var labelTitle = document.getElementById(titleFirst.replace("_sendForm1","")); // var s = document.title + ' - ' + labelTitle.value; // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtTheme").val(s); // getSelText(); // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog("open"); // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtComment").focus(); // return false; // break; // } // }); }); 10.
, . , , ( ; , , , ).
, ( 1 192 ). , , , . , , .
, , . .
. ( 170 ).
( 3 8 164 ).
, , , , . , 30.
, . . , , .
3 192 , . , . , , , . , .. ( 75% ) , 31.
, , - () , .
166 167 . 63 476 . , . , .
, , , 2 53 .
//function to get selected text function getSelText() { var txt = ''; if (window.getSelection) { txt = window.getSelection(); } else if (document.getSelection) { txt = document.getSelection(); } else if (document.selection) { txt = document.selection.createRange().text; } else return; $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtSelectedText").val(txt); } function getCtrlPrefix() { return document.getElementById("ctl00_ctl00_MPCPH_CMPCPH_sendForm1_hdnCtrlPrefix").value; } //function for showing popup $(document).ready(function() { $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").css("display", "block"); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog ({ autoOpen: false, modal: true, width: 400, height: 500, dialogClass: "popupDialog", resizable: false, overlay: { opacity: 0.5, background: "black" } }); // $('.lbPopupLink').click(function() { // var titleFirst = getCtrlPrefix() + "hdnTitleOfTheme"; // var labelTitle = document.getElementById(titleFirst.replace("_sendForm1", "")); // var s = document.title + ' - ' + labelTitle.value; // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtTheme").val(s); // getSelText(); // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog("open"); // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtComment").focus(); // return false; // }); //function for click on image $('#lbLink').click(function() { var titleOfThemeFirst = getCtrlPrefix() + "hdnTitleOfTheme"; var labelTitle = document.getElementById(titleOfThemeFirst.replace("_sendForm1", "")); var titleOfLessonF = getCtrlPrefix() + "hdnTitleOfLesson"; var labelTitleOfLesson = document.getElementById(titleOfLessonF.replace("_sendForm1", "")); var p = labelTitle.value + ' - ' + labelTitleOfLesson.value; var s = ' : ' + document.title; $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtTheme").val(s); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_hdnPath").val(p); getSelText(); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog("open"); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtComment").focus(); return false; }); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_butCancel").click(function() { $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog("close"); return false; }); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_butOk").click(function() { return $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialogCloseAndSubmit($(this).attr("id")); }); //function for keypress event // $(document).keypress(function(e) { // switch (e.which) { // // user presses the "s" key // case 115: // var titleFirst = getCtrlPrefix() + "hdnTitleOfTheme"; // var labelTitle = document.getElementById(titleFirst.replace("_sendForm1","")); // var s = document.title + ' - ' + labelTitle.value; // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtTheme").val(s); // getSelText(); // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog("open"); // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtComment").focus(); // return false; // break; // } // }); }); 11.
, , , , , , . , .
, , , , , , , ( 2 194 ).
, , , . . ( 3 194 ) .
.
, , .
170 , .
, . , , . - , , .
, , , . . , , , .
.. , , . , .. : 1) , , . , ( , ..) , ; 2) , , . , , ( , ..). , ; 3) , . , , ); 4) , , ; 5) , ( , ..)32.
, 108 476 . , 194 , , , ( ), , .
.
//function to get selected text function getSelText() { var txt = ''; if (window.getSelection) { txt = window.getSelection(); } else if (document.getSelection) { txt = document.getSelection(); } else if (document.selection) { txt = document.selection.createRange().text; } else return; $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtSelectedText").val(txt); } function getCtrlPrefix() { return document.getElementById("ctl00_ctl00_MPCPH_CMPCPH_sendForm1_hdnCtrlPrefix").value; } //function for showing popup $(document).ready(function() { $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").css("display", "block"); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog ({ autoOpen: false, modal: true, width: 400, height: 500, dialogClass: "popupDialog", resizable: false, overlay: { opacity: 0.5, background: "black" } }); // $('.lbPopupLink').click(function() { // var titleFirst = getCtrlPrefix() + "hdnTitleOfTheme"; // var labelTitle = document.getElementById(titleFirst.replace("_sendForm1", "")); // var s = document.title + ' - ' + labelTitle.value; // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtTheme").val(s); // getSelText(); // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog("open"); // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtComment").focus(); // return false; // }); //function for click on image $('#lbLink').click(function() { var titleOfThemeFirst = getCtrlPrefix() + "hdnTitleOfTheme"; var labelTitle = document.getElementById(titleOfThemeFirst.replace("_sendForm1", "")); var titleOfLessonF = getCtrlPrefix() + "hdnTitleOfLesson"; var labelTitleOfLesson = document.getElementById(titleOfLessonF.replace("_sendForm1", "")); var p = labelTitle.value + ' - ' + labelTitleOfLesson.value; var s = ' : ' + document.title; $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtTheme").val(s); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_hdnPath").val(p); getSelText(); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog("open"); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtComment").focus(); return false; }); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_butCancel").click(function() { $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog("close"); return false; }); $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_butOk").click(function() { return $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialogCloseAndSubmit($(this).attr("id")); }); //function for keypress event // $(document).keypress(function(e) { // switch (e.which) { // // user presses the "s" key // case 115: // var titleFirst = getCtrlPrefix() + "hdnTitleOfTheme"; // var labelTitle = document.getElementById(titleFirst.replace("_sendForm1","")); // var s = document.title + ' - ' + labelTitle.value; // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtTheme").val(s); // getSelText(); // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_panelMain").dialog("open"); // $("#ctl00_ctl00_MPCPH_CMPCPH_sendForm1_txtComment").focus(); // return false; // break; // } // }); }); 12.
, , , - () , 33.
193 . . .
( 1 170 ). .
, , , . , , , .
, , . , .. , . , , , , , . , , , . 34. , , . , , , 2 193 35.
( 3 193 ) . , . , , . , . , . , , .
, . , , . .
, , . , , 307 308 .
, . , ( ) .
, , . .
. .
, , .
, , . , ( ), . , , , .
. : , , , - . , , 36. .
8 193 , , . ( 11 ).