PageSourceSearch

https://pincrux.shop/_skin/pinc_kor/script.js

js pincrux.shop collected 2026-10-07 15:17:50 UTC 1,734 bytes, 71 lines download raw bytes

1/* img hover */
2/* example 
3<img src="/_image/common/이미지.jpg" alt="" title="" onmouseover="imgOver(this)" onmouseout="imgOver(this,'out')"> 
4*/
5function imgOver(imgEl,opt) {
6	if(imgEl.getAttribute('checked')) return;
7	var src = imgEl.getAttribute('src');
8	var ftype = src.substring(src.lastIndexOf('.'), src.length);
9	if (opt == 'out') imgEl.src = imgEl.src.replace("_over"+ftype, ftype);
10	else imgEl.src = imgEl.src.replace(ftype, "_over"+ftype);
11}
12
13/* 체크박스 전체선택 */
14/* example 
15<input type="checkbox" onclick="cartCheckAll(this.checked)">
16*/
17function cartCheckAll(checked) {
18	$(':checkbox[name^="cno["], :checkbox[name^="wno["]').attrprop('checked', checked);
19}
20
21/* 토글 */
22function toggle_view(selector, obj){
23	var search = $('#'+selector+'');
24	var obj = $(obj);
25	if (search.css('display') == 'none') {
26		search.show();
27		obj.addClass('active');
28	} else {
29		search.hide();
30		obj.removeClass('active');
31	}
32}
33
34/* 탭뷰 */
35function tabover(name, no) {
36	var tabs = $('.tab_'+name+'').find('li');
37	tabs.each(function(idx) {
38		var detail = $('.tabcnt_'+name+idx);
39		var link = $(this).find('a');
40		if(no == idx) {
41			detail.show();
42			link.addClass('active');
43		} else {
44			detail.hide();
45			link.removeClass('active');
46		}
47	})
48}
49
50/* 스크롤 이동 */
51$(window).scroll(function(){
52	var y=$(this).scrollTop();
53	if( y > 300 ){
54		$('.btn_scroll').fadeIn();
55	} else {
56		$('.btn_scroll').fadeOut();
57	}
58	if ($('.gnb').hasClass('fixed')) {
59		if( y > 230 ){
60			$('.favorite .viewsub').fadeIn();
61		} else {
62			$('.favorite .viewsub').fadeOut();
63		}
64	}
65});
66function scrollup(){
67	$('html, body').animate({scrollTop:0}, 'slow');
68}
69function scrolldown(){
70	$('html, body').animate({scrollTop:$(document).height()}, 'slow');
71}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.