Ajax Layer JavaScript DHTML





YAHOO.widget.Panel - PhotoBox Example













  YAHOO.namespace("example.photobox");
  function init() {
    YAHOO.example.photobox.box = new YAHOO.widget.PhotoBox("win", { 
    effect:[{effect:YAHOO.widget.ContainerEffect.FADE,duration:0.45},{effect:YAHOO.widget.PanelEffect.BODY_EXPAND_V,duration:0.35}], 
    fixedcenter: true, constraintoviewport: true, underlay:"none", close:true, visible:false, draggable:false, modal:true, 
    photos:[{src:"http://www.rntsoft.com/style/logo.png",caption:"Linus"},
        {src:"http://www.rntsoft.com/style/logo.png",caption:"Linus 2"},
        {src:"http://www.rntsoft.com/style/logo.png",caption:"Dobb's Ferry, NY"}
        ], width:"500px"}  
        );
    YAHOO.example.photobox.box.render();
  }
  YAHOO.util.Event.addListener(window, "load", init);



  
    
      

PhotoBox Example


    

    
      Show the PhotoBox
      
    

  

  
      Linus
      
        
      
    
  


           
       
yui.zip( 3,714 k)