Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 828507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:44:06+00:00 2026-05-15T03:44:06+00:00

I’ve been scratching my head for hours trying to figure this out. I have

  • 0

I’ve been scratching my head for hours trying to figure this out. I have this page: http://173.203.72.190/default.aspx. On clicking ‘Any Cuisine’, a sort of overlay is supposed to open.

It works fine in nearly all browsers except IE6 and Opera. In IE6 and Opera, the jQuery ‘overlay’ won’t open.

Anybody have any ideas why this might be?

Edit: The code triggering the overlay is below:

$("a#zoneListLink").click(function() { 

    var listTop = $(this).css("top");
    var listLeft = $(this).css("left");

    var api = $("a#zoneListLink").overlay({api: true, close:'div.close', top: listTop, left:listLeft, onLoad:function() { $(document).click(function() { api.close(); } ); },
    onClose:function() { $(document).unbind("click"); } }).load();

});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T03:44:06+00:00Added an answer on May 15, 2026 at 3:44 am

    There is a bug or incompatibility inside the jQuery overlay effect. It’s hard to find because Opera’s behaviour makes more sense, but breaks the script’s buggy expectations..

    First, compare the output of this command in Opera and for example Firefox:

    javascript:alert(getComputedStyle(document.getElementById("cuisineListLink"),'').top);
    

    Opera gives you the top position of the cuisineListLink in pixels. Firefox says “auto”.

    Now, in combined.js look for this code (wrapped by me):

    if(typeof t=="string"){
        t=t=="center"?Math.max((n.height()-q)/2,0):parseInt(t,10)/100*n.height()
    }
    

    I have no idea why it does “parseInt(t,10)/100*n.height()”, but it looks like this code expects either the string “center” (to do vertical centering of the layer) or a number. When Opera passes in a string like ‘310px’, the script will extract the integer, divide it by 100 (i.e. 3.1) and multiply it with the height of your browser window (?!). Net effect is that the overlay is positioned carefully outside of the screen – 3 screen heights down.

    In Firefox, we get to this line and the t variable is the string ‘auto’. The script tries parseInt() which returns ‘Not a Number’, NaN, and proceeds to divide by 100 and multiply with window height – which of course keeps returning NaN. Then it positions the overlay at NaNpx which the browser will simply ignore as a bogus value. You will find a warning to that effect in Firefox’s error console.

    I’d recommend using a different overlay plugin (or perhaps a newer iteration?) because this code doesn’t make much sense.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
This could be a duplicate question, but I have no idea what search terms
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I know there's a lot of other questions out there that deal with this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.