0

All,

I have a javascript slideshow that is just what I am looking for. Now, I would like to call other functions when the appropriate div tag becomes active. onfocus and onblur don't work here and I don't want my users to have to click on any part of the page to fire off the correspnding events. What would the best way be to go about this?

Slideshow hits a div tag which then fires another function?

Adam

aeupinhere
  • 2,883
  • 6
  • 31
  • 39
  • maybe this can help :http://stackoverflow.com/questions/1225102/jquery-event-to-trigger-action-when-a-div-is-made-visible – Itay Kinnrot Dec 05 '11 at 06:51
  • What do you mean by "when the appropriate div tag becomes active"? What makes it active? – jfriend00 Dec 05 '11 at 09:21
  • @jfriend00 I am using a jQuery slideshow script that uses tabs for each page in the slideshow. The tabs are technically a combination of
      and
      parts in the page and a timer is set to move from tab to tab giving it the appearance of being a slideshow. I would like to fire off an event when each page in the slideshow becomes active. Does that make more sense? I wrote my original question at 1:30AM ;-)
    – aeupinhere Dec 05 '11 at 13:24
  • @AdamEstrada - It is unlikely that there is any natural browser event you can hook into for that. So, you will need to hook into something from the slideshow itself. Tell us what jQuery slideshow you're using and maybe it either has events already or can be patched to make some sort of event. – jfriend00 Dec 05 '11 at 20:29

0 Answers0