/* 접근성 개선 전 코드 */

샘플

/* 접근성 개선 코드 */
샘플

// jQuery를 이용하여 이벤트 캐치
$(function() {
$(".popup").click(function(event) {
event.preventDefault();
var href = $(this).attr("href"),
width = $(this).attr("data-width"),
height = $(this).attr("data-height"),
popup = window.open(href, "popup", "height=" + height + ",width=" + width + "");
});
});
Read More