Closed
Bug 174210
(servisco.com.pl)
Opened 22 years ago
Closed 21 years ago
servisco.com.pl - Clickable map uses document.all
Categories
(Tech Evangelism Graveyard :: Polish, defect, P3)
Tech Evangelism Graveyard
Polish
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: gabrielbaines, Assigned: piskozub)
References
()
Details
The problem is with http://www.servisco.com.pl/html/mapa.htm page, that can be reached from http://www.servisco.com by clicking 'O firmie' -> 'Adresy'. The page shows a clickable map of Poland. Unfortunatelly, the JavaScript code that handles it tries to use document.all or document.layers. Since none of them exist in Mozilla DOM, clicks on the map are silently ignored. Note: the problem has been originally reported on MozillaPl.org forum: http://mozillapl.org/forum/viewtopic.php?t=980
Assignee | ||
Comment 2•22 years ago
|
||
Accepting for real.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee | ||
Comment 3•22 years ago
|
||
For the map to work it is enough to add one line changing function MM_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x; } into function MM_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; if(!(x=d[n])&&d.getElementById) x=d.getElementById(n); for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x; } The actuall addition is if(!(x=d[n])&&d.getElementById) x=d.getElementById(n);
Assignee | ||
Comment 4•22 years ago
|
||
The contact address innthe source of the map page is smart@supermedia.pl Servisco contact address (probablu useless fo us) is marketing@servisco.com.pl
Assignee | ||
Comment 5•22 years ago
|
||
I sent a modified LAYERS letter, suggesting the above mentioned change to both the addresses from comment 4 plus webmaster and postmaster (as usually). Webmaster bounced, the rest was OK.
Target Milestone: Oct → Dec
Assignee | ||
Updated•22 years ago
|
Alias: servisco.com.pl
Updated•21 years ago
|
Summary: Clickable map at www.servisco.com.pl uses document.all → servisco.com.pl - Clickable map uses document.all
Comment 8•21 years ago
|
||
tech evang june 2003 reorg
Component: Europe: Central → Polish
Target Milestone: Future → ---
Assignee | ||
Updated•21 years ago
|
Target Milestone: --- → Future
Comment 9•21 years ago
|
||
I've set up a temporarily corrected version of the page (see Jacek's comment 3) page at http://www.marcoos.zwm.punkt.pl/bugzilla/servisco/mapa.htm Sent letter to: info@supermedia.pl, smart@supermedia.pl and marketing@servisco.com.pl.
Comment 10•21 years ago
|
||
smart@supermedia.pl bounced.
Comment 11•21 years ago
|
||
Site has been fixed and Jacek's modifications to dreamweaver's functions applied. Checked with Netscape 7.1 and Firebird-trunk. -> FIXED.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•9 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
•