Difference between revisions of "Team:Tokyo-NoKoGen/Demo"

Line 25: Line 25:
 
}
 
}
  
div#overview {
+
.overview {
 
width:600px;
 
width:600px;
 
height:300px;
 
height:300px;
Line 227: Line 227:
 
  <div id="box1"/*見えない1段目のボックス*/> 
 
  <div id="box1"/*見えない1段目のボックス*/> 
  
  <div id="overview">
+
  <div class="overview">
 
            <img src="http://junk-blog.com/wp-content/uploads/2014/09/sample_image.jpg" alt="サンプル画像" width="550" height="250"alt="Overview"/>
 
            <img src="http://junk-blog.com/wp-content/uploads/2014/09/sample_image.jpg" alt="サンプル画像" width="550" height="250"alt="Overview"/>
 
          
 
          
Line 275: Line 275:
 
$(document).ready(function(){
 
$(document).ready(function(){
 
   
 
   
     $(".sbtn").click(function(){
+
     $(".overview").click(function(){
 
         if($(this).find("a").attr("target")=="_blank"){
 
         if($(this).find("a").attr("target")=="_blank"){
 
             window.open($(this).find("a").attr("href"), '_blank');
 
             window.open($(this).find("a").attr("href"), '_blank');

Revision as of 16:10, 26 August 2015

  
    
        サンプル画像                             
       
 

team

  
 
       

facebook

  
  
       

twitter

  
       
      

project

     
     
       

Achievement

  
  
       

Human practice

  
  
       

Parts

  
  
       

Safety

  
  
       
        
$(document).ready(function(){ $(".overview").click(function(){ if($(this).find("a").attr("target")=="_blank"){ window.open($(this).find("a").attr("href"), '_blank'); }else{ window.location=$(this).find("a").attr("href"); } return false; }); })