Commit 7da1a73c by o.kimura

フェード

parent ed8f5eec
Showing with 20 additions and 5 deletions
...@@ -361,4 +361,18 @@ span.icon_topics{ ...@@ -361,4 +361,18 @@ span.icon_topics{
float: left; float: left;
text-align: left; text-align: left;
padding-bottom: 20px; padding-bottom: 20px;
}
.mv_fade {
cursor: pointer;
opacity: 1;
}
.mv_fade:hover{
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-ms-transition: all 0.5s;
-o-transition: all 0.5s;
transition: all 0.5s;
opacity: .7;
} }
\ No newline at end of file
...@@ -210,11 +210,11 @@ function includeSideEn_pict() { ...@@ -210,11 +210,11 @@ function includeSideEn_pict() {
function includeShowcaseImage() { function includeShowcaseImage() {
showcaseimage = new Array(); showcaseimage = new Array();
showcaseimage[0] = "<img src='images/mv_test.jpg' alt='' width='860' height='auto' />"; showcaseimage[0] = "<img src='images/mv_test.jpg' alt='' width='860' height='auto' class='mv_fade' />";
showcaseimage[1] = "<img src='images/mv_test.jpg' alt='' width='860' height='auto' />"; showcaseimage[1] = "<img src='images/mv_test.jpg' alt='' width='860' height='auto' class='mv_fade' />";
showcaseimage[2] = "<img src='images/mv_test.jpg' alt='' width='860' height='auto' />"; showcaseimage[2] = "<img src='images/mv_test.jpg' alt='' width='860' height='auto' class='mv_fade' />";
showcaseimage[3] = "<img src='images/mv_test.jpg' alt='' width='860' height='auto' />"; showcaseimage[3] = "<img src='images/mv_test.jpg' alt='' width='860' height='auto' class='mv_fade' />";
showcaseimage[4] = "<img src='images/mv_test.jpg' alt='' width='860' height='auto' />"; showcaseimage[4] = "<img src='images/mv_test.jpg' alt='' width='860' height='auto' class='mv_fade' />";
n = Math.floor(Math.random() * showcaseimage.length); n = Math.floor(Math.random() * showcaseimage.length);
document.write(showcaseimage[n]); document.write(showcaseimage[n]);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment