¶¦Í­ÅÐÏ¿PC¥Æ¥ó¥×¥ì¡¼¥È
ºÇ¶á¤Î¥³¥á¥ó¥È

recent comment

ºÇ¿·¤Îµ­»ö

¥×¥í¥Õ¥£¡¼¥ë

dramy

  • Author:dramy
  • µ¤¤ËÆþ¤Ã¤¿»ö¤Ï¤È¤³¤È¤ó¤ä¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
    ¤Û¤É¤Û¤É¤Ë¤·¤¿¤¤¤â¤Î¥Ç¥¹¡£¡´(¡­¢¦¡®*)¡µ

·îÊÌ¥¢¡¼¥«¥¤¥Ö

¥«¥Æ¥´¥ê¡¼

recent trackback

pictlayer

¥µ¥à¥Í¥¤¥ë¥ê¥ó¥¯

¥Û¡¼¥à¥Ú¡¼¥¸ºîÀ®NAVI
stroll::blog
scripts for livedoor
. BLOG ¥É¥Ä¥È¥Ö¥í¥°
¥¦¥§¥Ö¥Ç¥¶¥¤¥ó²¦¤Ø¤ÎÆ»
¤¯¤é¤Õ¤È¹©Ë¼ HILL TOP
FC2¥³¥á¥ó¥ÈÍó¤Ç¤Î³¨Ê¸»ú
¢ö¡¡NATURAL¡¡SPOT¡¡¢ö
ÉԻ׵ĤÊÉÔÀµµÁ

¥Ö¥í¥°Æâ¸¡º÷

RSS¥Õ¥£¡¼¥É

¥ê¥ó¥¯

¤³¤Î¥Ö¥í¥°¤ò¥ê¥ó¥¯¤ËÄɲ乤ë

¥«¥¦¥ó¥¿¡¼


³«»Ï2005-09-03 15:07:42

TB_People

¥«¥ì¥ó¥À¡¼

09 | 2008/10 | 11
Æü ·î ²Ð ¿å ÌÚ ¶â ÅÚ
- - - 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31 -

¥Ö¥í¤È¤â°ìÍ÷


¢£ ¥Ö¥í¥°Ì¾¡§OHANA CAFE

¥Ö¥í¤È¤â¿½ÀÁ¥Õ¥©¡¼¥à

¤³¤Î¿Í¤È¥Ö¥í¤È¤â¤Ë¤Ê¤ë

CSS ¤À¤±¤Ç¥µ¥à¥Í¥¤¥ë¥®¥ã¥é¥ê¡¼

2008/06/11 16:17

JavaScript¤äFlash¤ò»È¤ï¤º¤Ë¥¹¥¿¥¤¥ë¥·¡¼¥È¤À¤±¤Ç
¥µ¥à¥Í¡¼¥ë²èÁü¤Ë¥Þ¥¦¥¹¥ª¡¼¥Ð¡¼¤Ç³ÈÂç²èÁü¤òɽ¼¨¡£¥µ¥à¥Í¡¼¥ë¥¯¥ê¥Ã¥¯¤Ç³ÈÂç²èÁü¤ò¸ÇÄê¡£
¸ÇÄꤷ¤¿²èÁü¤Ë¥ê¥ó¥¯¤òÆþ¤ì¤é¤ì¤Þ¤¹¡£


JavaScript¤äFlash¤ò¶Ø»ß¤µ¤ì¤Æ¤¤¤ë¥µ¡¼¥Ð¡¼¤ÎÊý¤â»È¤¨¤Þ¤¹¤Í¡£



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">

<title>title</title>
<style type="text/css">
<!--
ul#gallery {
padding:5px 0px 0px 10px; /*¾å¡¢±¦¡¢²¼¡¢º¸*/
margin:0px;
width:204px;
height:170px;
border:1px solid pink;¡¡
position:relative;
background:url(ÇØ·Ê²èÁü¤ÎURL) no-repeat fixed top left;/**/
-height:155px;
-width:212px;
}
#gallery li {
list-style-type:none;
width:50px;
height:37px;
float:left;
z-index:100;
-width:45px;
-height:34px;
}
#gallery li.lft {
float:left;
clear:left;
}
#gallery li.rgt {
float:right;
clear:right;
}

