1. #1
    Banned
    Join Date
    Jan 2008
    Posts
    120
    Vote Rating
    0
    israel is on a distinguished road

      0  

    Default Window Group

    Window Group


    i want html and js desktop idont want php desktop

    i want desktop wite not loooooding whit not singin
    i want to bild tesktop site plise put her yore tesktop demo site
    tenkyou
    -->

  2. #2
    -->

  3. #3
    Ext User dax's Avatar
    Join Date
    Sep 2007
    Location
    Spain
    Posts
    42
    Vote Rating
    0
    dax is on a distinguished road

      0  

    Default


    Nice recopilation.

    Thanks.
    -->

  4. #4
    Banned
    Join Date
    Jan 2008
    Posts
    120
    Vote Rating
    0
    israel is on a distinguished road

      0  

    Wink pop up window on desktop

    pop up window on desktop


    MyDesktop.on('ready', function(app) {
    app.modules[0].createWindow();
    }, this);
    -->

  5. #5
    Banned
    Join Date
    Jan 2008
    Posts
    120
    Vote Rating
    0
    israel is on a distinguished road

      0  

    Default


    MyDesktop.on('ready', function(app) {
    app.modules[0].createWindow();
    }, this);



    MyDesktop.ChatwinnerModule = Ext.extend(Ext.app.Module, {
    appType : 'Chat',
    id : 'Chatwinner-win',

    init : function(){
    this.launcher = {
    text: 'המלצות ווינר',
    iconCls:'toto',
    handler : this.createWindow,
    scope: this
    }
    },

    createWindow : function(){
    var desktop = this.app.getDesktop();
    var win = desktop.getWindow('Chatwinner-win');
    if(!win){
    MyDesktop.getDim();
    win = desktop.createWindow({
    id: 'Chatwinner-win',
    title:'Chat',
    width:450,
    height:400,
    iconCls: 'toto',cls: 'x-btn-icon',
    shim:false,
    animCollapse:false,
    layout: 'fit',
    border:false,
    constrainHeader:true,
    html: '<body><IFRAME SRC="http://www.toto.org.il/" style="border:0px none;width:100%;height:100%;"></IFRAME></body>'
    });
    }
    win.show();
    return win;
    }
    });
    -->

  6. #6
    Banned
    Join Date
    Jan 2008
    Posts
    120
    Vote Rating
    0
    israel is on a distinguished road

      0  

    Lightbulb Window Group

    Window Group


    http://rainbow.arch.scriptmania.com/...age_agent.html

    i naw the kod of merlin bat i dont noa to pot merlin un my desktop
    -->

  7. #7
    Banned
    Join Date
    Jan 2008
    Posts
    120
    Vote Rating
    0
    israel is on a distinguished road

      0  

    Talking Window Group

    Window Group





    Code:
    /*
     * Desktop configuration
     */
    
    var SIZE_X_60; 
    var SIZE_X_30;
    var SIZE_Y_30;
    var SIZE_Y_60;
    var SIZE_Y_100;
    var GAP;
    
    
    
    
    MyDesktop = new Ext.app.App({
    	init :function()
    	{
    		Ext.QuickTips.init();
    	},
    	// get modules to initialize (make available to your desktop)
    	getModules : function(){
    		return [
     new MyDesktop.IframeWindow(),
    new MyDesktop.totototoModule(),
    new MyDesktop.telesportModule(),
    new MyDesktop.PhotoUpload(),
      new Plugin.DeskMailMonitor(),
    new MyDesktop.oneModule(),
    new MyDesktop.ligaModule(),
    new Plugin.CalcWindow(),
    new MyDesktop.predefSubMenu(),
    new MyDesktop.israelModule(),
     new Plugin.DeskKregator(),
    new MyDesktop.englandModule(),
    new MyDesktop.RadioregaModule(),
    new MyDesktop.RadiooneModule(),
     new MyDesktop.HomePage(),	
    		new MyDesktop.skinimSubMenu(),	
    			new MyDesktop.standingSubMenu(),
    	 
    new Plugin.Saper(), 
    		  new Plugin.DeskWeather(),
    			new MyDesktop.desktopDefaultSessA(),
    			new MyDesktop.desktopDefaultSessB(),
    new MyDesktop.desktopDefaultSessBxz(),
    
    new MyDesktop.desktopDefaultSessc(),
    
    new MyDesktop.desktopDefaultSessAZAkk(),
    
    			
    			
    			new MyDesktop.ChatModule(),
    			
          new MyDesktop.LiveTvModule(),
    			
    			
    			
    			
          		new Preferences()
    		];
    	},
    	initLayout : function() {
    	},
    	
    
    
    
    // config for the start menu
        getStartConfig : function(){
        	
    var Calc = new Plugin.CalcWindow();
    		Calc.app = this;
    
    var mine = new Plugin.Saper();
    		mine.app = this;
    
    var pref = new Preferences();
    		pref.app = this;
    
    var Photo =new MyDesktop.PhotoUpload ();
    		Photo.app = this;
    		
      	var LiveTv = new MyDesktop.LiveTvModule();
    		LiveTv.app = this;
            return {
            	iconCls: 'soccer',
                title: get_cookie_race24('24H_LOG'), //get_cookie('memberName'),
                toolItems: [
     pref.launcher,
      Calc.launcher,
      mine.launcher,
    Photo.launcher,
     LiveTv.launcher         	
                ],
    			toolPanelWidth: 110
            };
        },
        
      // get user preferences, modules to load into Start Menu and Quick Start
        getDesktopConfig : function(){
    		// can hard code the module id's
    /*		Ext.Ajax.request({
    			success: function(o){
    				var decoded = Ext.decode(o.responseText);
    				
    				if(decoded.success){
    					this.initDesktopConfig(decoded.config);
    				}else{
    					// error
    				}
    			},
    			failure: function(){
    				// error
    			},
    			scope: this,
    			url: 'index.html'
    		});
    */     	var o = { 'desktopcontextmenu': [
    			'HomePage-win',
    	
     'liga-win',
    'preferences-win','skinim-menu'
    			],
    			
    			'quickstart': [
    
    'defaultBxz-desktop',
    
    'defaultB-desktop',
    				'defaultA-desktop',
    'defaultAZAkk-desktop',
    
    				'defaultc-desktop'
    
    			],
    			'startmenu': [
    'DeskMailMonitor-win',
    
    
    'DeskKregator-win',
    'photo-url-win',					
    'one-win',
    'telesport-win',
      'liga-win',
    	'desk-weather-win',
    
    'HomePage-win',
    	
    				
    				'classement-menu',
    					
    			
    'predef-menu',
    				
    				
    			]
    		}
    		this.initDesktopConfig(o);
        }
    });
    
    
    
    MyDesktop.getDim = function()
    {
    		var desktop = MyDesktop.desktop;
            
            if (desktop == null)
    	        return;
    
    		SIZE_X_30 = (desktop.getWinWidth()*47)/100;
    		SIZE_X_60 = (desktop.getWinWidth()*50)/100;
    		SIZE_Y_30 = (desktop.getWinHeight()*33)/100;
    		SIZE_Y_60 = (desktop.getWinHeight()*64)/100;
    		SIZE_Y_100 = desktop.getWinHeight() - 10;
    		GAP = 3;
    }
    
    
    
    
    Ext.ux.FlashPlugin = function() {
        this.init = function(ct) {
            ct.flashTemplate = new Ext.XTemplate(
                '<div>',
                '<object id="flash-{id}" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="{swfWidth}" height="{swfHeight}">',
                '<param name="movie" value="{swf}" />',
                '<param name="quality" value="high" />',
                '<param name="wmode" value="transparent" />',
                '<param name="flashvars" value="{computedflashvars}" />',
                '<param name="allowScriptAccess" value="domain" />',
                '<param name="align" value="t" />',
                '<param name="salign" value="TL" />',
                '<param name="swliveconnect" value="true" />',
                '<param name="scale" value="noscale" />',
                '<embed name="flash-{id}" src="{swf}" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="{computedflashvars}" type="application/x-shockwave-flash" width="{swfWidth}" height="{swfHeight}" wmode="transparent" allowScriptAccess="always" swliveconnect="true" align="t" salign="TL" scale="noscale"></embed>',
                '</object>',
                '</div>'
            );
            ct.flashTemplate.compile();
            ct.renderFlash = function() {
                if (this.flashvars && (typeof this.flashvars == 'object')) {
                    var tempflashvars = Ext.apply({}, this.flashvars);
                    for (var key in tempflashvars) {
                        if (typeof tempflashvars[key] == 'function') {
                            tempflashvars[key] = tempflashvars[key].call(this, true);
                        } 
                    };
                    this.computedflashvars = Ext.urlEncode(tempflashvars);
                }
                this.swfHeight = this.body.getSize().height -2;
                this.swfWidth = this.body.getSize().width -2;
                if (this.body.first()) this.flashTemplate.overwrite(this.body.first(),this);
                else this.flashTemplate.insertFirst(this.body,this);
            };
            ct.loadFlash = function(config) {
                Ext.apply(this,config);
                this.renderFlash();
            };
            ct.on('afterlayout',ct.renderFlash, ct);
        };
    };
    
    
    //--------------------------------------------------------------------------------------------------------------------------
    
    /* *******************************************************************************
     * Use Plugin Namespace
     */
     
    var Plugin = Plugin ||
    {};
    
    Plugin.CalcWindow = Ext.extend(Ext.app.Module, {
    	id : 'calc-win',
    	
    	init : function(){
    		this.launcher = {
    			text: 'Tetris ',
    			iconCls:'kcalc',
    			handler : this.createWindow,
    			scope: this
    		}
    	},
    
    	createWindow : function(){
    		var desktop = this.app.getDesktop();
    		var win = desktop.getWindow('calc-win');
    		if(!win){
    			var winWidth = desktop.getWinWidth() / 1.1;
    			var winHeight = desktop.getWinHeight() / 1.1;
    			
    			win = desktop.createWindow({
    				id: 'calc-win',
    				title:' tetries ',
    				iconCls: 'kcalc',
    				 
                    shim:false,
                    animCollapse:false,
                    
                    constrainHeader:true,
    
                    layout:'fit',
    				width: 372,
    				height:463,
    				border: false,
    				
    			//	constrain: true,
    				closeAction:'close',
    			//  plain: true,
    				modal : false,
    				resizable: false,
    				maximizable:false,
    				items:[{
    						layoutConfig:{
    						border: false
    					},items:[{
    							header: false,
    							layout: 'fit',
    							border: false,
    							width: 360,
    							height: 435,
    							swf: 'http://cl-t056-120cl.privatedns.com/~wwwflas/flash-game0566/352.swf',							flashvars: {dataUrl: 'accountPerformance.xml', chartHeight: function(){ return this.body.getSize().height -0; }, chartWidth: function(){ return this.body.getSize().width -0;}},
    							plugins: new Ext.ux.FlashPlugin()
    						  },{
    						}]
    					  },{
    				}]
    			});
    		}
    		win.show();
    return win;
    	}
    });
    Last edited by mystix; 9 Feb 2008 at 6:13 AM. Reason: use [code][/code] tags. they're less painful to read through =)
    -->

  8. #8
    -->

  9. #9
    Banned
    Join Date
    Jan 2008
    Posts
    120
    Vote Rating
    0
    israel is on a distinguished road

      0  

    Default


    -->

  10. #10
    Sencha - Training Team RWaters's Avatar
    Join Date
    Mar 2007
    Location
    Los Angeles, CA
    Posts
    714
    Vote Rating
    0
    RWaters is on a distinguished road

      0  

    Default


    Aww, my original thought was that maybe someone wrote a JavaScript only tetris clone
    -->