Menu picks up element not defined in data file

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
perldev
Mega User
Mega User
Posts: 115
Joined: Thu Aug 26, 2004 5:23 pm
Location: Chicago

Menu picks up element not defined in data file

Post by perldev »

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.
perldev
Mega User
Mega User
Posts: 115
Joined: Thu Aug 26, 2004 5:23 pm
Location: Chicago

Post by perldev »

Hit another JS error:
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: Select all

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?
perldev
Mega User
Mega User
Posts: 115
Joined: Thu Aug 26, 2004 5:23 pm
Location: Chicago

Post by perldev »

Please discard the js error. I fixed that already. The select box appears again. :cry:
perldev
Mega User
Mega User
Posts: 115
Joined: Thu Aug 26, 2004 5:23 pm
Location: Chicago

Post by perldev »

When I viewing the page source, even couldn't find any select box. So weird.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
perldev
Mega User
Mega User
Posts: 115
Joined: Thu Aug 26, 2004 5:23 pm
Location: Chicago

Post by perldev »

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: Select all

<!--<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.
perldev
Mega User
Mega User
Posts: 115
Joined: Thu Aug 26, 2004 5:23 pm
Location: Chicago

Post by perldev »

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.
perldev
Mega User
Mega User
Posts: 115
Joined: Thu Aug 26, 2004 5:23 pm
Location: Chicago

Post by perldev »

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.
Post Reply