행

이미지 마우스 온 버블 이펙트 2

제이쿼리 공부 좀 해야 겠습니다.

이와 유사한 팁이 있나 살펴 보았지만 제 눈에는 안 보이길래 올려 봅니다.

출처를 먼저 들어가서 보고 난 후에 필요하시다면 진행하시면 됩니다.
 
http://www.dynamicdrive.com/dynamicindex4/imagebubbles.htm 

<진행>

1. head.sub.php 에 아래를 삽입

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<link href="imgbubbles.css" rel="stylesheet" type="text/css" />

<style type="text/css">

/*CSS for 2 demos on the page*/
#orbs li{
width: 65px; /*width of image container. Should be wider than contained images (before bubbling) */
height:60px; /*height of image container. Should be taller than contained images (before bubbling) */
}

#orbs li img{
width: 55px; /*width of each image before bubbling*/
height: 60px; /*height of each image*/
}

#squares li{
width: 45px; /*width of image container. Must be wider than contained images (before bubbling) */
height:40px; /*height of image container. Must be taller than contained images (before bubbling) */
}

#squares li img{
width: 31px; /*width of each image before bubbling*/
height: 31px; /*height of each image*/
}

</style>

<script type="text/javascript" src="imgbubbles.js">

/***********************************************
* Image Bubbles effect- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/

</script>

<script type="text/javascript">

jQuery(document).ready(function($){
$('ul#orbs').imgbubbles({factor:1.75}) //add bubbles effect to UL id="orbs"
$('ul#squares').imgbubbles({factor:2.5}) //add bubbles effect to UL id="squares"
})

</script>

2. http://www.dynamicdrive.com/dynamicindex4/imagebubbles.htm 에서 js css 파일 다운로드

3. 아래 소스 중

<ul> <li> 소스만 뽑아 출력하고자 하는 곳에 가공해서 넣으면 됨

<h4>1.75x magnification</h4>
<ul id="orbs" class="bubblewrap">
<li><a href="http://dynamicdrive.com"><img src="orbs/stumbleupon.png" alt="Add to Stumbleupon" /></a></li>
<li><a href="http://dynamicdrive.com"><img src="orbs/facebook.png" alt="Add to Facebook" /></a></li>
<li><a href="http://dynamicdrive.com"><img src="orbs/digg.png" alt="Add to Digg" /></a></li>
<li><a href="http://dynamicdrive.com"><img src="orbs/twitter.png" alt="Add to Twitter" /></a></li>
<li><a href="http://dynamicdrive.com"><img src="orbs/rss.png" alt="Add RSS Feed" /></a></li>
</ul>


<h4>2.5x magnification</h4>
<ul id="squares" class="bubblewrap">
<li><a href="http://dynamicdrive.com"><img src="squares/facebook.png" alt="Add to Facebook" /></a></li>
<li><a href="http://dynamicdrive.com"><img src="squares/delicious.png" alt="Add to Delicious" /></a></li>
<li><a href="http://dynamicdrive.com"><img src="squares/digg.png" alt="Add to Digg" /></a></li>
<li><a href="http://dynamicdrive.com"><img src="squares/stumbleupon.png" alt="Add to Stumbleupon" /></a></li>
<li><a href="http://dynamicdrive.com"><img src="squares/rss.png" alt="Add RSS Feed" /></a></li>
<li><a href="http://dynamicdrive.com"><img src="squares/twitter.png" alt="Add to Twitter" /></a></li>
</ul>

 

[이 게시물은 관리자님에 의해 2011-10-31 16:55:28 jQuery에서 이동 됨]

댓글 2개

유용한 소스입니다...감사합니다.
감사합니다.
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,187건
+
제목 글쓴이 날짜 조회
12-03-19 조회 3,611
12-03-16 조회 4,158
12-03-14 조회 4,036
12-03-13 조회 3,651
12-03-13 조회 4,513
12-03-12 조회 5,593
12-03-12 조회 1만
12-03-08 조회 6,138
12-03-06 조회 1.1만
12-03-06 조회 3,850
12-03-06 조회 6,365
12-03-02 조회 5,166
12-02-29 조회 3,699
12-02-27 조회 4,230
12-02-22 조회 3,748
12-02-20 조회 3,734
12-02-20 조회 6,816
12-02-01 조회 3,354
12-01-30 조회 8,885
12-01-29 조회 3,371
12-01-24 조회 3,698
12-01-21 조회 3,354
12-01-10 조회 3,807
11-12-26 조회 3,723
11-12-23 조회 5,148
11-12-23 조회 4,802
11-12-23 조회 4,414
11-12-23 조회 8,112
11-12-22 조회 3,844
11-12-17 조회 3,886
11-12-12 조회 3,304
11-12-08 조회 7,844
11-12-08 조회 3,658
11-12-07 조회 3,907
11-12-06 조회 5,674
11-12-02 조회 3,616
11-12-01 조회 3,234
11-11-30 조회 7,015
11-11-26 조회 3,990
11-11-24 조회 4,731
11-11-22 조회 3,107
11-11-22 조회 6,741
11-11-18 조회 5,165
11-11-16 조회 3,518
11-11-14 조회 3,554
11-11-12 조회 4,028
11-11-08 조회 3,361
11-11-06 조회 1만
11-11-06 조회 3,951
11-11-03 조회 5,643
11-11-02 조회 5,915
11-11-01 조회 9,423
11-10-19 조회 2,945
11-10-17 조회 2,728
11-10-10 조회 2,698
11-10-07 조회 3,444
11-10-06 조회 4,039
11-10-06 조회 2,598
11-10-02 조회 3,358
11-09-08 조회 4,358
11-09-08 조회 2,737
11-09-07 조회 2,704
11-09-02 조회 2,798
11-09-01 조회 3,765
11-08-28 조회 3,649
11-08-23 조회 3,460
11-08-22 조회 2,879
11-08-22 조회 2,474
11-08-13 조회 2,548
11-08-05 조회 2,990
11-08-03 조회 4,177
11-07-03 조회 2,654
11-06-15 조회 3,295
11-06-15 조회 3,130
11-05-15 조회 2,926
11-05-11 조회 5,666
11-04-12 조회 3,103
11-01-27 조회 3,902
11-01-26 조회 2,701
11-01-26 조회 4,528
11-01-18 조회 2,750
10-11-23 조회 2,975
10-10-24 조회 4,795
10-09-15 조회 4,489
10-09-07 조회 3,489
10-08-27 조회 4,163
10-08-20 조회 7,041
10-07-30 조회 5,721
10-06-30 조회 2,987
10-06-11 조회 4,742
10-06-11 조회 3,435
10-05-15 조회 4,276
10-05-10 조회 2,977
10-03-19 조회 5,514
10-03-05 조회 5,265
10-02-17 조회 5,713
09-11-21 조회 7,028
09-11-09 조회 4,073
09-11-04 조회 6,803
09-10-26 조회 3,936