Closed Bug 14327 Opened 25 years ago Closed 24 years ago

[LAYER] Javascripted menus do not work on this page.

Categories

(Tech Evangelism Graveyard :: English US, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: mark, Assigned: bugzilla)

References

()

Details

I created this page to experiment with Javascript menus, and although it is
working on Netscape 4.61 and whatever IE5 release I have, M9 reports a
javascript error:

JavaScript Error: popMenu is not defined.

Under Communicator 4.61 and IE5 the popup menu appears as expected.

I have PII 300 running Windiows NT 4 SP5. 192Mb RAM.

In order to reporduce the error go to the site
http://www.markdnet.demon.co.uk/menu.htm

and click one of the links.
Assignee: mccabe → brendan
Reassigning to Brendan, suspecting javascript urls.

I'm guessing it's nothing to do with menus per se, but some question of scoping;
popMenu is defined in the page.  javascript urls are a recent appearance with
m9, and your page uses them; perhaps javascript urls aren't seeing the expected
scope that would let them access popMenu?
Status: NEW → ASSIGNED
Target Milestone: M11
Hmm, javascript: worked in M9, although maybe there were other bugs.

I'll look into this tonight.

/be
Depends on: 1646
For starters: document.layers returns null. So the javascript thinks the browser
is Internet Explorer. (document.all...)
To finish it off visibility doesn't work.
try this code:
<HTML>
<HEAD>

<SCRIPT language="JavaScript">
document.sm1.visibility = VISIBLE;
</SCRIPT>

<STYLE>
#test { visibility:	hidden; }
</STYLE>
</HEAD>

<BODY>
<SPAN ID="test">
Hello
</SPAN>
</BODY>
</HTML>

Expected Results:
Hello

Actual Results:
[BLANK PAGE]
Target Milestone: M11 → M12
don't think brendan has a fix in hand. moving to m12.
Assignee: brendan → ekrock
Status: ASSIGNED → NEW
Eric, can you close this one if it is in fact bad content?  Thanks,

/be
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
INVALID. Notified reporter via template at
http://sites.netscape.net/ekrock/fixit/layer.html
Summary: [4.xP]Javascripted menus do not work on this page. → [LAYER] Javascripted menus do not work on this page.
Marking [LAYER] for recordkeeping.
Moving all [LAYER] bugs to Evangelism component for tracking and open-source
evangelism by mozilla community members of sites that need to upgrade to support 
web standards such as HTML 4.0 (instead of LAYER/ILAYER) and the W3C DOM
(instead of Nav4 document.layers[] or IE document.all()). Sites should be
lobbied to do the upgrade using the email templates that are linked to from
http://www.mozilla.org/newlayout/bugathon.html#layerbugs . When a site's owner
has confirmed receipt of the message requesting an upgrade, the bug should be
marked with the keyword evangelized to indicate that evangelism for that bug is
complete. When the site finishes the upgrade and supports standards, the bug
should be closed.
Assignee: ekrock → nobody
Status: RESOLVED → NEW
Component: Javascript Engine → Evangelism
Keywords: evangwanted
QA Contact: cbegle → nobody
Target Milestone: M12 → ---
Marking bug evangelized and clearing cc:s as courtesy to reduce spam.
Keywords: evangelized
Resolution: INVALID → ---
Like I said, its was just an experimental page. I will delete it rather than fix 
it as I decided not to use this feature in any other sites, so I guess this can 
be closed.
Status: NEW → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → FIXED
Like I said, its was just an experimental page. I will delete it rather than fix 
it as I decided not to use this feature in any other sites, so I guess this can 
be closed.
Status: RESOLVED → CLOSED
Reopening as we don't normally close bugs.
Status: CLOSED → REOPENED
Resolution: FIXED → ---
Fixing contacts....
Assignee: nobody → blakeross
Status: REOPENED → NEW
QA Contact: nobody → zach
Now resolving as mark has stated it was just a test page.
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → WONTFIX
Keywords: evangwanted
Keywords: evangelized
verifying (page is now a 404)
Status: RESOLVED → VERIFIED
All Evangelism Bugs are now in the Product Tech Evangelism. See bug 86997 for
details.
Component: Evangelism → US English
Product: Browser → Tech Evangelism
Version: other → unspecified
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.