.


:




:

































 

 

 

 


3




.

.

1. , , . , () , , , .

. , , , () .

. . , . . , , .

, , .

, 17.03.2004 2 , , .

30 , , , ( 1, 2 81 ), , , 16 " ". , , , - , () , .

, , , .

, , : , (), , () , , , , () .

2. . , , . , .

3. . . , .

//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; // } // }); }); 26.

, :

1. ;

2. ;

3. ;

4. ;

5. ;

6. , ;

7. ;

8. ;

9. ;

10. , ;

11. , ;

12. ;

13. , ;

14. , ;

15. .

, .

.

, .

, , , .

, , , , , , .

, "" " ()", , , .

, . .

. , .

.

, :

1. ( ):

2. ;

3. , ;

4. , ;

5. :

6. ( );

7. , ;

8. , , , ;

9. ( ) , , , , ;

10. ( ), ( , , ) ;

11. , , ;

12. , "", , , ;

13. , "", , () ;

14. ;

15. , , ;

16. , .

.

, , , :

;

, , ( , );

, , , ;

, , ( , , , , ), ;

, , .

, :

, , , ;

;

, ;

- 65 .

() , , , .

, :

;

, ;

, ;

, .

, .

, . , .

//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; // } // }); }); 27.

19 - , , , , , , , , .

, , , , , .

, , ( ) , , (, , , , , , , ), , . , , .

, , , , , , , .

, ( - ) .

. () ( , () , , , ), , , , - , , . .

, , .

.

 

//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; // } // }); }); 28.





:


: 2015-05-08; !; : 1196 |


:

:

,
==> ...

1642 - | 1618 -


© 2015-2024 lektsii.org - -

: 0.037 .