Difference between revisions of "Team:USTC"

Line 77: Line 77:
 
     <!--For multiple devices-->
 
     <!--For multiple devices-->
 
     <style>
 
     <style>
      
+
     @media only screen
 +
    and (min-width: 1025px){
 
     div#menuForTablet{
 
     div#menuForTablet{
 
     display:none;
 
     display:none;
Line 84: Line 85:
 
     margin-top:-13px;
 
     margin-top:-13px;
 
     }
 
     }
 
+
    }
 +
 
 +
    @media only screen
 +
    and (max-width : 1024px)
 +
    and (orientation : landscape) {
 +
 
 +
    }
 +
    @media only screen
 +
    and (max-width : 1024px)
 +
    and (orientation : portrait) {
 
      
 
      
 +
    }
 
     </style>
 
     </style>
 
   </head>
 
   </head>
Line 276: Line 287:
 
                   });
 
                   });
 
                    
 
                    
 +
 
                    
 
                    
 
                   });//End of $(document).ready(function())
 
                   });//End of $(document).ready(function())
Line 283: Line 295:
 
                   $("div.sidebar").prependTo("body");
 
                   $("div.sidebar").prependTo("body");
 
                   $("div#sideMenu").prependTo("div.pusher");
 
                   $("div#sideMenu").prependTo("div.pusher");
 +
 +
                    $(window).resize(function(){
 +
                      var windowWidth;
 +
                      windowWidth = document.documentElement.clientWidth;640,20,880,95
 +
                      $('#Project').coords=("'" + 640*windowWidth/1280 + "," + 20*windowWidth/1280 + "," +880*windowWidth/1280 + "," +95*windowWidth/1280 +"'");
 +
 +
                    });
 
                    
 
                    
 +
 +
 
                   });
 
                   });
 
                   $("#sidebarMenuTrigger").click(function(){
 
                   $("#sidebarMenuTrigger").click(function(){

Revision as of 02:08, 19 October 2016

Modeling