close

<script>
function get_num(num){
document.getElementById('img').src="http://192.168.0.105/wp-content/uploads/2021/11/img"+num+".jpg";
}
</script>

<button onclick="get_num('1')" style="position:relative; left:0px; top: 0px; ">1</button>

<button onclick="get_num('2')" style="position:relative; left:0px; top: 0px; ">2</button>

<button onclick="get_num('3')" style="position:relative; left:0px; top: 0px; ">3</button>

<img id="img" src="http://192.168.0.105/wp-content/uploads/2021/11/img0.jpg">

arrow
arrow

    Johnson峰 發表在 痞客邦 留言(0) 人氣()