행

이미지 마우스 온 버블 이펙트 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건
+
제목 글쓴이 날짜 조회
07-07-16 조회 3,128
07-07-06 조회 3,021
07-07-06 조회 3,453
07-06-23 조회 3,280
07-06-16 조회 2,784
07-05-20 조회 4,305
07-05-09 조회 3,475
07-05-09 조회 6,119
07-05-04 조회 2,713
07-04-30 조회 9,849
07-04-27 조회 4,345
07-04-26 조회 3,463
07-04-25 조회 5,312
07-04-18 조회 7,805
07-04-13 조회 3,142
07-04-12 조회 6,648
07-04-12 조회 5,069
07-04-12 조회 3,380
07-04-11 조회 5,734
07-04-05 조회 6,377
07-03-24 조회 4,437
07-03-20 조회 3,758
07-03-18 조회 4,001
07-03-18 조회 4,746
07-03-17 조회 4,247
07-03-16 조회 4,148
07-03-15 조회 5,312
07-03-13 조회 5,415
07-03-13 조회 3,594
07-03-08 조회 4,513
07-03-08 조회 4,004
07-03-08 조회 3,310
07-03-08 조회 4,201
07-03-05 조회 4,457
07-03-04 조회 2,925
07-03-01 조회 5,959
07-02-28 조회 3,244
07-02-27 조회 4,424
07-02-26 조회 3,346
07-02-26 조회 3,055
07-02-23 조회 3,686
07-02-23 조회 3,650
07-02-22 조회 4,034
07-02-22 조회 3,854
07-02-19 조회 3,862
07-02-17 조회 4,883
07-02-14 조회 8,194
07-02-12 조회 3,956
07-02-10 조회 3,590
07-02-02 조회 3,825
07-01-31 조회 3,506
07-01-29 조회 3,366
07-01-25 조회 5,134
07-01-21 조회 3,280
07-01-19 조회 3,071
06-12-15 조회 4,086
06-12-15 조회 4,484
06-12-15 조회 2,975
06-12-15 조회 4,524
06-12-15 조회 3,406
06-12-15 조회 4,109
06-12-15 조회 3,068
06-12-15 조회 2,790
06-12-15 조회 4,644
06-12-15 조회 3,197
06-12-15 조회 3,298
06-12-07 조회 4,748
06-12-07 조회 4,031
06-12-04 조회 4,682
06-11-27 조회 3,721
06-11-21 조회 4,025
06-11-15 조회 3,463
06-11-04 조회 3,357
06-10-29 조회 4,008
06-10-13 조회 3,875
06-10-13 조회 4,238
06-10-13 조회 4,189
06-10-12 조회 5,384
06-10-12 조회 4,303
06-10-04 조회 3,800
06-10-02 조회 4,576
06-09-29 조회 3,060
06-09-26 조회 3,409
06-09-26 조회 3,671
06-09-26 조회 3,309
06-09-26 조회 3,460
06-09-26 조회 4,372
06-09-25 조회 4,664
06-09-22 조회 5,008
06-09-22 조회 3,572
06-09-21 조회 4,350
06-09-21 조회 4,356
06-09-21 조회 3,558
06-09-21 조회 5,209
06-09-21 조회 3,735
06-09-21 조회 3,467
06-09-20 조회 3,056
06-09-15 조회 3,178
06-09-13 조회 3,490
06-09-11 조회 3,294