Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default [Fixed v1.5.1] Admin Menus don't work in Opera 12 for Windows

    Greetings all

    Could some Opera users out there, check the admin in Opera 12

    The dropdown menus in Admin (config, catalog, modules, customers etc) don't seem to work correctly with the latest version of Opera.

    The drop down menus seem to be appearing almost completely off the screen to the extreme left, I can only see a small portion of the menu in the viewable area

    (I tried on a 1.39h site and it seems to be effected also)

    About Opera
    Version information
    Version
    12.00
    Build
    1467
    Platform
    Win32 (I am running on a 64 bit machine)
    System
    Windows Vista

    Cheers
    Webzings Design
    Semi retired from Web Design

  2. #2
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Admin Menus don't work in latest version of Opera

    Hmmm thats odd I seem to be the only one.

    I think I have traced the problem to the

    admin/includes/menu.js file

    For some reason the value of "point.x" isn't being set correctly, although i have not a clue how to get further, i am wondering if the parent thingie has been changed or something

    javascript was never my thing
    Webzings Design
    Semi retired from Web Design

  3. #3
    Join Date
    Jun 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: Admin Menus don't work in latest version of Opera

    Did you look at the `cssjsmenu` function in "/zencart/adminx/includes/menu.js"?
    The `cssjsmenu` function is so disgusting that there is probably a bug in there. That function needs some refactoring.

    Comment this line:
    Code:
    child.style.position = 'static';
    Comment this line:
    Code:
    child.style.left = '-13em';
    Comment this line:
    Code:
    setPageXY(child, point.x, point.y + this.offsetHeight);
    At least, it will work now.

    You also posted this in the Opera forums:
    http://my.opera.com/community/forums...dml?id=1451592
    Last edited by XP1.; 24 Jun 2012 at 06:07 PM.

  4. #4
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Admin Menus don't work in latest version of Opera

    Thanks heaps for that XP1, its much appreciated, and also thanks for posting the solution here as well as the Opera forum.

    The main reason i also posted on the Opera forum was in the hope someone familiar with Opera could point me in the right direction or at least let me know what exactly had changed (Operawise) that was causing this script to break.
    Webzings Design
    Semi retired from Web Design

  5. #5
    Join Date
    Jun 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: Admin Menus don't work in latest version of Opera

    Quote Originally Posted by nigelt74 View Post
    Thanks heaps for that XP1, its much appreciated, and also thanks for posting the solution here as well as the Opera forum.

    The main reason i also posted on the Opera forum was in the hope someone familiar with Opera could point me in the right direction or at least let me know what exactly had changed (Operawise) that was causing this script to break.
    Quote Originally Posted by nigelt74
    Cheers for that, yes I did cross post between here and the zencart forums, mainly because I just couldn't figure out what in Opera 12 has changed, and it will effect Zencarts Opera Users.

    I have in the past got the Javascript for a couple of zencart add-ons to work correctly with Opera, but that was more a case of trial and eroor and the javascript was easier to read, whereas this javascript was a bit more obtuse, i couldn't quite get my head around it.
    The code was from Netscape, year 2003:
    http://devedge-temp.mozilla.org/view.../index_en.html

    Code so old, it's not guaranteed to work in modern browsers. Yes, based on this code's style, it is hard to read.

    There are a lot of old browser traps in there that are not very relevant today. I'd say that the code needs to be rewritten for the current decade.
    Last edited by XP1.; 24 Jun 2012 at 11:53 PM.

  6. #6
    Join Date
    May 2010
    Posts
    72
    Plugin Contributions
    0

    Default Re: Admin Menus don't work in latest version of Opera

    Just wanted to post a thanks for this. I had the same problem & this fix was easy & perfect.

  7. #7
    Join Date
    Sep 2012
    Location
    Lopik
    Posts
    5
    Plugin Contributions
    0

    Default Re: Admin Menus don't work in latest version of Opera

    Perfect! Worked for me too. This bug really annoyed me.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Admin Menus don't work in latest version of Opera

    Fixes included in v1.5.1
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 19 Sep 2012, 03:54 AM
  2. Links in Admin area don't work after admin folder rename
    By bhfruitcakeco in forum General Questions
    Replies: 8
    Last Post: 27 Dec 2007, 06:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR