, . , , .
, 21.12.2001 N 178- ( . 2002. N 4. . 251).
3 . (, 2- 3- ) . ( , 04.08.2004 N 1009) . ( "", " ", ) .
//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 -- , . .
-
11. - , ,
-
:
1. .. . ., 2004.
2. .. , - ( - ). , 2003.
3. .. , ., 2002.
4. .. : , , // . 10.2004.
5. .., .. // 2005. 3.