Results 1 to 3 of 3

Thread: jQuery in IE

  1. #1
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default jQuery in IE

    Hi, I've recently started working with jQuery and it's turning out nicely in Firefox, but of course it's broken in IE, no surprise there.

    Basically there are 2 animations on the page when it loads, which slide 2 images into place, but for one of the images, the animation goes off first, then it goes into position. Can anyone explain this?

    CSS:

    Code:
    #peep{
    margin-top:3em;
    width:287px;
    position:absolute;
    display:none;
    }
    
    #check{
    position:absolute;
    bottom:2%;
    right:2%;
    width:457px;
    height:55px;
    display:none;
    }

    jQuery:

    Code:
    <script type="text/javascript">
    $(window).load(function() { // Wait for page to load all images before running this
    	$('#peep').show("slide", { direction: "left", distance:287 }, 1000);
    	$('#check').show("slide", { direction: "down", distance: 100 }, 800);
    });
    </script>
    The #peep div, comes in from the left and this is working fine, it appears near the top left corner. The #check div should be sliding in from the bottom right, which it does in firefox, but in IE the image appears for a second or two, doing the slide animation, then after it's finished it positions iself in the bottom right hand corner.

    Hope you can help me out.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Can you provide all the code and a link to your page?
    Jeremy | jfein.net

  3. #3
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    You can see it here

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
  •