tkavenue.shop Open in urlscan Pro
2606:4700:3035::ac43:db15  Public Scan

URL: https://tkavenue.shop/static/js/jquery02.js
Submission: On December 15 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

$(function() {
    $('.two').css('display', 'none')
    var one = $('.one')
    var two = $('.two')
    var img = $('.one img')

    $(one).each(function(i) {
        $(this).click(function() {
            if ($(two[i]).css('display') === 'none') {
                $(two[i]).slideDown(400)
                $(img[i]).css({ 'transform': 'rotate(180deg)' })
                $(one).each(function(t) {
                    if (t !== i) {
                        $(two[t]).slideDown(400)
                        $(img[t]).css({ 'transform': 'rotate(0deg)' })
                    }
                })
            } else {
                $(two[i]).slideUp(400)
                $(img[i]).css({ 'transform': 'rotate(0deg)' })
            }
        })
    })
})