1var $publisher = jQuery.noConflict(); 2 3$publisher(document).ready(function () { 4 //Functions to execute on page load 5 if ($publisher.isFunction($publisher.fn.tabs)) { 6 $publisher("#tabs").tabs(); 7 } 8 var MenuDom = xoopsGetElementById('image_item'); 9 if (MenuDom != null) { 10 for (var i = 0; i < MenuDom.options.length; i++) { 11 MenuDom.options[i].selected = true; 12 } 13 } 14 15}); 16 17 18function publisher_appendSelectOption(fromMenuId, toMenuId) { 19 var fromMenuDom = xoopsGetElementById(fromMenuId); 20 var toMenuDom = xoopsGetElementById(toMenuId); 21 var newOption = new Option(fromMenuDom.options[fromMenuDom.selectedIndex].text, fromMenuDom.options[fromMenuDom.selectedIndex].value); 22 newOption.selected = true; 23 toMenuDom.options[toMenuDom.options.length] = newOption; 24 fromMenuDom.remove(fromMenuDom.selectedIndex); 25 26 var MenuDom = xoopsGetElementById('image_item'); 27 if (MenuDom != null) { 28 for (var i = 0; i < MenuDom.options.length; i++) { 29 MenuDom.options[i].selected = true; 30 } 31 } 32} 33 34function publisher_updateSelectOption(fromMenuId, toMenuId) { 35 var fromMenuDom = xoopsGetElementById(fromMenuId); 36 var toMenuDom = xoopsGetElementById(toMenuId); 37 for (var i = 0; i < toMenuDom.options.length; i++) { 38 toMenuDom.remove(toMenuDom.options[i]); 39 } 40 var index = 0; 41 for (var i = 0; i < fromMenuDom.options.length; i++) { 42 if (fromMenuDom.options[i].selected) { 43 var newOption = new Option(fromMenuDom.options[i].text, fromMenuDom.options[i].value); 44 toMenuDom.options[index] = newOption; 45 index++; 46 } 47 } 48} 49 50// ----------------------- NEW -------------------- 51 52/* 53function call_php_function(php_function, anyattribut) { 54 $.post("functions.php", ("call_function": php_function), ("attribute_name": anyattribut), function(data) { 55 // Data is what you get from the echo in the PHP-Script below 56 alert(data); // Outputs "hello" 57 } 58} 59 60 61function call_php_function(directory) { 62 63} 64 65function myAjax() { 66 $.ajax({ 67 type: "POST", 68 url: 'your_url/ajax.php', 69 data:{action:'call_this'}, 70 success:function(html) { 71 alert(html); 72 } 73 74 }); 75} 76 77 (function($){ 78 $(document).ready(function(){ 79 $.jGrowl("<br>Incorrect Login!<br>using xoops authentication method", { life:3000 , position: "center", speed: "slow" }); 80 }); 81 })(jQuery); 82 83 84 85 86 87*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.