yugiorima123
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by yugiorima123
-
-
How can we create carousel image slider using Javascript ?
i
Im used
<script > var vLeftButton = document.getElementById("iconL"); //var t = setInterval(leftAction,1000); function leftAction(){ var myImgs = document.getElementById("divImg"); var child = myImgs.children[0]; //alert(child.src); myImgs.removeChild(child); myImgs.appendChild(child); } var vRightButton = document.getElementById("iconR"); function rightAction(){ var myImgs = document.getElementById("divImg"); var child = myImgs.children[0]; //alert(child.src); myImgs.removeChild(child); myImgs.appendChild(child); } </script>
I mean:
leftbutton move to left
but right button don't move to right
I'm amateur😢
help me carousel slideshow
in JavaScript
Posted
</script>
mean:
but right button don't move to right
I'm amateur😢