section fixed and some other fixes
This commit is contained in:
		
							parent
							
								
									7430a05782
								
							
						
					
					
						commit
						8094ddc967
					
				| 
						 | 
					@ -344,7 +344,7 @@ orbitDesktop.prototype.initializeJournalPapers = function(target,url,cache){ //
 | 
				
			||||||
                fill: '.s_grid_con'
 | 
					                fill: '.s_grid_con'
 | 
				
			||||||
              })
 | 
					              })
 | 
				
			||||||
              $(".bt-cancel").click(function(){
 | 
					              $(".bt-cancel").click(function(){
 | 
				
			||||||
                o.sub_menu_item($(div[content-type=menu] a[custom-load=acoauthor]));
 | 
					                o.sub_menu_item($("div[content-type=menu] a[custom-load=acoauthor]"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              })
 | 
					              })
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -233,6 +233,21 @@ var orbitDesktop = function(dom){
 | 
				
			||||||
              if(o.data_method != "")
 | 
					              if(o.data_method != "")
 | 
				
			||||||
                window.o[o.data_method](target,url,cache);
 | 
					                window.o[o.data_method](target,url,cache);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            try{
 | 
				
			||||||
 | 
					              if(!customload)
 | 
				
			||||||
 | 
					                o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
 | 
				
			||||||
 | 
					              else{
 | 
				
			||||||
 | 
					                if(submenuitem)
 | 
				
			||||||
 | 
					                    o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[custom-load="+submenuitem+"]"));
 | 
				
			||||||
 | 
					                  else
 | 
				
			||||||
 | 
					                    o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					              }catch(EX){}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					         })
 | 
				
			||||||
 | 
					        }else{
 | 
				
			||||||
 | 
					          $(o.contentHolder).html(o.desktopData[o.currentface]);
 | 
				
			||||||
 | 
					          try{
 | 
				
			||||||
            if(!customload)
 | 
					            if(!customload)
 | 
				
			||||||
              o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
 | 
					              o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
 | 
				
			||||||
            else{
 | 
					            else{
 | 
				
			||||||
| 
						 | 
					@ -241,18 +256,7 @@ var orbitDesktop = function(dom){
 | 
				
			||||||
                else
 | 
					                else
 | 
				
			||||||
                  o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
 | 
					                  o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
 | 
					            }catch(EX){}
 | 
				
			||||||
         })
 | 
					 | 
				
			||||||
        }else{
 | 
					 | 
				
			||||||
          $(o.contentHolder).html(o.desktopData[o.currentface]);
 | 
					 | 
				
			||||||
          if(!customload)
 | 
					 | 
				
			||||||
            o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
 | 
					 | 
				
			||||||
          else{
 | 
					 | 
				
			||||||
            if(submenuitem)
 | 
					 | 
				
			||||||
                o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[custom-load="+submenuitem+"]"));
 | 
					 | 
				
			||||||
              else
 | 
					 | 
				
			||||||
                o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
          cache = true;
 | 
					          cache = true;
 | 
				
			||||||
          if(typeof o.data_method != "undefined"){
 | 
					          if(typeof o.data_method != "undefined"){
 | 
				
			||||||
             if(o.data_method != "")
 | 
					             if(o.data_method != "")
 | 
				
			||||||
| 
						 | 
					@ -565,7 +569,6 @@ var orbitDesktop = function(dom){
 | 
				
			||||||
      loadApps();
 | 
					      loadApps();
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
  this.initializeSectionsManager = function(target,url,cache){ // this is init function for section manager
 | 
					  this.initializeSectionsManager = function(target,url,cache){ // this is init function for section manager
 | 
				
			||||||
 | 
					 | 
				
			||||||
    var elementParent,element,slabel;
 | 
					    var elementParent,element,slabel;
 | 
				
			||||||
    var bindHandlers = function(){  // this is bind handler for section manager page
 | 
					    var bindHandlers = function(){  // this is bind handler for section manager page
 | 
				
			||||||
      var groupWrapperWidth = 0;
 | 
					      var groupWrapperWidth = 0;
 | 
				
			||||||
| 
						 | 
					@ -641,6 +644,7 @@ var orbitDesktop = function(dom){
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          $.each(apps,function(i,app){
 | 
					          $.each(apps,function(i,app){
 | 
				
			||||||
            $li = $('<li class="element to_drop w1 hh2 hp vp" data-category="'+app.data_category+'" data-content="'+app.data_content+'" id="'+app._id+'"><div class="appicon"><img src="'+o.iconPath+app.data_content+'.png" class="" width="30" /></div><h1 class="appname thmtxth">'+app.title+'</h1></li>');
 | 
					            $li = $('<li class="element to_drop w1 hh2 hp vp" data-category="'+app.data_category+'" data-content="'+app.data_content+'" id="'+app._id+'"><div class="appicon"><img src="'+o.iconPath+app.data_content+'.png" class="" width="30" /></div><h1 class="appname thmtxth">'+app.title+'</h1></li>');
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
            $("ul#section"+yy).append($li);
 | 
					            $("ul#section"+yy).append($li);
 | 
				
			||||||
          })
 | 
					          })
 | 
				
			||||||
          if(y==1){
 | 
					          if(y==1){
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,18 +1,178 @@
 | 
				
			||||||
<div class="tinycanvas vp">
 | 
					<div id="sections">
 | 
				
			||||||
	<div class="scrollbar sb_v hp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
 | 
					<div id="content">
 | 
				
			||||||
	<div class="viewport">
 | 
							<div id="header" class="hh3">
 | 
				
			||||||
		<div class="overview">
 | 
								<div class="dtitle w2 hh3 hp">
 | 
				
			||||||
			<div class="s_title hh3">Section Names</div>
 | 
									<span class="thmtxth">All Sections</span>
 | 
				
			||||||
			<ul class="s_form" id="desktop_names">
 | 
					 | 
				
			||||||
				<li><label for="s_name1">Section 1</label><input id="s_name1" type="text" value=""></li>
 | 
					 | 
				
			||||||
				<li><label for="s_name2">Section 2</label><input id="s_name2" type="text" value=""></li>
 | 
					 | 
				
			||||||
				<li><label for="s_name3">Section 3</label><input id="s_name3" type="text" value=""></li>
 | 
					 | 
				
			||||||
				<li><label for="s_name4">Section 4</label><input id="s_name4" type="text" value=""></li>
 | 
					 | 
				
			||||||
			</ul>
 | 
					 | 
				
			||||||
			<div class="s_subtitle">sample desciption</div>
 | 
					 | 
				
			||||||
			<div class="s_action">
 | 
					 | 
				
			||||||
				<a href="" id="name_save_btn" class="setting_btn thmc1 thmtxt w1 hh2 hp" onclick='return false;'>Confirm</a>
 | 
					 | 
				
			||||||
			</div>
 | 
								</div>
 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
 | 
							<div id="holder">
 | 
				
			||||||
 | 
								<div class="tinycanvas">
 | 
				
			||||||
 | 
									<div class="scrollbar sb_h"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
 | 
				
			||||||
 | 
									<div class="viewport">
 | 
				
			||||||
 | 
									<div id="group_wrapper" class="overview">
 | 
				
			||||||
 | 
									<!--	<div class="group">
 | 
				
			||||||
 | 
											<div class="section_label" >
 | 
				
			||||||
 | 
												<ul>
 | 
				
			||||||
 | 
													<li class="element w1 h1 hp vp thmtxt"><span class="tile thmc1"></span><span class="thmtxt">section 1</span></li>
 | 
				
			||||||
 | 
													<li class="element w1 h1 hp vp thmtxt " style="display: none;" data-category="section2"><span class="tile thmc2 op06"></span><span class="thmtxt">section 2</span></li>
 | 
				
			||||||
 | 
													<li class="element w1 h1 hp vp thmtxt " style="display: none;" data-category="section3"><span class="tile thmc2 op06"></span><span class="thmtxt">section 3</span></li>
 | 
				
			||||||
 | 
													<li class="element w1 h1 hp vp thmtxt " style="display: none;" data-category="section4"><span class="tile thmc2 op06"></span><span class="thmtxt">section 4</span></li>
 | 
				
			||||||
 | 
												</ul>
 | 
				
			||||||
 | 
											</div>
 | 
				
			||||||
 | 
											<ul class="grp" id="section1">
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
									            <li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
									            <li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												
 | 
				
			||||||
 | 
									                        
 | 
				
			||||||
 | 
											</ul>
 | 
				
			||||||
 | 
										</div>
 | 
				
			||||||
 | 
										<div class="group">
 | 
				
			||||||
 | 
											<div class="section_label" >
 | 
				
			||||||
 | 
												<ul>
 | 
				
			||||||
 | 
													<li class="element w1 h1 hp vp thmtxt"><span class="tile thmc1"></span><span class="thmtxt">section 2</span></li>
 | 
				
			||||||
 | 
													<li class="element w1 h1 hp vp thmtxt " style="display: none;" data-category="section1"><span class="tile thmc2 op06"></span><span class="thmtxt">section 1</span></li>
 | 
				
			||||||
 | 
													<li class="element w1 h1 hp vp thmtxt " style="display: none;" data-category="section3"><span class="tile thmc2 op06"></span><span class="thmtxt">section 3</span></li>
 | 
				
			||||||
 | 
													<li class="element w1 h1 hp vp thmtxt " style="display: none;" data-category="section4"><span class="tile thmc2 op06"></span><span class="thmtxt">section 4</span></li>
 | 
				
			||||||
 | 
												</ul>
 | 
				
			||||||
 | 
											</div>
 | 
				
			||||||
 | 
											<ul class="grp" id="section2">
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
									            <li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
									            <li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												<li class="element w1 hh2 hp vp" data-category="abc">
 | 
				
			||||||
 | 
													<h1 class="appname thmtxth">Garage Band</h1>
 | 
				
			||||||
 | 
												</li>
 | 
				
			||||||
 | 
												
 | 
				
			||||||
 | 
											</ul>
 | 
				
			||||||
 | 
										</div>-->
 | 
				
			||||||
 | 
										<div class="clear"></div>
 | 
				
			||||||
 | 
									</div>
 | 
				
			||||||
 | 
								</div>
 | 
				
			||||||
 | 
							</div>
 | 
				
			||||||
 | 
							</div>
 | 
				
			||||||
 | 
						</div>
 | 
				
			||||||
	</div>
 | 
						</div>
 | 
				
			||||||
</div>
 | 
					 | 
				
			||||||
		Loading…
	
		Reference in New Issue