[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Javascript problem
From:       Thomas Bennett <thomas.bennett () eds ! com>
Date:       2001-10-22 22:49:52
[Download RAW message or body]

Hello,

I am having a problem on KDE 2.2.1 running javascript functions from the 
<body> tag. It sometimes works, sometimes does not but I don't know why.

The following html will never work in Konqueror  but does in IE. (I have also 
attached it).


<html>
<head>
<title>test page</title>
<meta http-equiv="pragma" content="nocache"></meta>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">

<script language=javascript>
  var junk;

function startup() {
  document.bgColor="00FFFF";
}

</script>
</head>

<body onload="startup();">

<center>
<h2>Result</h2>

</body>
</html>

Regard
Thomas
["test.html" (text/html)]

<html>
<head>
<title>test page</title>
<meta http-equiv="pragma" content="nocache"></meta>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">

<script language=javascript>
	var junk;

function startup() {
	document.bgColor="00FFFF";
}

</script>
</head>
<body onload="startup();">

<center>
<h2>Result</h2>

</body>
</html>

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic