# Mouse over image

**URL:** <https://forum.kirupa.com/t/mouse-over-image/64094>\
**Category:** Uncategorized\
**Created:** [September 13, 2004, 8:01am UTC](https://forum.kirupa.com/t/mouse-over-image/64094 "2004-09-13T08:01:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henxon](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@Henxon](https://forum.kirupa.com/u/Henxon)\
**Post date:** [September 13, 2004, 8:01am UTC](https://forum.kirupa.com/t/mouse-over-image/64094/1 "2004-09-13T08:01:06Z")

</div>

Hi

How can I create an “scrolling effect” such as if I hold the mouse over an image, it scrolls to the next image I have, stored in an array. I have the array and all the other stuff ready for my gallery, but I have to press a button everytime I want to switch the image. How can I create a gallery that switches image constantly as long as I have the mouse over the thumbnail?

thanx in advance

henrik, sweden

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2004, 10:55am UTC](https://forum.kirupa.com/t/mouse-over-image/64094/2 "2004-09-13T10:55:14Z")

</div>

Should be easy to solve I guess. A function that’s runs as long as the mouse is over the image, not just once as the _on(mouseOver)_ etc.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2004, 12:00pm UTC](https://forum.kirupa.com/t/mouse-over-image/64094/3 "2004-09-13T12:00:34Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?t=56005](http://www.kirupaforum.com/forums/showthread.php?t=56005) post#15??

scotty(-:
