www.webdeveloper.com

Search:

Type: Posts; User: Nut_case

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,854

    setInterval runs only 1 time, why?

    i have this code:


    <script>
    setInterval(function() {SwitchPic()}, 4000);
    function SwitchPic() {
    var picture = document.getElementById("imgswitch");
    if...
  2. Replies
    5
    Views
    29,531

    Thank you for the quick answer, it works...

    Thank you for the quick answer, it works perfectly :)
  3. Replies
    5
    Views
    29,531

    Change Image every 4 seconds in Javascript

    Hello all,

    The code below supposed to change the displayed picture from pic1 to pic2 in 4 seconds after pressing the 1st picture, when i execute it after 4 seconds there is an error saying "Pic...
Results 1 to 3 of 3
HTML5 Development Center



Recent Articles