Forum Replies Created

  • andygasser

    Reply To: Debug XMAX in IE

    Participants 0
    Replies 1
    Last Activity 13 years, 8 months ago

    Have 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.

    Reply

    andygasser

    Reply To: What is selected

    Participants 0
    Replies 1
    Last Activity 13 years, 9 months ago

    It 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.

    Reply

Products
Downloads
Support