Play Video

Hide Image (CSS Snippet)

    .all-tws{
        display: none;
    }
    #black-tws{
        display: block;
    }

Dynamic Image (JavaScript)

    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script>
    //No Youtube Remake using this Snippet without Permission
    //Copyrighted by Jim Fahad
    var $ = jQuery
    $(document).ready(function(){
        $('[data-showme]').on('click', function(){
            var showme = $(this).attr('data-showme')
            
            $('.all-tws').hide()
            $('#' + showme).show()
        })
    })
    </script>

Button Attributes:

1. Black

data-showme|black-tws

2, White

data-showme|white-tws

3. Red

data-showme|red-tws

4, Blue

data-showme|blue-tws

Pin It on Pinterest

Scroll to Top