<DIV>Hello dear sir,<BR> I have a question to consult you.Referencing to the example of adding a Marker with an AnchoredBubble popup,I implete a demo. I use WFS to query some data.And I make the popup display the data.It needs to transfer some parameters.But when I change the function registerd on the marker,<BR>It returns wrong.The codes are as follows.What I change is that <BR>"marker.events.register("mousedown", marker, mousedown(evt,str));".I want to know that in which js file I can modify the marker register function? Or is there some better way? Thank you very much!</DIV>
<DIV> </DIV>
<DIV> Sincerely yours,</DIV>
<DIV> Yang</DIV>
<DIV> </DIV>
<DIV> marker.events.register("mousedown", marker, mousedown);<BR> function mousedown(evt) {<BR> // check to see if the popup was hidden by the close box<BR> // if so, then destroy it before continuing<BR> if (popup != null) {<BR> if (!popup.visible()) {<BR> markers.map.removePopup(popup);<BR> popup.destroy();<BR> popup = null;<BR> }<BR> }....<BR> }</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV><br><!-- footer --><br>
<hr>
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50" height="50"><img src="http://mimg.163.com/hd/163/163footer/163footer_50.jpg" alt="LOGO" width="50" height="50"></td>
<td style="padding:5px;"><a style="font-size:12px;color:black; line-height:20px;text-decoration:none;" href="http://popme.163.com/link/003515_0929_938.html">把爱心注入牛奶,共同凝聚这份力量</a><br /><a style="font-size:12px;line-height:20px; color:black; text-decoration:none;" href="http://popme163.com/link/003515_0929_938.html">快来参加蒙牛免费赠奶爱心行动 </a></td>
</tr>
</table>