This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Mozilla XML > April 2005 > Get element from parent doc





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Get element from parent doc
Nir Schwartz

2005-04-04, 12:35 pm

Hello everyone,

I am working now with the mozilla firefox-0.9.3-source (C++) enviroment and
i would like to go over all the buttons in some XUL file in order to find
the nearest button to the selected one.
I would like to know how to get from the document the buttons list from all
frames and from each button its position.

My starting point is the nsEventStateManager.cpp in PostHandleEvent method.
I want to take the main document and to walk on all frames and in each frame
all elemetnts.

how do I get the frame holder and get the element list?

Thanks.
Nir.


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews