Bug 70415 - Konqueror: Javascipt problem - scrolling text
Summary: Konqueror: Javascipt problem - scrolling text
Status: RESOLVED DUPLICATE of bug 53114
Alias: None
Product: konqueror
Classification: Applications
Component: kjs (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-14 17:30 UTC by jakubpol
Modified: 2003-12-14 18:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jakubpol 2003-12-14 17:30:54 UTC
Version:            (using KDE KDE 3.1.94)
Installed from:    Gentoo Packages
Compiler:          gcc-3.3.2-r3 
OS:          Linux

I have a problem viewing the following site (kde beta2): 	fakty.interia.pl
There is a scrolling text at the top, which moves from right to left. Unfortunately, the whole page flashes (is redrawn) all the time and gets wider and wider. It's almost unreadible. I have tried to isolate the problem, but since I have absolutely no knowledge of html, I'm not sure if I succeeded :). Anyway, here's a part of that page that gets displayed correctly in opera but not in konqueror:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head><title>konqi test</title></head>
<html>
<body>
<p>
<script language="JavaScript1.2">
	var marqueewidth=402
	var marqueeheight=14
	var marqueespeed=1
	var marqueebgcolor="#F3F3F3"
	var marqueecontent='<nobr><b>15:22</b> <a>Czasy rzadow dyktatora</a><b> *** </b><b>12:07</b> <b>12:03</b> <a>Infolinia pomocy molestowanym dzieciom</a><b> *** </b><b>11:03</b> <a>Zamiec w Bieszczadach</a></nobr></span>'
	var actualwidth=''
	var cross_marquee
	
	function populate() {
		cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
		cross_marquee.style.left=marqueewidth+8
		cross_marquee.innerHTML=marqueecontent
		actualwidth=document.all? cross_marquee.offsetWidth : document.getElementById("temp").offsetWidth
		lefttime=setInterval("scrollmarquee()",20)
	}
	window.onload=populate
	
	function scrollmarquee() {
		cross_marquee.style.left=parseInt(cross_marquee.style.left)-marqueespeed
	}
	
	with (document){
		write('<table border="0" cellspacing="0" cellpadding="0"><td>')
		write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">')
		write('<div style="position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'">')
		write('<div id="iemarquee" style="position:absolute;left:0;top:0"></div>')
		write('</div></div>')
		write('</td></table>')
	}
</script>
</p>
</body>
</html>

Regards,

jakub
Comment 1 Tommi Tervo 2003-12-14 18:39:02 UTC

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