Events and event handlers

Discussion in 'JavaScript' started by localhost8080, Aug 22, 2009.

  1. #1
    A wee question - I know about domready and onload events, but is there a way for me to specify my own events ?
    that way i can hide a div that has images in it till my nice little mootools coverflow has finnished doing what it does then show the images and it doesnt look all messy with images displaying on the page (I know how to do this bit, its just the creation of custom events - i dont even know if its possible)

    thanks =)
     
    localhost8080, Aug 22, 2009 IP
  2. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #2
    What kind of events? I don't think so but you could run code at interrvals using settimeout. And check if something has occurred.
     
    camjohnson95, Aug 22, 2009 IP