really not sure, but maybe try

A/

1- (step/10000)  instead of 1-step/10000


B/

$("#slogan").css('opacity',0);  instead of $("#slogan").css('opacity','0');


On Sun, Dec 28, 2008 at 1:04 AM, Althalos <ca...@ekdahlproduction.com> wrote:
>
> I posted something similarly before but I posted wrong code. This
> time, everything is correct and I'll provide all the information
> needed.
>
> First of all, the URL to the site which is not working is
> http://uf.ekdahlproduction.com/itsvintage2/
>
> The error: In FF everything works perfectly but in IE it gets stuck on
> 1% and nothing happens whatsoever.
>
> The code:
> $(document).ready(function(){
>    $("#slogan").css('opacity','0');
>    var step = 10000;
>   (function(){
>      step -= 100;
>      $("#percentage").text(100-step/100 + '%');
>      if ( step > 0 )
>         $("#logo").fadeTo(100,1-step/10000, arguments.callee);
>         else window.location = "http://uf.ekdahlproduction.com/
> itsvintage2/home.html";
>      if ( step == 3500 )
>        $("#slogan").fadeTo(3500,1);
>   })();
>
> });
>
> Comments: I have noticed that it changes the opacity correctly, and
> also sets the content of #percentage to 1%, therefore Jquery must be
> working. Maybe this can be some kind of general javascript error?
> Something that IE interprets differently than FF?
>
> Thank you

Reply via email to