Bug 134472

Summary: konqueror fade khtml css
Product: [Applications] konqueror Reporter: FiNeX <finex>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description FiNeX 2006-09-21 20:55:56 UTC
Version:           3.5.4 (using KDE 3.5.4, Arch Linux)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.18

The site http://mikeomatic.net/techtips/css-crossfader/ is using some ajax tecnique for fading div objects using the prototype library (http://prototype.conio.net/) and scriptaculous (http://script.aculo.us/). With firefox the divs fades, in konqueror the "fade" effect doesn't work. The code used in that page is:


// this array consists of the id attributes of
// the divs we wish to alternate between
var divs_to_fade = new Array('box-1', 'box-2', 'box-3');
                 
// the starting index in the above array.
// It should be set to the value of the div which 
// doesn't have the CSS Display property set to "none"
var i = 0;
                         
// the number of milliseconds between swaps. 
// Default is five seconds.
var wait = 5000; 

// the function that performs the fade
function swapFade() {
  Effect.Fade(divs_to_fade[i], { duration:1, from:1.0, to:0.0 });
  i++;
  if (i == 3) i = 0;
  Effect.Appear(divs_to_fade[i], { duration:1, from:0.0, to:1.0 });
}
                         
// the onload event handler that starts the fading.
function startPage() {
  setInterval('swapFade()',wait);
}
Comment 1 Maksim Orlovich 2006-10-27 19:57:24 UTC

*** This bug has been marked as a duplicate of 69610 ***