Closed
Bug 252081
Opened 21 years ago
Closed 20 years ago
Image onLoad function not called when in an IFrame
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: kohler, Assigned: jdunn)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707
I've made a page which uses IFrames to display a menu. The index.html has an
IFrame for each menu I want to show + an IFrame for the page content. In the
Content-IFrame I'm using a frameset. In one of the frames of the frameset is a
href which shows the menu using the onOver event. The menu (which is one of the
other IFrames) is then shown (using ...style.design('inline')). In the menu
IFrame is a href for each menupoint. I want to change the image display for
these points using the onMouseOver and onMouseOut functions, displaying
preloaded images with the onLoad function of these hrefs. But instead of calling
the onLoad function of these hrefs when the IFrame is loaded, each time the menu
is displayed the onLoad function of the href in the frame of the content page is
called. So there are no preloaded images for the hrefs in the menu and the
onMouseOver, onMouseOut functions can't roll the image of the href.
I hope you can figure out my problem but as the page I'm writing isn't yet
finished / official I can't give you a link to the page. If you're interested in
the source code and don't put it online just like right now I will mail you an
example.
Regards Chris
Reproducible: Always
Steps to Reproduce:
1.Load page with IFrames
2.move mouse over href in menu-Frame to open menu -> menu is opening
3.in open menu move mouse over href to roll image of href -> nothing is happening
Actual Results:
nothing ;)
Expected Results:
roll the image of the href in menu
Comment 1•21 years ago
|
||
Just attach a minimal testcase with one menu element, just spacer text
("spacer"), etc., this will be enough.
![]() |
||
Comment 2•20 years ago
|
||
No testcase, no reliable steps to reproduce, and unable to reproduce based on
writing a testcase based on comment 0.
Marking invalid, but please reopen if there is a page showing the problem.
Attach it here using
https://bugzilla.mozilla.org/attachment.cgi?bugid=252081&action=enter
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•