Announcement

Collapse
No announcement yet.

Problem at runtime with an HTML object

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem at runtime with an HTML object

    Hi Guys! I got one for you. I know you will be able to answer me about that. I having problem with an HTML object ib my AMS4 project. At runtime it give me an "Internet Explorer Script error. I atteached the html object that i have problem with. It is actually a DHTML menu i built using Sothink DHTML
    Menu 4.0. Could please tell me why i am having that problem? Is AMS4 supports DHTML?

    thanx again
    Martin

  • #2
    Re: Problem at runtime with an HTML object

    how can i attachements??

    Comment


    • #3
      Re: Problem at runtime with an HTML object

      It doesn't seem to be possible to attach files to posts any more.

      As for DHTML...it's one of those things you just have to try. It depends on what the javascript is trying to do. The embedded Internet Explorer control probably has a different Document Object Model than the full Internet Explorer application.
      --[[ Indigo Rose Software Developer ]]

      Comment


      • #4
        Re: Problem at runtime with an HTML object

        Hi Lorne

        Yeas, but when i open the object with windows explorer it opens corectly! why it doesnt in AMS4 and how can i correct this?

        Thanx

        Comment


        • #5
          Re: Problem at runtime with an HTML object

          You might not be able to correct it, without changing the DHTML -- in other words, it depends on what the DHTML (i.e. Javascript) is trying to do.

          The Web Browser Object uses the Internet Explorer control...but the rest of the Internet Explorer application is not there. Just the "guts."

          Each browser has a "Document Object Model," which is basically an "interface" that a client-side script like Javascript can use to manipulate the browser and its contents. DHTML is just normal HTML that uses Javascript to make the HTML change when certain things happen -- to make the HTML dynamic.

          It sounds like your DHTML isn't working because the "interface" that an embedded Internet Explorer control presents to Javascript is either (1) different from the one that the regular Internet Explorer browser uses or (2) doesn't even exist at all.

          Since it works fine in Internet Explorer (the full application), then you could do a "File - Open" action to open the DHTML in the user's web browser, instead of displaying it in a Web Browser Object. It won't be part of the page, but at least the DHTML will work, if that's more important to you.
          --[[ Indigo Rose Software Developer ]]

          Comment

          Working...
          X