Difference between revisions of "Template:Tokyo Tech"

 
(8 intermediate revisions by the same user not shown)
Line 161: Line 161:
 
}
 
}
  
 +
.small_text{
 +
position: absolute;
 +
left: 0;
 +
}
  
  
Line 440: Line 444:
 
<script type="text/javascript">
 
<script type="text/javascript">
 
$('.small_text').mouseover(function(){
 
$('.small_text').mouseover(function(){
$(this).width('140px');
+
$(this).stop(true, true).animate({
$(this).left('-40px');
+
width: '140px',
 +
left: '-40px'}
 +
, 300);
 
}).mouseout(function(){
 
}).mouseout(function(){
$(this).width('100px');
+
$(this).stop(true, true).animate({
$(this).left('0');
+
width: '100px',
 +
left: '0'}
 +
, 300);
 
});
 
});
 
</script>
 
</script>

Latest revision as of 02:56, 7 November 2016