옵

파폭에서 이지미정렬 잘안되네요

· 2010-06-12 (토) 15:56:52 · 1893 · 1

http://ilovewonju.co.kr/bbs/board.php?bo_table=photo

ie에서는 잘되는데 크롬에서 분명이 첨에는 잘있는데 마우스 올라갔다 내려오면 오른쪽에 달라붙어 있어요
소스는

$(document).ready(function(){
 //롤오버 커져라 
 $('#photo_list li').hover(function() {
 width = $(this).find('img').width();
 height = $(this).find('img').height();
  
 $(this).find('.img').stop(false,true).animate({'width':width * 1.1,'height':height * 1.1, 'top':15, 'left':20}, {duration:100});
 $(this).find('.zoom').stop(false,true).fadeIn(300);
 },function() {
 $(this).find('.img').stop(false,true).animate({'width':width, 'height':height}, {duration:100});
 $(this).find('.zoom').stop(false,true).fadeOut(400);
 });
});

<style type="text/css">
.clearfix { text-align:center;}
.clearfix li { position:relative; float:left; width:180px; height:200px; overflow:hidden;}
.clearfix img { padding:0px;  }
.zoom { position:absolute; display:none; left:50%; top:20px;}
</style>

<ul class="gallery clearfix">
 <?
 for ($i=0; $i<count($list); $i++){
 ?>
 <li>
  <p class="img"><a href="<?=$img_big?>" rel="prettyPhoto[gallery1]" title="<?=$list[$i][subject]?>"><?=$img_small?></a></p>
  <p class="caption"><?=$list[$i][datetime]?></p>
  <div class="zoom"><img src="<?=$g4['path']?>/<?=$gr_id?>/img/icon_zoom.png" width="54" height="52" align:="center" /></div>
 </li>
 <? }?>
</ul>

|

댓글 1개

그누와서 제가 좀 구걸하는 버릇이 생겼나봐요. 왜케 좋은 것만 보면 만들 엄두도 못내고 구걸먼저하려고 할까요? 정렬과 상관없이 멋지네요.
댓글을 작성하시려면 로그인이 필요합니다.

자유게시판

203,117건
+
제목 글쓴이 날짜 조회
10-06-12 조회 2,087
10-06-12 조회 1,635
10-06-12 조회 1,879
10-06-12 조회 1,902
10-06-12 조회 1,987
10-06-12 조회 2,100
10-06-12 조회 2,121
10-06-12 조회 2,158
10-06-12 조회 1,792
10-06-12 조회 2,106
10-06-12 조회 1,880
10-06-12 조회 1,894
10-06-12 조회 1,595
10-06-12 조회 1,622
10-06-12 조회 1,777
10-06-12 조회 1,741
10-06-12 조회 2,332
10-06-12 조회 1,757
10-06-12 조회 1,787
10-06-12 조회 2,086