JSFiddle - React, Tailwind, and code Playground

HTML

// IMAGES THAT WILL HAVE THE LINK WHICH WILL MAKE THE IFRAME SCROLL DOWN
<table height="424px" width="288px">
    <tr>
        <td>
            <img name="imgcast1" id="imgcast1" src="http://www.flamingpanda.xpg.com.br/Img/cast1img.png" />
        </td>
    </tr>
    <tr>
        <td>
            <img name="imgcast2" id="imgcast2" src="http://www.flamingpanda.xpg.com.br/Img/cast2img.png" />
        </td>
    </tr>
    <tr>
        <td>
            <img name="imgcast3" id="imgcast3" src="http://www.flamingpanda.xpg.com.br/Img/cast3img.png" />
        </td>
    </tr>
    <tr>
        <td>
            <img name="imgcast4" id="imgcast4" src="http://www.flamingpanda.xpg.com.br/Img/cast4img.png" />
        </td>
    </tr>
</table>// IFRAME WHICH WOULD BE SCROLLED TO 440PX THEN 880PX (ALWAYS +440PX)...
<div id="iFrameAutocast">
    <iframe name="iframepopup" id="iframepopup" frameborder="0" scrolling="no" src="http://www.flamingpanda.xpg.com.br/iFrameAutocast1.html"></iframe>
</div>

CSS

#iFrameAutocast {
    height:440px;
    width:380px;
    overflow-y:auto;
    overflow-x:hidden;
}
#iFrameAutocast iframe {
    width:376px;
    height:1760px;
}

JavaScript

$(document).ready(function () {
    
    var by = 440;//scroll increment
    $('tr td img').each(function (index) {
        $(this).click(function () {
            //$('#iFrameAutocast').scrollTop(by * index)
            $('#iFrameAutocast').animate({scrollTop:by * index},'slow');
        });
    });

});