global custom object sometimes not found by pop-ups

Discussion in 'JavaScript' started by VeteranJim, Dec 19, 2008.

  1. #1
    I have a custom object defined in an external js script.

    At the top of the main page <body> section, one instance of that custom is contructed ("new") with all the string values filled in. The main page works fine.

    I have several pop-ups that use properties of that custom object. Sometimes it works, but sometimes the pop-ups report that object is undefined. The code does not lock up in either state, but seems to randomly work or not work.

    I am hoping others have seen this problem. There is too much JS and html code involved to show a snippet. If somebody really feels like poking into the code, see http://www.virtualwall.org/new/TaylorKG01a_pictures.htm pull down the "This Memorial" menu, and release on "Make a name rubbing"

    Thanks,
    Jim
     
    VeteranJim, Dec 19, 2008 IP