From: Eric G. <egr...@ho...> - 2000-11-22 17:48:53
|
When I move my mouse over and out of the splash layer (inline layer) it generates 2 error messages. Both are the same. Line: 106 Char: 3 Error: 'Dyndoc.id' is not an object Code: 0 Url: file://D:\egravel_fl\Amsterdam2000\index.html Here's the code that I have for the inline layer (splash): <div id="splash" style="position: absolute; visibility: hidden; width: 400px; height: 100px; background-color: #0000FF;"> <table border="0" cellpadding="0" cellspacing="0" bgcolor="#000080" width="400" height="100"> <tr> <td height="15" colspan="3"></td> </tr> <tr> <td height="15" width="15"></td> <td height="15"> <table border="1" cellpadding="0" cellspacing="0" width="370" height="70" bgcolor="#FFFFFF" align="center"> <tr> <td align="center" valign="middle"><br><h2>Photo Album - Amsterdam 2000</h2><h5>by <a href="mailto:egr...@ho...?subject=Photo Album - Amsterdam 2000" style="text-decoration: none;">Eric A. Gravel</a></h5> <h4>Page loading. Please wait...</h4></td> </tr> </table> </td> <td height="15" width="15"></td> </tr> <tr> <td height="15" colspan="3"></td> </tr> </table> </div> As for the other layer giving an error when I click on the image map. It gives the same error. I find it a bit bizarre that it only gives the error when I click (get 3 same errors) Would it help if I provided the whole code? It's 9k zipped. Thanks, Eric >From: "Pascal Bestebroer" Reply-To: dyn...@li... To: >Subject: RE: [Dynapi-Help] Event Problems - dyndoc.id Date: Wed, 22 Nov >2000 12:42:20 +0100 > >the e.srcElement will point to the layer or an image, as far as I know >other html elements don't trigger onmousexx events. > >The problem with images is being solved in the creation of the layers by >adding the lyrobj property to every image in a layer (done with normal >dynlayers and inline layers) > >I just tested (on an older version of the API) with putting text in a layer >(dynlayer and inline) and the events mouseout and mouseover triggered >correctly without errors. > > >Question for Eric, what was the error you got? (not the location, but the >message) > >Pascal Bestebroer pb...@oi... http://www.oibv.com _____________________________________________________________________________________ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com |