[http]jQuery 기반 lightbox 폴더 지정 헛질을 안 해도 되서 편하다.

[http]Lightbox 2.03 prototype
[http]Slimbox : Lightbox 2.0 clone mootools
slimbox 1.4는 lightbox2.0을 기반으로 한 것이라 image map이 지원되지 않는다.
[http]Yukio Arita의 slimbox_ex는 1.3을 기반으로 한 것이라 버그가 남아있다.
[http]slideshow based mootools
[http]Rolling Images Menu based mootools

두 개를 비교해 본 결과,
20,21행의
		$each(document.links, function(el){
			if (el.rel && el.rel.test(/^lightbox/i)){
부분을
		$$('area').each(function(el){
			if (el.getProperty('rel') != null){
으로,

58행의
		if (link.rel.length == 8) return this.show(link.href, link.title);

		if (link.getProperty('rel').length == 8) return this.show(link.href, link.title);
로 바꿔주면 이미지맵에서도 잘 동작한다.



현재 보는 페이지에 인쇄 기능 넣기:
<a href="images/image-4.jpg" rel="lightbox" title="제목 &lt;a href=&quot;javascript:window.print();&quot;&gt;[인쇄하기]&lt;/a&gt;">
powered by Moniwiki | themed by clockoon
last modified 2008-12-30 10:44:13
Processing time 0.0034 sec