Closed
Bug 645025
Opened 13 years ago
Closed 13 years ago
When using an internal link in an Iframe the internal link will only scroll the Iframe (if the Iframe has scroll bars) and will not scroll the containing web page.
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 638598
People
(Reporter: varnadorejoel, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0 Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0 This issue also exists on Windows XP. If you have an internal link in an Iframe the link will only scroll the Iframe, not the containing webpage, so if there is no scroll bar in your Iframe it will do nothing. For your convenience I have uploaded a test page demonstrating this problem to http://firstviewonline.com/demo/Firefox-bug/FF4-bug-test.html. If you examine the source you will see "id='toptoptop'" at the top, but the link at the bottom that says "Straight to the top" does not work. We are using an Iframe in one of our pages. This iframe is not wide and has a lot of content so we extended the Iframe to prevent creation a scroll bar inside the Iframe. Now our internal links to various sections of the text do not work. We tested everything, tried "name=" and "Id=", but to no avail, so we mocked up a fake page with the basics. Then we created a second page who's sole purpose was to use an iframe to import the first page. We stretched the iframe to prevent the double scroll bar, and sure enough that is the issue. It works in FF 3.6, Safari, Chrome, IE 8 + IE8 compatibility mode. Reproducible: Always Steps to Reproduce: 1. Create a webpage with an iFrame. 2. Load some HTML into the iFrame that includes internal links. 3. Size the iFrame so that the only scroll bars in existence are those on the edge of the browser (none on the iFrame). 4. Click an internal link that should cause the page to scroll (no scrolling will occur). Actual Results: Firefox did not go to the correct section of the page. It just stayed were it was. Expected Results: Expected Firefox to scroll to the Id= tag I had in place.
Updated•13 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Comment 2•6 years ago
|
||
can you please help me how i fix my issue when i use Firefox in my personal computer. I am also facing problem while I am opening my website on Firefox my website is https://wampinfotech.com. Please solve my issue as soon as possible.
You need to log in
before you can comment on or make changes to this bug.
Description
•