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

  • Home
  • SEARCH
  • 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 8610175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:03:58+00:00 2026-06-12T04:03:58+00:00

I have a problem with version of jQuery. The website I use, uses version

  • 0

I have a problem with version of jQuery. The website I use, uses version 1.7 of jQuery. However, I have a script that runs on version 1.4.
Site version:
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.1.min.js"><\/script>')</script>

Script version: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

Content script:

<script type="text/javascript">
function openOffersDialog() {
    $('#overlay').fadeIn('fast', function() {
        $('#boxpopup').css('display','block');
        $('#boxpopup').animate({'left':'30%'},500);
    });
}

// PROBLEM WITH THIS PART (cant close popup):
function closeOffersDialog(prospectElementID) {
    $(function($) {
        $(document).ready(function() {
            $('#boxpopup').css('position','absolute');
            $('#boxpopup').animate({'left':'-100%'}, 500, function() {
                $('#boxpopup').css('position','fixed');
                $('#boxpopup').css('left','100%');
                $('#overlay').fadeOut('fast');
            });
        });
    });
}
</script>

Are they used some old features jquery?

  • 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-06-12T04:04:00+00:00Added an answer on June 12, 2026 at 4:04 am

    I am guessing that your closeOffersDialog() function is called from a button click or some such. If it is, wrapping the function contents inside the DOMReady listener is pointless:

    Try this:

    function closeOffersDialog(prospectElementID) 
    {    
        $('#boxpopup').css('position','absolute');
        $('#boxpopup').animate({'left':'-100%'}, 500, function() {
            $('#boxpopup').css('position','fixed');
            $('#boxpopup').css('left','100%');
            $('#overlay').fadeOut('fast');
         });
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a website that uses jquery mobile for it's mobile version. I have
I have my site under the latest version of Jquery. There's two problems however:
I have a website that uses the jQuery Address plugin from Asual for navigation.
Our drupal site runs with jQuery version 1.2.1 which we have not upgraded. The
I have a web application that uses the current version of JQuery that needs
I have a problem with CR (version that ships with VS2008). Report has two
I have a problem with fluentvalidation (version 3.4.6.0 with fluentvalidation.MVC4, jQuery validation 1.9.0.1), the
I have used 3 some jquery related files namely <script type=text/javascript src=/blog/jquery/jquery-1.7.1.min.js></script> <link type=text/css
I have problem getting newer version of jscrollpane to work with jQuery UI tabs.
I have a problem with HTML form and Jquery. The simplified version looks like

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.