Loading ...
Sorry, an error occurred while loading the content.

Newbie help please.

Expand Messages
  • Jacqui Fleming
    I am using overlibmws and getting the following Javascript errors : OLRegCmds is not defined overlibmws_hide line no14 and fd.body has no properties
    Message 1 of 1 , Apr 14, 2007
    • 0 Attachment
      I am using overlibmws and getting the following Javascript errors :
      OLRegCmds is not defined overlibmws_hide line no14
      and
      fd.body has no properties overlibmws.js line no 221.

      Can anybody shed any light on the problems please. Thanks.

      Here is the html page.
      <!DOCTYPE html PUBLIC "-//w3c//DTD XHTML 1.1//EN"
      > "http://wwww.w3org/TR/xhtml11/DTD/xhtml11.dtd" >
      > <html>
      > <head>
      > <script type="text/javascript"src="mws/overlibmws.js"></script>
      > <script type="text/javascript"
      > src="mws/overlibmws_iframe.js"></script>
      > <script type="text/javascript"
      > src="mws/overlibmws_hide.js"></script>
      > <script type="text/javascript"
      > src="mws/overlibmws_shadow.js"></script>
      > <title>Grape Type Chart</title>
      > </head>
      > <body>
      > <div id="overDiv" style="position:absolute; visibility:hidden;
      > z-index:1000;"></div>
      > <embed src="chart.svg" width="800" height="700"
      > type="image/svg+xml" />
      > <body>
      > </html>
      >
      > Here is the svg page :
      > <svg width="800" height="700" xmlns="http://www.w3.org/2000/svg"
      > xmlns:xlink="http://www.w3.org/1999/xlink" onload="init(evt)">
      >
      > <script type ="text/ecmascript" xlink:href="buildGraph.js" />
      >
      > <text x="200" y="20">Chart for Wine Site</text>
      >
      > </svg>
      >
      > Here is where I am calling it in buildGraph.js
      > var rect = document.createElementNS(svgNS, "rect") ;
      > rect.setAttribute("fill", colour) ;
      > rect.setAttribute("x", x) ;
      > rect.setAttribute("y", y) ;
      > rect.setAttribute("width", width) ;
      > rect.setAttribute("height", height) ;
      > rect.setAttribute("onmouseover", "overlib('This is an ordinary
      > popup.');")
    Your message has been successfully submitted and would be delivered to recipients shortly.