jQuery 기반 lightbox 폴더 지정 헛질을 안 해도 되서 편하다.
Lightbox 2.03 prototype
Slimbox : Lightbox 2.0 clone mootools
slimbox 1.4는 lightbox2.0을 기반으로 한 것이라 image map이 지원되지 않는다.
Yukio Arita의 slimbox_ex는 1.3을 기반으로 한 것이라 버그가 남아있다.
slideshow based mootools
Rolling Images Menu based mootools
Slimbox : Lightbox 2.0 clone mootools
slimbox 1.4는 lightbox2.0을 기반으로 한 것이라 image map이 지원되지 않는다.
Yukio Arita의 slimbox_ex는 1.3을 기반으로 한 것이라 버그가 남아있다.
slideshow based mootools
Rolling Images Menu based mootools
두 개를 비교해 본 결과,
20,21행의
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="제목 <a href="javascript:window.print();">[인쇄하기]</a>">