#gallery a {
position:relative;
width:50px;
height:37px;
display:block;
float:left;
z-index:100;
cursor:default;
margin: 5px 2px 2px 0px; /*¾å¡¢±¦¡¢²¼¡¢º¸*/
background: url(²èÁü¤Î±Æ¤ÎURL) bottom right;
float: left;
width: auto;
-width:45px;
-height:34px;
}
#gallery a img {
position:relative;
width:50px;
height:37px;
border:1px solid #888;
z-index:100;
background: #ffffff;
border: 0px solid #999;
padding:1px;/*¸µ5*/
position: relative;
left: -7px;
top: -7px;
-padding:1px;/*¸µ5*/
-border: 1px solid #999;
-width:45px;
-height:34px;
}
#gallery a:hover {
width:203px;
height:151px;
padding:0px 0px 2px 9px; /*¾å¡¢±¦¡¢²¼¡¢º¸*/
position:absolute;
left:12px;
top:20px;
z-index:200; /*¥Þ¥¦¥¹¤òÅö¤Æ¤¿»þ²èÁü¤¬Á°Ì̤˸½¤ì¤ë¡¦¸µ¤Ï20*/
-padding:0px 0px 2px 9px; /*¾å¡¢±¦¡¢²¼¡¢º¸*/
-left:2px;
-top:10px;
}
#gallery a:hover img {
background:#eee;
position:relative;
width:203px;
height:151px;
border:0;
z-index:200; /*¥Þ¥¦¥¹¤òÅö¤Æ¤¿»þ²èÁü¤¬Á°Ì̤˸½¤ì¤ë¡¦¸µ¤Ï10*/
}
#gallery a:active, #gallery a:focus {
background:transparent;
width:203px;
height:151px;
padding:7px 0px 0px 0px; /*¾å¡¢±¦¡¢²¼¡¢º¸*/
position:absolute;
left:0;
top:0;
z-index:400; /*¥¯¥ê¥Ã¥¯¤·¤¿»þ²èÁü¤¬Á°Ì̤˸½¤ì¤ë¡¦¸µ¤Ï10*/
}
#gallery a:active img, #gallery a:focus img {
background:#eee;
position:relative;
width:203px;
height:151px;
border:0;
z-index:400;/*¥Þ¥¦¥¹¤òÅö¤Æ¤¿»þ²èÁü¤¬Á°Ì̤˸½¤ì¤ë¡¦¸µ¤Ï10*/
}
/* hack for Internet Explorer */
#gallery li.pad {
height:0;
display:block;
margin-top:-2px;
width:203px;
font-size:0;
padding-top:93px; /*¥µ¥à¥Í¥¤¥ë²èÁü²¼¤ÎÎ󡦾å¤ÎÎó¤Î²¼Ã¼¤«¤é¤Îpadding*/
-padding-top:83px; /*¥µ¥à¥Í¥¤¥ë²èÁü²¼¤ÎÎ󡦾å¤ÎÎó¤Î²¼Ã¼¤«¤é¤Îpadding*/
}

/* hack for Opera 7+ */
@media all and (min-width:0px){
#gallery a:hover {
background:#888;
width:203px;
height:151px;
padding:7px 0px 0px 0px; /*¾å¡¢±¦¡¢²¼¡¢º¸*/
position:absolute;
left:0;
top:0;
z-index:100;/*¸µ10*/
}
#gallery a:hover img {
background:#aaa;
position:relative;
width:160px;
height:120px;
border:0;
z-index:100;/*¸µ10*/
}-->
</style>
</head>
<body>

<ul id="gallery">
<li><a href="#">
<img src="#1²èÁü¤ÎURL" alt="#1" title="#1" /></a></li>
<li><a href="#">
<img src="#2²èÁü¤ÎURL" alt="#2" title="#2" /></a></li>
<li><a href="#">
<img src="#3²èÁü¤ÎURL" alt="#3" title="#3" /></a></li>
<li><a href="#">
<img src="#4²èÁü¤ÎURL" alt="#4" title="#4" /></a></li>

<li class="pad"></li>
<li class="lft"><a href="#">
<img src="#5²èÁü¤ÎURL" alt="#5" title="#5" /></a></li>
<li><a href="#">
<img src="#6²èÁü¤ÎURL" alt="#6" title="#6" /></a></li>
<li><a href="#">
<img src="#7²èÁü¤ÎURL" alt="#7" title="#7" /></a></li>
<li><a href="#">
<img src="#8²èÁü¤ÎURL" alt="#8" title="#8" /></a></li>
</ul>
</body>
</html>


»²¹Í¤Ë¤µ¤»¤Æ¤¤¤¿¤À¤¤¤¿¥µ¥¤¥È
Stu Nicholls CSSplay CSS Photograph Gallery with hover and active states
¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
html | ¥È¥é¥Ã¥¯¥Ð¥Ã¥¯(0) | comment(0)¢¥

comment

Åê¹Æ














´ÉÍý¼Ô¤Ë¤À¤±É½¼¨¤òµö²Ä¤¹¤ë

trackback

trackback url¡¡¢­

http://dreamy.blog2.fc2.com/tb.php/106-9af6ab91




| ¥Û¡¼¥à |