can u show your updated code ?

On Sun, Dec 28, 2008 at 4:02 PM, Althalos <ca...@ekdahlproduction.com> wrote:
>
> Srry for my first reply to this message. It DOES work if one remove
> the anonymity. One has also to remove ( function ) () in favor of an
> initiating functionname() instead =)
>
> On 28 Dec, 10:32, "Alexandre Plennevaux" <aplennev...@gmail.com>
> wrote:
>>  Maybe try a named function instead of an anonymous one ? so avoiding
>> arguments.callee by using your function name instead?
>>
>> On Sun, Dec 28, 2008 at 2:03 AM, Althalos <ca...@ekdahlproduction.com> wrote:
>>
>> > Nope, I'm sorry but that doesn't seem to work. Note that setting
>> > opacity to zero works in both browsers.
>>
>> > On 28 Dec, 01:25, "Alexandre Plennevaux" <aplennev...@gmail.com>
>> > wrote:
>> >> 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