You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, March 3rd 2007, 5:20pm

updating Konqueror status bar text

Hi. I'm having a problem trying to update the status bar in Konqueror. I have an AJAX function that requests an update from the server, with:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function xmlGET(url, action)
/**
call this function to send an XML GET request to the server. 'url' is the
page to request from the server. 'action' is an integer to call a function
in processXMLResult() to update part of the current page's content
with data returned from the server.
**/
  {
  update_content = action;
  prompt("sending GET request...");
  xmlGETdoc(url);
  }

function prompt(msg)
  {
  window.status = msg;
  }


Just to make sure it's not my code, I have written a small test page to update the status bar test:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<title>status-test.php</title>

<script type="text/javascript">

function prompt(msg)
  {
  window.status = msg;
  }

</script>
</head>

<body onload="prompt('hello there')">

<h2>Status bar message test</h2>

</body>
</html>


The code works fine in Firefox, and the status bar text is updated OK. In Konqueror under Settings->Configure Konqueror->Java & Javascript->Javascript I have checked the Allow radio button for Modify status bar text, and saved this, but I still cannot update the status bar text. Does anyone else have this problem, and what do I need to do to fix it please?

I'm using Konqueror 3.5.6-0.1.fc6 Red Hat (Using KDE 3.5.6-0.3.fc6 Fedora Core.