Closed
Bug 125101
Opened 23 years ago
Closed 21 years ago
bovision.se - bad show/hide layer code
Categories
(Tech Evangelism Graveyard :: Other, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ping.liao, Unassigned)
References
()
Details
(Whiteboard: [havefix][havecontact])
The 'talk bubbles' on the page that should only occur when you move the mouse
over the corresponding link. Now they are always present which therefore hides
whatever below them.
This website works fine with NS 4.7x and IE 6.x, but does not work correctly
on NS 6.2 Windows and Solaris.
This problem is reported by Christer Jansson <Christer.Jansson@mic.ericsson.se>
Comment 1•23 years ago
|
||
Confirming on Sparc Solaris build 2001013122.
This might be evangelism as well, but I don't know enough javascript to be able
to tell.
Status: UNCONFIRMED → NEW
Component: Browser-General → JavaScript Engine
Ever confirmed: true
Summary: 'talk bubbles' should only occur when the mouse is moved over the corresponding link → 'talk bubbles' should only occur when the mouse is moved over the corresponding link
Comment 2•23 years ago
|
||
same as bug 119436 I think. This one has a test case though...
definitely not JSEng
Assignee: asa → joki
Component: JavaScript Engine → DOM Events
QA Contact: doronr → vladimire
The 'talk bubbles' in the URL are controlled by the JS function:
function showHide(obj,sStatus)
{
if (document.layers) //Netscape
{
if (sStatus == "show")
eval("document."+obj).visibility = "show";
else
eval("document."+obj).visibility = "hide";
}
else //IE
{
if (sStatus == "show")
eval(obj).style.visibility = "visible";
else
eval(obj).style.visibility = "hidden";
}
}
which is called like:
onMouseOver="showHide('inredning','show');"
onMouseOut="showHide('inredning','hide');"
'inredning' is <div> Id. I don't think this should work, over to evangelism ?
Comment 5•23 years ago
|
||
Yes, we will take. -> Euro West
Assignee: joki → nitot
Component: DOM Events → Europe: West
Product: Browser → Tech Evangelism
QA Contact: vladimire → caillon
Version: other → unspecified
Comment 6•23 years ago
|
||
looking at the site I dont see anything wrong. seems FIXED to me now.
Whiteboard: [havefix]
Comment 7•23 years ago
|
||
mmm, it works now but they use ua detection instead of object detection, so it
might not work with every gecko browser.
heres a working version of the showhide function that uses object detection :
function showHide(obj,sStatus)
{
if (document.layers) //Netscape 4
{
if (sStatus == "show")
eval("document."+obj).visibility = "show";
else
eval("document."+obj).visibility = "hide";
}
else if (document.all) //IE
{
if (sStatus == "show")
eval(obj).style.visibility = "visible";
else
eval(obj).style.visibility = "hidden";
}
else if (document.getElementById)
{
if (sStatus == "show")
document.getElementById.style.visibility = "visible";
else
document.getElementById.style.visibility = "hidden";
}
}
Comment 8•23 years ago
|
||
My swedish is very poor :-/
Contact (possible) : info@bovision.se
Whiteboard: [havefix] → [havefix][havecontact]
Comment 9•23 years ago
|
||
can someone contact them with the fix ?
Summary: 'talk bubbles' should only occur when the mouse is moved over the corresponding link → bovision.se - bad show/hide layer code
Comment 10•22 years ago
|
||
Some contacts:
mikael.kristiansson@bovision.se -responsible for the site.
andreas@bovision.se - technical resp
johan.nicklasson@bovision.se - technical development
Frederic: Swedes speak well English
Comment 12•22 years ago
|
||
other default owner
Assignee: nitot → other
QA Contact: z-caillon-obsolete2 → other
Comment 13•21 years ago
|
||
Site now works ok, the script has been corrected. Checked this with current
Firefox/aviary and Netscape 7.1.
Fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•