setInteval.question

March 18th, 2010
  • i m creating one photogallery and all right ... but i do all in one frame.
    the gallery has 2 buttons photo but i want use setInterval to change photo in 5 seconds.... whitout click !
    well, clicking change pic and no clicking but waiting 5 seconds change too!
    and one button like flickr gallery! (no thumbs)

    anyone can help me ?

    downloadGallery here (http://www.pablodavi.com/gallery.zip)


  • hi,
    I think System-Idle has already answered that too.
    to clear: clearInterval(galleryInt)
    that code will clear your interval and in the process stop automated loading of images.


  • hmm!
    create:
    galleryInt = setIntervel(nextImage, 5000);
    ??????????????????????????????????????? is this ?????????????????????????????????


  • anyone there .... ????
    :crying:


  • has one thing that i do for stop the setInterval ?
    i create one
    galleryInt = setInterval(next_img, 5000);
    now i wanna one button code to stop the change image.... is possible ?
    what code ?
    :hr:


  • :(


  • blaaaaaaaaaaaaaaaa! stupd ! i read this 45 minutes ago and forget ...
    :( thanks saumya


  • have u not answered your own question?

    to create:
    galleryInt = setInterval(function, interval)

    to clear:
    clearInterval(galleryInt)


  • thanks System.
    :D


  • yep







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about setInteval.question , Please add it free.