Forum Replies Created
-
andygasser June 10, 2009 at 4:07 pm
Reply To: Debug XMAX in IE
June 10, 2009 at 4:07 pmParticipants 0Replies 1Last Activity 13 years, 8 months agoHave you tried that, does it actually work for you?
I am able to debug the scripts running within MSIE just fine, either by attaching the script debugger from the View menu, or by prompting the debugger with a “debugger” statement. That tells me that script debugging is enabled, allowed, and working. I am not able to debug the scripts running within the XMAX script engin. I don't know of a way to attach the debugger to XMAX and my “debugger” statements have no effect.
andygasser May 6, 2009 at 1:32 pm
Reply To: What is selected
May 6, 2009 at 1:32 pmParticipants 0Replies 1Last Activity 13 years, 9 months agoIt seems that it's not that simple. Selection.ContainerNode does not give you the current node, as the documentation states, it gives you the selection's container.
Consider this example:
[code]
Child 1
Child 2
Child 3
[/code]When the user has the second Child element (child 2) selected how can I figure that out. When I use Selection.ContainerNode it returns the Parent element. Using DOM from there will allow me to navigate to the Child nodes but how do I know which one is selected.
I agree I can change the selection using the Selection API but how will it help me figure out which Child element is selected.
-
AuthorPosts