test
Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • localconnectionsmagazine Friend
    #184609

    Error from console on firefox if you could let me know what the issue is and if theres a fix I’d appreciate it. Love the template, great work!!!!

    Timestamp: 02/02/2013 07:28:52
    Error: TypeError: this.menu.getElement is not a function
    Source File: http://www.inthingstodo.com/index.php?lang=en&jat3action=gzip&jat3type=js&jat3file=t3-assets%2Fjs_07aee.js
    Line: 20501

    /* 15.mega.js */

    JRMenu.inst=this;this.menu.addClass(‘mm-enable’);this.childopen=[];this.imgloaded=false;this.loaded=false;this.addnavbtn();this.prepare();},addnavbtn:function(){if(!(Browser.ie&&Browser.version<9)){var jlevel0=this.menu.getElement(‘ul.level0’);if(jlevel0){var jmega=this.menu,jbutton=new Element(‘div’,{id:’ja-menu-button’,html:’Navigation’,styles:{display:’none’}}).inject(jmega,’before’);jbutton.addEvent(‘click’,function(e){e.stop();if(jmega.getStyle(‘display’)==’block’){jmega.removeClass(‘active’).setStyle(‘display’,’none’);jbutton.removeClass(‘active’);}else{jmega.addClass(‘active’).setStyle(‘display’,’block’);jbutton.addClass(‘active’);}});$(document).addEvent(‘click’,function(){if(!jmega.hasClass(‘mm-enable’)){jmega.removeClass(‘active’).setStyle(‘display’,’none’);}

    Object has no method “get element” in Chrome

    Any help is greatly appreciated

    localconnectionsmagazine Friend
    #482141

    having dug further the error is referring to joomlart modal.css -moz error

    Saguaros Moderator
    #482344

    Hi,

    Did you hide menu in your site? I see no menu now.

    Please enable it and pm me FTP account of your site, I shall check for you.

    bossies Friend
    #484580

    TypeError: this.menu.getElement is not a function
    var jlevel0 = this.menu.getElement(‘ul.level0’); mega.js (line 58)

    i am also getting this error on Firefox. If i open the site in full view – everything is fine, but then i re-size the screen to test the mobile look. When i open the mobile view the, the menu do not close automatically to just display navigation. it keeps the complete menu open. I do not know where to go with this, as this only happens when i open a listing on my mosets component. It works fine if you are in the category listing, but as soon as you open a listing to go into the details, i get this error and the menu do not close. Below is link to listing details where you can see this error

    http://www.atmalmesbury.co.za/directory/computers-internet/web-graphic-design/voiceconnect-internet-solutions

    please help?

    Saguaros Moderator
    #484676

    Hi bossies,

    I try to open your above link in Firefox 18.0.2 but cannot see that error: http://i.imgur.com/LV72BJY.png

    bossies Friend
    #484915

    did you resize your browser window until you get to the mobile size?

    bossies Friend
    #484916

    just another thing, i do not receive any mails when someone is updating on the forum and thus takes me a while to come back as i do not know that someone has replied – can you please check that or tell me where i must change a setting?

    bossies Friend
    #484917

    i am getting the same problem on a new site http://www.voiceconnect.co.za/about-us TypeError: this.menu.getElement is not a function
    [Break On This Error]

    …display:’none’}}).inject(jmega,’before’);jbutton.addEvent(‘

    so on this site its the same – the mega menu do not close when you resize or open the site on your phone

    Saguaros Moderator
    #484976

    Hi,

    Could you set compress JS in template manager to No? This will help to know which file causes this JS error.

    BTW, did you install any 3rd party extension in your site?

    bossies Friend
    #485031

    i have set the template js to NO

    Yes i have installed 3rd party extentions

    Saguaros Moderator
    #485072

    Hi,

    The 3rd party used in this page: http://www.voiceconnect.co.za/about-us may have js that conflicts with js used in Mega menu.

    Did you try to change the default template to another standard joomla template so that we can know the problem comes from that 3rd party ext or this template specific?

    If problem only occurs in our template, pm me admin and FTP account for further checking.

    Regards

    bossies Friend
    #486339

    Bump,

    Please can i get some response on this – i have send a pm and logged a ticket

    Saguaros Moderator
    #486451

    Hi bossies,

    I tried to create a sub menu for one of menu items in your site: http://www.atlangebaan.co.za/ and it displays fine, I don’t see the above error

    Kindly check again.

    Regards

    bossies Friend
    #486505

    please go to http://www.atlangebaan.co.za/directory/property/estate-agents/seeff-properties-langebaan

    THEN PLEASE DRAG YOUR BROWSER WINDOW TO GET THE MOBILE VIEW

    the menu do not collapse like it should and you would see the error.

    Saguaros Moderator
    #486556

    As I can see you make your customization in your site, please tell me how you changed in menu and pm me ftp account, I shall check for you.

Viewing 15 posts - 1 through 15 (of 27 total)

This topic contains 27 replies, has 3 voices, and was last updated by  Saguaros 11 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum