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

List:       kde-bugs-dist
Subject:    Bug#24091: marked as done (Javascript Frames Functions) by David Faure <david@mandrakesoft.com>
From:       owner () bugs ! kde ! org (Stephan Kulow)
Date:       2001-07-18 8:48:02
[Download RAW message or body]

Your message with subj: Javascript Frames Functions

The menus on www.windsofrubika.net appear to be working fine with the current \
Konqueror.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today


has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

Received: (at submit) by bugs.kde.org; 13 Apr 2001 09:07:19 +0000
Received: (qmail 12636 invoked by uid 33); 13 Apr 2001 09:07:19 -0000
Date: 13 Apr 2001 09:07:19 -0000
Message-ID: <20010413090719.12635.qmail@master.kde.org>
To: submit@bugs.kde.org
Subject: Javascript Frames Functions
From: robert.simmons@ingenium-ag.com

Package:           konqueror
Version:           KDE 2.1.0 
Severity:          normal
Installed from:    SuSE RPMs
Compiler:          NOte: DIdnt build from source
OS:                Linux
OS/Compiler notes: DIdnt build kde from sources

The web page is designed with multiple nested frames. In two of these frame there is \
javascript that implements a menu and a menu status button. This menu is active in \
that it cuases image maps to be changed when a user selects an item. The menu works \
within one frame but there is a problem with the frame interraction. When the user is \
in a submenu and clicks on the menu status button, the status button calls the other \
frame to ask it to back up one menu level. This works properly in mozilla and IE but \
does NOT work in konqueror. Konqueror merely ignores the call. 

function back() {
  if (menuStat == "main") {
    parent.menufr.changeMenu('main');
  } else if (menuStat == "error") {
    parent.menufr.changeMenu('main');
  } else if (menuStat == "data") {
    parent.menufr.changeMenu('main');
  } else if (menuStat == "join") {
    parent.menufr.changeMenu('main');
  } else if (menuStat == "private") {
    parent.menufr.changeMenu('main');
  } else if (menuStat == "ooc") {
    parent.menufr.changeMenu('main');
  } else if (menuStat == "professions") {
    parent.menufr.changeMenu('data');
  } else if (menuStat == "breeds") {
    parent.menufr.changeMenu('data');
  } else if (menuStat == "equipment") {
    parent.menufr.changeMenu('data');
  } else if (menuStat == "nanotech") {
    parent.menufr.changeMenu('data');
  } else if (menuStat == "biotech") {
    parent.menufr.changeMenu('data');
  } else if (menuStat == "wildlife") {
    parent.menufr.changeMenu('data');
  } else if (menuStat == "people") {
    parent.menufr.changeMenu('data');
  } else if (menuStat == "atlas") {
    parent.menufr.changeMenu('data');
  } else if (menuStat == "loading") {
    parent.menufr.changeMenu('main');
  } else if (menuStat == "clans") {
    parent.menufr.changeMenu('data');
  }
}

This function is what is run when the user clicks the button. The suspect lines are: 
parent.menufr.changeMenu('data'); and their like. I placed alerts in the code and the \
function is not being called at all. As I said this code has been confirmed to be \
bugless and works in IE and Mozilla. Gotta be a konqueror problem. 

Reference link for the full source: www.windsofrubika.net 

Reference Frames are statusfr and menufr. Both with interdependent javascript. 

=) Dont ya love it when an ohter software engineer reports bugs to ya =). More info \
then you can shake a microsoft frisbe .. uh .. cd I mean ... at. 

--rob



(Submitted via bugs.kde.org)


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

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