Hey,
        When I want to set a function for an event how do I pass it an object?

EX:
        //alias document
        d = document;

        //get the div
        thisDiv = d.all.menuDiv;

        //give it the mouseover function
        thisDiv.onmouseover = changeVis;

end ex

Now I would assume there had to be a way to pass it an object.  I would have thought 
you could do = changeVis(thisDiv); or something but that just errors out.

TIA
        

Timothy Heald
Assistant Webmaster
Overseas Security Advisory Council
U.S. Department of State 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to