[javascript] loopedSlider

loopedSlider


https://github.com/nathansearles/loopedSlider
http://slidesjs.com/

loopedSlider 0.5.7 – No longer in development

Check out the next version of loopedSlider, now called Slides https://github.com/nathansearles/Slides

loopedSlider is a plugin made for jQuery that solves a simple problem, the looping of slide content. It was created to be easy to implement, smooth and most of all end the “content rewind” that most other content sliders suffer from.


Info

Check out the next version of loopedSlider, now called Slides http://slidesjs.com

Developed by Nathan Searles, http://nathansearles.com

Complete instructions can be found at http://nathansearles.com/plugin/loopedslider/

For updates, follow Nathan Searles on Twitter

Examples

Markup

<div id="loopedSlider">
	<div class="container">
	        <div class="slides">
	                <div><img src="01.jpg" alt="" /></div>
	                <div><img src="02.jpg" alt="" /></div>
	                <div><img src="03.jpg" alt="" /></div>
	                <div><img src="04.jpg" alt="" /></div>
	        </div>
	</div>
	<a href="#" class="previous">previous</a>
	<a href="#" class="next">next</a>
</div>

CSS

.container { width:500px; height:375px; overflow:hidden; position:relative; cursor:pointer; }
.slides { position:absolute; top:0; left:0; }
.slides div { position:absolute; top:0; width:500px; display:none; }

Initialize

<script type="text/javascript" charset="utf-8">
        $(function(){
                $('#loopedSlider').loopedSlider();
        });
</script>

Defaults

container: ".container", //Class/id of main container. You can use "#container" for an id.
slides: ".slides", //Class/id of slide container. You can use "#slides" for an id.
pagination: "pagination", //Class name of parent ul for numbered links. Don't add a "." here.
containerClick: true, //Click slider to goto next slide? true/false
autoStart: 0, //Set to positive number for true. This number will be the time between transitions.
restart: 0, //Set to positive number for true. Sets time until autoStart is restarted.
hoverPause: false, //Set to true to pause on hover, if autoStart is also true
slidespeed: 300, //Speed of slide animation, 1000 = 1second.
fadespeed: 200, //Speed of fade animation, 1000 = 1second.
autoHeight: 0, //Set to positive number for true. This number will be the speed of the animation.
addPagination: false //Add pagination links based on content? true/false

Defining Local Defaults

<script type="text/javascript" charset="utf-8">
        $(function(){
			$('#loopedSlider').loopedSlider({
				addPagination: true,
				slidespeed: 500
			});
        });
</script>

Defining Global Defaults

<script type="text/javascript" charset="utf-8">
        $(function(){
			$.fn.loopedSlider.defaults.addPagination = true;
			$.fn.loopedSlider.defaults.slidespeed = 500;
        });
</script>
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/06/24 09:44 2011/06/24 09:44
, ,
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/6254

평범한 성공은 벌한다

내가 참석했던 시드니에서 열린 세미나에 필 대니얼스도 참석했다.
나는 ‘실패가 없으면 혁명은 없다’라고 실패의 필요성을 역설했다.
그렇지만 그는 나보다 한 걸음 더 나아가 자신의 경영방침을 이렇게 말했다.
‘눈부신 실패에는 포상을 내린다. 그러나, 평범한 성공은 벌한다’.
(Phil Daniels attended a seminar I gave in Sydney.
I spoke of the failure imperative: “No failure, No innovation.”
He went me one better and explained his management philosophy:
"Reward excellent failures. Punish mediocre successes.")
-톰 피터스(Tom Peters)

평범한 성공을 계속 쌓아 올리느니,
차라리 눈부신 실패를 하는 것이 낫다는 경영철학, 정말 멋있습니다.
리더가 탁월함을 추구하지 않고 평범함을 추구하면
결코 위대한 승리를 만들 수 없다는 말을 다시 한번 생각하게 합니다.

The business philosophy “It is better to have a magnificent failure rather than
a string of mediocre successes.” is truly inspiring.
It makes you think of the saying “If a leader only seeks mediocrity and
not something extraordinary, they will never be able to produce a great success.”
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/06/24 08:21 2011/06/24 08:21
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/6253

뼈저린 외로움

외로움을 겁내지 말라.
그대가 어디서 무엇을 하더라도
그대의 뼈저린 외로움은 물리칠 방도가 없으리니.
외로움은 평생의 동반자, 비록 그대가 마침내
성인(聖人)의 반열에 오른다 하더라도
그놈은 한평생 그대 곁을
떠나는 법이 없으리라.


- 이외수의《여자도 여자를 모른다》중에서 -


* 외로움이 없으면 산 사람이 아닙니다.
살아있는 사람만이 외로움에 뼈가 시립니다.
너무도 춥고 아리지만, 그 외로움 때문에 그리움과
사랑을 배우고 사람의 소중함을 알게 됩니다.
그리고 그 외로움 때문에 예술이 탄생되고
둘도 없는 걸작품이 태어납니다.  
외로움을 겁내지 마십시오.
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/06/24 08:20 2011/06/24 08:20
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/6252

2011.06.24 수영강습

아직도 비가~ 일요일까지 계속 올 예정이라는데원..
차 가지고 수영장으로~
체조 막판에 입수.
비가 와서인지 사람이 별로 없다.
IM 발차기만  100m
접영/IM발차기 3 회 (1회 = 100m)
자유형 / IM발차기 1 회
한바퀴 걷고 스타트 자유형 발차기 25m 계속.
45분에 먼자 나와서 씻고 집으로.
덮다. 습하고.
이제 1번레인에서 수영한다. 2번레인 1번 서는게 더 좋은데.

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/06/24 08:18 2011/06/24 08:18
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/6250


블로그 이미지

- 홍반장

Archives

Recent Trackbacks

Calendar

«   2011/06   »
      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    
Statistics Graph

Site Stats

Total hits:
181227
Today:
106
Yesterday:
209