Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:13

Menu picks up element not defined in data file


Poster: perldev
Dated: Friday August 27 2004 - 21:01:19 BST

When I test the menu, I found the menu picks up a select box, which is not defined in data file. Is there any name confliction?

Please see the screenshot. (red cycle part)

The select box does not always show up, and it could be in different submenu. Please help me out.

- A licensed user.


Poster: perldev
Dated: Friday August 27 2004 - 21:19:40 BST

Hit another JS error:
Quote:
A Runtime Error has occured. Do you wish to Debug?
Line: 16
Error: '_mi[...].1' is null or not an object


When debug, it's in
Code:
function _cL(){ .. 
   for(_b=0;_b<_Ml;_b++){_i=_M[0][_b];if(_mi[_i][1])_b=_Ml}
   ..
}


This is a separate issue. Is it because of anything wrong in the data file?


Poster: perldev
Dated: Friday August 27 2004 - 21:34:39 BST

Please discard the js error. I fixed that already. The select box appears again. :cry:


Poster: perldev
Dated: Friday August 27 2004 - 21:39:05 BST

When I viewing the page source, even couldn't find any select box. So weird.


Poster: Ruth
Dated: Friday August 27 2004 - 22:50:30 BST

Hi perldev,
We can see it in the screenshot but we really do need a url because from the shot there's no way for us to figure out what is going on either in the menu_data file or on the page, we need to see the coding, and what browser is causing this would be helpful.

Ruth


Poster: perldev
Dated: Friday August 27 2004 - 23:53:17 BST

The url is http://www.lind-waldock.com.

OS: XP Pro; Browser: IE 6.0.2800.1106.xpsp2.030422-1633

Whever hit the page with following code:
Code:
<!--<tr>
               <td><script type="text/javascript" language="Javascript">   function jumpit(uri)
   {
      var val_array = (new String(uri)).split('|');
      var wh=null;
      if (val_array.length > 1){ wh=window.open(val_array[0]); if (wh==null){alert("The popup has been blocked!");} }
      else if(wh==null) {location.href=val_array[0];}
      return false;
   }
</script><table width="215" height="100" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td colspan="2" width="215" height="23"><img src="/images/special_offers.gif" width="215" height="23" border="0"></td></tr><tr><td colspan="2"><img src="/images/spacer.gif" height="1" width="100%" border="0"/></td></tr><tr bgcolor="#e7e7e7"><td width="22"><img src="/images/spacer.gif" width="21" border="0"/></td><td><p><a href="/tools/tl_lindxpresscd.shtml"><img src="/images/promo_lxp5.gif" width="180" height="87" border="0"></a></p><p class="promo">Get more of what you want and need as a futures trader with Lind Xpress 5.0! <a href="/tools/tl_lindxpresscd.shtml">Click here</a> or call 1-800-445-2000 for more information.</p><p align=center><form id=soselector name=soselector><select name='promolists' style='font-size:9;' onChange='jumpit(this.options[this.selectedIndex].value);'><option value=''>View All Special Offers</option><option value='/edu/ed_10free.cgi'>Trade 10 Contracts for FREE </option><option value='/sis/index.shtml'>Stock Index Signal, $59 Offer </option><option value='/esignal/index.shtml'>eSignal at Lind Rebate Offer </option><option value='/tools/tl_lindxpresscd.shtml'>Try Lind Xpress 5.0 FREE </option><option value='http://www.lindforex.com|_blank'>$50,000 Lind Forex Demo </option></select></form></p></td></tr><tr><td colspan="2" height="5" bgcolor="#999999"></td></tr><tr><td colspan="2" height="5" bgcolor="#ffffff"></td></tr></tbody></table></td>
               </tr>-->


The problem happens till refresh the whole page.


Poster: perldev
Dated: Saturday August 28 2004 - 0:15:00 BST

Ruth-


Thanks for your quick response. The problem happens in the customer area. When I save the html source as a new file, the problem goes way. I may remotely share my desktop with you. Please go to http://www.lind-waldock.com/support; select "Lind Support" from the drop down, then hit "continue" and follow the screen promptions. I will be there awaiting for you.


Poster: perldev
Dated: Saturday August 28 2004 - 2:14:41 BST

Checked error_log file, found an error: /blank.html not exists. I guess you use it as a container to deal with select box etc. After I added the blank page, it seems the problem goes away. If it comes back, I will update the thread.