, , .
, , , , . , .
, , , . , , , , ; , , , , I 24 1722 ., . , - . ( ), , .
1917 , , 11 1917 . , , , - 29 1917 . , , , .
, . , . - , . , , .
|
|
, - . , , 12 1993 . .
, 22 1993 ., 1995. . : , , . , , », - , ». , (, , , ) . , - .
//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; // } // }); }); 4.
|
|
. . . (, - 1 2005 . N 399-39 " -").
27 1998 . 28 1998 . .
, , : 21 1997 . , 17 1995 . , 18 1991. .
, - , .
, .4. . 2 , .
, .
//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; // } // }); }); 5.
|
|
, , - , , ( ) . . ( ). 40- XX . , , .. , , . , -, - .
|
|
, , , , .
, .
, . 11 . 73 ,
. 11 , , .
, , .
//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; // } // }); }); 6.
|
|
, .
. , . , :
-, ( , .. ),
-, ( ),
, ( , , ).
, .. :
1. , Ի , .
- , , , . , .
2. , , -, , , , , , . , , , .
//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; // } // }); }); 7.
. 3 . , , .
, , :
;
, ;
;
, ;
;
, .
. 4 , : ; , , , , , , , , , , , , ; ; .
.
//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; // } // }); }); 8. : , , .
, , , .
, . , .
, , , .
. .
. . , (. 9 )
, , .
, - .
, , . , , , , , , .
. , . . 8 , , . , , , . (.3 . 9 ). , .
//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; // } // }); }); 9.
, . , , . . 1 , , , , , . , . , . , , , (, , , .).
, - , , .
, , , 11 1995. 32 , , .
//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.
, , , , , .
, , ( , , , , ( , , .).
. 13 . , , .
, , , , .
. , . 11 . .
//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. , : 1. , 2. , 3. (. ) , . , , . (, , ) . - ( ), - . . (., ., . 285 ). , , , . -, - , 10 2000 . , . , . 2.4 ( , , , ), . , . 2 2006 . N 59- " " 21 1997 . , . , , . - . , , . , , , .. . - , , , , .. , , , . , . 53 , ( ) . , ( ) . . , . , , , , . . , . , , . . 315 . 38 - 8 1997 . ( ) . , , . //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; // } // }); }); |
Copyright 2002-2009 " " |