HEX
Server: LiteSpeed
System: Linux in-mum-web921.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User: u590867752 (590867752)
PHP: 8.2.33
Disabled: NONE
Upload Files
File: /home/u590867752/domains/himanshuartinstitute.co.in/public_html/cooding/jspts/menubars.js
$(function(){

    var d = 0;

    function afterclick(){
        $(".ln").eq(0).css({
            top : "50%",
            transform : "translate(-50%,-50%) rotate(45deg)"
        });
        $(".ln").eq(1).css({
            opacity : "0"
        });
        $(".ln").eq(2).css({
        bottom : "50%",
        transform : "translate(-50%,50%) rotate(-45deg)"
        });
        
        $(".nav").show();

        d=1;
    }

    function beforeclick(){
        $(".ln").eq(0).css({
            top : "20%",
            transform : "translate(-50%,-20%) rotate(0deg)"
        });
        $(".ln").eq(1).css({
            opacity : "1"
        });
        $(".ln").eq(2).css({
        bottom : "20%",
        transform : "translate(-50%,20%) rotate(-0deg)"
        });

        $(".nav").hide();

        d=0;
    }

    $(".menuicon").click(function(){
       
        if(d == 0){
            afterclick();
        }
        else{
            beforeclick();
        }
    });


   

});