js_post_script
Войти

js_post_script

js_post_script

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php 

  post
: function(urlqueryoptions) {

    if (
url.substr(01) != '/' && url.substr(04) != 'http'){
      
url '/' url
    }

    var 
extend(
      {
_captchafalse_boxfalse}, 
      
options || {}
    ), 

    
extend({alo.frame ? -1}, query);

      if (
o.progress) {
        if (!
o.showProgress) {
          
o.showProgress show.pbind(o.progress);
        }
        if (!
o.hideProgress) {
          
o.hideProgress hide.pbind(o.progress);
        }
      }

      if (
o.loader) {
       
o.showProgress = function() {
          
boxRefreshCoords(boxLoader);
          
show(boxLoader);
          
show(boxLayerWrap);
       }
       
o.hideProgress = function() {
         
hide(boxLoader);
         
hide(boxLayerWrap);
       }
     }
     return 
ajax._post(urlqo);
   },

?>
Теги:
php