행

이미지 마우스 온 버블 이펙트 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,188건
+
제목 글쓴이 날짜 조회
08-10-30 조회 2,714
08-10-30 조회 2,816
08-10-20 조회 2,544
08-10-11 조회 2,449
08-09-20 조회 4,189
08-09-20 조회 2,861
08-09-18 조회 2,744
08-09-18 조회 3,440
08-09-17 조회 3,306
08-09-05 조회 4,642
08-09-03 조회 2,777
08-08-18 조회 2,902
08-08-17 조회 2,641
08-08-13 조회 3,422
08-07-30 조회 3,483
08-07-28 조회 4,362
08-07-22 조회 5,591
08-07-22 조회 4,077
08-07-10 조회 3,046
08-07-08 조회 3,108
08-06-30 조회 3,869
08-06-30 조회 3,351
08-06-30 조회 3,668
08-06-14 조회 2,743
08-06-11 조회 7,105
08-06-05 조회 3,319
08-05-20 조회 4,831
08-05-13 조회 4,173
08-05-08 조회 3,126
08-05-08 조회 5,281
08-04-25 조회 4,078
08-04-22 조회 4,549
08-04-21 조회 3,191
08-04-17 조회 2,570
08-04-17 조회 2,971
08-04-17 조회 2,269
08-04-17 조회 5,237
08-04-17 조회 4,556
08-04-17 조회 4,550
08-04-17 조회 3,333
08-04-17 조회 3,157
08-04-17 조회 3,642
08-04-17 조회 5,004
08-04-17 조회 5,150
08-04-17 조회 3,357
08-04-04 조회 4,621
08-04-04 조회 2,849
08-04-04 조회 2,593
08-04-04 조회 2,819
08-04-04 조회 2,553
08-04-04 조회 2,797
08-04-03 조회 2,681
08-04-03 조회 2,754
08-04-02 조회 3,065
08-04-02 조회 3,221
08-03-31 조회 3,108
08-03-26 조회 4,289
08-03-11 조회 2,975
08-03-11 조회 2,385
08-03-11 조회 2,395
08-03-07 조회 4,232
08-03-07 조회 3,325
08-03-06 조회 4,772
08-03-04 조회 3,406
08-02-19 조회 3,798
08-02-03 조회 3,421
08-01-18 조회 4,007
08-01-15 조회 3,461
08-01-12 조회 4,302
08-01-12 조회 3,870
08-01-12 조회 3,826
07-12-24 조회 3,118
07-11-30 조회 3,962
07-11-08 조회 5,022
07-11-06 조회 3,871
07-10-26 조회 5,013
07-10-24 조회 4,201
07-10-22 조회 3,586
07-10-19 조회 4,771
07-10-09 조회 4,904
07-10-09 조회 6,770
07-10-05 조회 3,106
07-10-05 조회 4,041
07-10-03 조회 7,549
07-10-03 조회 3,598
07-10-03 조회 2,949
07-10-03 조회 2,876
07-09-28 조회 4,720
07-09-27 조회 3,784
07-09-27 조회 3,233
07-09-13 조회 3,385
07-08-28 조회 3,467
07-08-04 조회 4,851
07-08-01 조회 5,547
07-08-01 조회 4,948
07-07-30 조회 5,470
07-07-29 조회 3,616
07-07-21 조회 3,438
07-07-18 조회 5,393
07-07-16 조회 3,191