5.38 KB, text/plain
98.65 KB, image/jpeg
108.08 KB, image/jpeg
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:184.108.40.206) Gecko/20080623 Firefox/220.127.116.11 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:18.104.22.168) Gecko/20080623 Firefox/22.214.171.124 Hi, I have a ruby on rails app that generates a link with an anchor(http://localhost:3000/photos?thumb_page=3#thumbanchor) in FF when the user clicks on the up or down arrow which generates the above link the page is refreshed and the user is sent to the top of the page instead of the anchor location. In IE 6 it works as expected and actually if I go into the address bar in FF of the url generated and press enter it will bring me to the correct anchored location. For some reason it does not do it when first generated. This has been a frustrated issue and any guidance would be appreciated. Reproducible: Always Steps to Reproduce: 1. click on up or down arrow which has a dynamically generated link with an anchor 2. 3. Actual Results: click on up or down arrow which has a dynamically generated link with an anchor Expected Results: the expected results is that this would bring the user to the anchored position specified and not to the top of the page. the expected results is that this would bring the user to the anchored position specified and not to the top of the page.
IS your zoom level at default and can you reproduce it with a default zoom level (view/zoom/reset). Please do not attach Microsoft Doc files here. Either attach a screenshot as image (jpg, png) or if you want to add text then attach it as rtf (save it in MS Office as rtf).
(In reply to comment #3) > IS your zoom level at default and can you reproduce it with a default zoom > level (view/zoom/reset). > > Please do not attach Microsoft Doc files here. > Either attach a screenshot as image (jpg, png) or if you want to add text then > attach it as rtf (save it in MS Office as rtf). > Yeah zoom level is default and I attached new jpg screen shots
Created attachment 328221 [details] this is the result after clicking on the link, it goes to the top.
Created attachment 328222 [details] this is where it should go and does if you click inside the address bar this is where it should go and does if you click inside the address bar, after the page has been previously loaded.
Does it work correct correctly if you add width and height attributes to your images? Maybe Firefox doesn't see any room to scroll when the page first loads, since it doesn't know the sizes of the images.
its anchored to a container divid=thumbanchor which already has a height and width. Plus I don't want to force my images into a specific width or height. Would you like to see any other code to help you trouble shoot this? its been a frustrating one. Again after the link gets clicked on and brings the user to the top of the page if you go inside the address bar and press enter it will bring you to the correct anchor spot. But it does not do it when the url is first generated for some reason.
I also posted the code online at http://cmstest.orakatsystems.com
I made the anchor stand out on the page in red.
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1a1pre) Gecko/2008070602 Minefield/3.1a1pre http://cmstest.orakatsystems.com/photos?thumb_page=3#thumbanchor works fine for me -- clicking the down arrow keeps it scrolled to the bottom.
thats good to hear, so far it seems to be working on FF3, safari and IE6. At least those are the one's I've tested or people I work with have tested. What platform are you running FF2 on? its still not working correctly for me but maybe I should try a fresh install of FF w/o any plugins etc.. to see if that works. I'm on a win xp sp 2 laptop with a 800X600 display.
I hadn't tested Firefox 2 until just now, but it seems to work fine for me in Firefox 2 as well. I'm running on Mac OS X 10.4.
do you know anyone who has a win xp and ff2 that can also confirm this? also, as I mentioned, I'll try a clean install. Originally I upgraded to FF3, however, since there was no compatible firebug yet and some rails plugins I was using have not been certified on FF3 I reverted back.
There's a compatible version of Firebug now :) This bug is unlikely to ever be fixed on the Firefox 2 branch, so you might as well mark it as WORKSFORME (since it works correctly in the current version).
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.