Changeset 16012

Show
Ignore:
Timestamp:
07/19/08 07:03:28 (5 years ago)
Author:
f-shin
Message:

update

Location:
lang/javascript/PluggableInlineWindow/trunk/js
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/PluggableInlineWindow/trunk/js/f_window.js

    r16011 r16012  
    124124 
    125125                } 
    126  
    127                 if ( initX && initY){ 
    128                         win.style.left = initX + 'px'; 
    129                         win.style.top = initY + 'px'; 
    130                 } 
     126                if (!initX) initX = 0; 
     127                if (!initY) initY = 0;           
     128                win.style.left = initX + 'px'; 
     129                win.style.top = initY + 'px'; 
     130                 
    131131                win.style.opacity = 0; 
    132132                win.style.visibility = "visible"; 
    133                 new Effect.Fade(win, { duration:0.5,from:0.2, to:1.0 
    134                 , afterFinish: function() { 
    135                         Element.setOpacity(win,1); 
     133                new Effect.Fade(win , { duration:0.5,from:0.2, to:1.0 
     134                        ,afterFinish : function(){ 
     135                        Element.setOpacity(win , 1.0); 
    136136                        } 
    137137                }); 
  • lang/javascript/PluggableInlineWindow/trunk/js/piwindow_loader.js

    r13298 r16012  
    1010 
    1111var USE; 
    12 var PIWIN_PATH = ''; 
     12var PIWIN_PATH = 'http://f-shin.net/piwindow/'; 
     13//var PIWIN_PATH = 'http://localhost/piwindow/'; 
    1314    //Please input FQDN(ex. http://search.milkstand.net/ ) , if the delivered server is different. 
    1415if (! this['PIWIN_MODULE'] ) PIWIN_MODULE =  'basic'; 
     
    8384        s.charset = 'utf8'; 
    8485        (document.getElementsByTagName('head').item(0) || document.body).appendChild(s); 
     86 
    8587    } 
    8688}