PageSourceSearch

https://yonseidairy.com/data/skin/front/yonsei_pc_regular/custom/js/custom-login.js

js yonseidairy.com collected 2026-10-07 19:53:16 UTC 2,089 bytes, 59 lines download raw bytes

1$(function(){
2    var _href = location.href;
3	var _docDomain = document.domain;
4	var _catdIDTree = _href.split('member/')[1];
5    //비회원주문일때
6	if (_catdIDTree.indexOf('login.php?guestOrder=1') > -1 && _catdIDTree.indexOf('gift_order') === -1){
7		$('#formLogin').hide();
8        $('#nonmemOrder').show();
9		$('.login_tab li:last-child').addClass('on').siblings("li").removeClass("on");
10		//$('.login_tab li:eq(1) a').text('비회원 주문하기');
11        $('.login_tab li:eq(1)').click(function(){
12            $("#nonmemOrder").stop().fadeIn("fast");
13            
14        });
15	}
16
17
18	if (_catdIDTree.indexOf('login.php?returnUrl=%2Fgoods%2Fgoods_view.php') > -1 || _catdIDTree.indexOf('lnCouponDown') > -1 || _catdIDTree.indexOf('gift_order') > -1){
19		$('#formLogin').show();
20		$('#nonmemOrder').hide();
21		$('.login_tab li:first-child').addClass('on').siblings("li").removeClass("on");
22		
23	}
24
25	$("#formOrderLogin").hide();
26
27	$('.login_tab li:eq(0)').click(function(){
28		$("#formLogin").stop().fadeIn("fast");
29		$("#formOrderLogin").hide();
30		$("#nonmemOrder,.nonmember_join_box").hide();
31		$("#nomemOrder").hide();
32		$(this).addClass("on").siblings("li").removeClass("on");
33		
34	});
35
36	$('.login_tab li:eq(1)').click(function(){
37		$("#formOrderLogin").stop().fadeIn("fast");
38		$("#formLogin").hide();
39		$("#nomemOrder,.nonmember_join_box").stop().fadeIn();
40		//$("#nonmemOrder").stop().fadeIn();
41		$(this).addClass("on").siblings("li").removeClass("on");
42        if (_catdIDTree.indexOf('login.php?guestOrder=1') > -1 && _catdIDTree.indexOf('gift_order') === -1){
43            $('#formOrderLogin').hide();
44            //$('.login_tab li:eq(1) a').text('비회원 주문하기');
45        }
46	});
47
48    //비밀번호 오픈
49    $('.password_open').click(function(){
50        if ($(this).hasClass('on')) {
51            $(this).removeClass('on');
52            $("#loginPwd").prop("type", "password");
53        }else{
54            $(this).addClass('on');
55            $("#loginPwd").prop("type", "text");
56        }
57        
58    });
59});

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.