• XML to close the window

    Author
    Topic
    #388774

    I could really use some help. I have web pages that use Microsoft-generated XML. What I want to do is to close the current window. I know how to do this in javascript but I’m clueless with the XML. Currently, the XML opens another html file. I’ve attached a file with the portion of XML code that has the link that I want to change to simply close the current window.

    Just a little background — In order to allow subject matter experts create training modules for the web, we have them use PowerPoint (2000) and then save the file as a web page. When that happens, Microsoft creates LOTS of XML code. (Yes, I know there are better programs to produce training but this is what we have to work with. notmyfault)

    Thanks in advance for trying to solve this problem!

    Viewing 0 reply threads
    Author
    Replies
    • #684133

      What you’re seeing here as a “<p:onmouseclick" is not a standard kind of XML, it's more like a way that Microsoft's HTML converters create notes for themselves, mapping the application's features to HTML. XML is best thought of as a data layout language/concept/thing, and does not in itself contain any way to close a window. I think you are going to have to use JavaScript.

      • #684213

        JScher2000,

        Thanks for your reply. I’ll add the appropriate javascript. It will be interesting to see exactly where to place the javascript to make it work.

        BTW: Do you ever sleep? snore I noticed the time of your reply.

        • #684621

          Just in case anyone else needs a similar fix, I deleted this code :

          nNOW click

          here to continue.

          and replaced it with this code.

          Oh, the extra stuff Microsoft PowerPoint added in when converting a slide to html (and it’s XML)! drop

    Viewing 0 reply threads
    Reply To: XML to close the window

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: