Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Getting "this.el is null" error
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Getting "this.el is null" error
#13608
Getting "this.el is null" error 13 Years, 7 Months ago Karma: 0
Hi. I've created an ARI EXT Menu for my Joomla 1.5. Every time the page loads, it throws a JavaScript error:
Code:

Error: this.el is null
Source File: http://localhost/content/modules/mod_ariextmenu/mod_ariextmenu/js/menu.min.js
Line: 10



Any ideas what's causing this?

Also, I'm not able to display any of the submenu items on my menu. I hover over the menu and can't see the submenu items. Could it be this error that's preventing the submenu? Thanks.
The administrator has disabled public write access.
 
#13609
Re:Getting "this.el is null" error 13 Years, 7 Months ago Karma: 760
Hello,

Provide link to page where we can see the problem or if it is not possible, send page files by email. Specify also what browser you use.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#13611
Re:Getting "this.el is null" error 13 Years, 7 Months ago Karma: 0
Thanks. I'll work on sending the files; in the meantime, the thing that causes the error is a change I made to the top-level UL's ID:

Code:

$menuId = AriUtils2::getParam($params, 'menuId', '');

//$menuId = 'top-nav';

$menu = $params['menu'];
$hlCurrentItem = $params['hlCurrentItem'];
$fullMenu = !empty($params['fullMenu']) ? $params['fullMenu'] : $menu;
$level = $params['level'];
$parentId = $params['parentId'];
$gid = $params['gid'];
$j15 = $params['j15'];
$selectedId = AriUtils2::getParam($params, 'selectedId', 0);
$direction = AriUtils2::getParam($params, 'direction');
$lang =& JFactory::getLanguage();
$langTag = $lang->get('tag');

$menuId = $level == 0 ? 'top-nav' : $menuId; //my hack to the code



I'm setting that menu ID to "top-nav" and for some reason it doesn't like it. If I take that out and use the ID the system generates, it seems to work, but I lose my styling.
The administrator has disabled public write access.
 
#13615
Re:Getting "this.el is null" error 13 Years, 7 Months ago Karma: 760
It can be a problem if another element has the same ID. We can recommend to change your CSS rules that it use CSS class instead of element ID.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1