Closed Bug 35577 Opened 25 years ago Closed 25 years ago

problem with JavaScript onClick event

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: Matti, Assigned: rogerl)

References

()

Details

When you opend the link "view" on the page the second time, the browser don´t show that the page will be updated. The page/image will be loaded but not shown.
matti99@gmx.de, I'm not sure I understand your issue. Could you please take a look at the bug reporting guidelines http://www.mozilla.org/quality/bug-writing- guidelines.html to see the kind of information that we need to effectively process your bug. Thanks
The page he is taking about http://www.getright.com/skins.html uses an image swap though a javascript <Script language="javascript"> <!-- function imgOn (imgName) { if (document.images) { // document["light1"].src=("pete/" + imgName + ".jpg"); hotimage = "pete/" + imgName + ".jpg"; document ["light1"].src = hotimage; } } //--> </script> there are buttons in the page marked view, which load imgOn('imagename') This DOES WORK in netscape 6 pr1 but DOESN'T WORK in 2000040815 (and 4.x)
Severity: minor → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: asadotzler → rogerl
Component: Browser-General → Javascript Engine
OS: Windows 2000 → All
QA Contact: jelwell → pschwartau
Hardware: PC → All
Summary: The Bwoser don´t show, that the page will be updated → problem with JavaScript link rollover code
reproduced on latest nightly, but i haven't had a chance to examine this yet. Is it a problem with the source? Why else is NS 4.x not displaying it either? this is likely a dupe, but for now, fixing summary for accuracy (and readability), changing platform and OS to ALL, changing component and reassigning
johnlar@tfn.net, where in the code did you find that javascript definition of that function? I couldn't find it in the source, must have missed it i guess (?)
Sorry I meant to say it DOES WORK in 4.x (where did I leave my brain) Netscape has a weird habit of dropping javascript code it uses from the accual source it shows (like for example if you have a write.ln("<br>") it will show <br> in the source.. not the javascript used to create it.. for whatever reason. Anyways best way to see it is to turn off javascript, reload the program, then reload the page. It will show the source as it was written.
Nevermind. I only looked at this problem briefly since i wasn't at my home comp, and was under the impression that there was a rollover effect supposed to be happening. Upon closer examination and testing in IE 5.x and NS 4.x, I realize it's supposed to be an onClick event. Changing the summary to reflect this, but I'm marking WORKSFORME since this worked perfectly in 2000041205
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Summary: problem with JavaScript link rollover code → problem with JavaScript onClick event
verfied
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.