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 4076478
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:25:48+00:00 2026-05-20T17:25:48+00:00

I have written a small jquery application that allows a person to slide a

  • 0

I have written a small jquery application that allows a person to slide a handle 200 px to the right.

The application uses jQuery 1.2.6 and jquery UI 1.5.3

My script works flawlessly in all browsers except ie 7 (ie 6 untested, don’t care). It even works in ie 8.

to see the code app in action and the code via view source, please check out http://iomobile.dev.devsu.com.

iphone-unlock.js is the jquery code, which uses style.css specifically for the graphic elements. Sorry it’s very slow – caching is turned off while I debug.

Also, there are no errors for debugging. Any thoughts on why this is happening are greatly appreciated.

I thought it may be helpful to add the code in an edit:
$(document).ready(function()
{

var unlock = function()
{

    $.openPopupLayer({
        name: "iPhoneInteract",         
        url: "/sites/all/themes/tao/templates/iphone.html",

        afterClose: function () {
            $("#unlock-handle").animate({"left" : "-1"} );
            $("#slide-to-unlock").animate({opacity: 1}, 200 );
        top.location.href = 'http://iomobile.dev.devsu.com/?device=desktop';
        }
    });


}



$("#unlock-slider").slider({
    handle: "#unlock-handle",
    animate:true,
    slide: function(e,ui)
    {
        $("#slide-to-unlock").css("opacity", 1-(parseInt($("#unlock-handle").css("left"))/120));
    },
    stop: function(e,ui)
    {
        if($("#unlock-handle").position().left == 210)
        {
            unlock();
        }
        else
        {
            $("#unlock-handle").animate({left: 0}, 200 );
            $("#slide-to-unlock").animate({opacity: 1}, 200 );
        }
    }
    }
);

});
enter code here

  • 1 1 Answer
  • 2 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-20T17:25:49+00:00Added an answer on May 20, 2026 at 5:25 pm

    IE7 has a problem with animation if two conditions are true:

    • A containing DIV has position: relative, AND
    • The property being animated is not set (in this case “left”)

    Looking at the style.css, it appears you are setting a value for “left,” but #unlock-bottom does have position:relative so it’s unclear if the IE7-specific issue applies. It might be helpful to debug with the animated elements in a container that does not have position:relative to see if the problem goes away.

    See http://www.electrictoolbox.com/jquery-animation-issues-ie7-position-relative/

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

Sidebar

Related Questions

I have written a small application in HTML/CSS/JQuery/XML/XSLT that ends up writing to an
I have written a small jQuery script that checks the computed size of a
I have written a small chat app that uses mysql + php to facilitate
I have a custom jQuery script that works fine in all bowsers but one
I have written a small little script that looks up a work on wikipedia
Hi I am learning JQuery and I have written a small function where I
I have written a small app that puts my bluetooth in discoverable mode for
I have written a small .net Windows Forms application. And now I decided to
I have written a small makefile for a few simple C programs that compiles
I have written a small function, which uses ElementTree to parse xml file,but it

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.