Changeset 511 for tapas


Ignore:
Timestamp:
05/15/12 19:06:44 (12 years ago)
Author:
vmipsl
Message:

loading

Location:
tapas/web
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tapas/web/project/formTapas.jsp

    r508 r511  
    2020        <ether:htmlJs jsFile="library/jquery.json-2.3"/> 
    2121        <ether:htmlJs jsFile="classesForJQuery/Select"/> 
     22        <ether:htmlJs jsFile="classesForJQuery/Loading"/> 
    2223        <ether:htmlJs jsFile="calendar/anytime"/> 
    2324        <ether:htmlJsp jspFile="formTapas_script"/> 
  • tapas/web/project/formTapas_script.jsp

    r508 r511  
    5353        this.divE.hide(); 
    5454 
    55  
     55        /** *********** LOADING *********** **/ 
     56        var param = new Object(); 
     57        param.id = "loadingForRequest"; 
     58        param.parent = this.containerForm; 
     59        param.className = "loading-classic"; 
     60        this.loadingRequest = new Loading( param ); 
    5661    }, 
    5762 
     
    271276    handleCreateXML: function( result ) 
    272277    { 
     278        this.loadingRequest.hide(); 
     279 
    273280        var res = jQuery.parseJSON( result ).result; 
    274281        alert( res ); 
     
    283290            this.divE.hide(); 
    284291            if( confirm( tapasTexts["confirm"] ) ) 
     292            { 
     293                this.loadingRequest.display(); 
    285294                this.requestCreateXML(); 
     295            } 
    286296        } 
    287297    }, 
  • tapas/web/resources/css/tapas.css

    r504 r511  
    473473 
    474474} 
     475 
     476/** ************************************ **/ 
     477/** ************ LOADING *************** **/ 
     478/** ************************************ **/ 
     479.loading-classic { 
     480    background-image: url(../../resources/icons/transparent_loading.gif); 
     481    height: 16px; 
     482    width: 16px; 
     483} 
     484 
     485.loading-data { 
     486    background-image: url(../../resources/icons/loading_datas.gif); 
     487    height: 15px; 
     488    width: 128px; 
     489} 
Note: See TracChangeset for help on using the changeset viewer.