Because the way that you have added your anchor is ambiguous to the browser (not really your fault, just the way that Freeway codes Anchors created with the Anchor tool), the script is actually working perfectly as designed. If you inspect the page with Firefox’s HTML Inspector, or use Firebug, you will see that the anchor “Anchor03” is actually a 0 x 16px rectangle. The much larger purple image is hanging out of it. This is somewhat believable, because the image is positioned float:left and the a wrapped around it is an inline tag, without any layout of its own. Browsers are weird. HTML layout can be ambiguous, and browsers are allowed to make up their own response to something that doesn’t quite measure up in their eyes.
The way around this is to manually create your anchor as a link to #item1 (the red box in the corner of the page). Don’t bother creating the anchors themselves with Freeway’s Edit / Anchor command, just manually note the Name/ID of the element you want to link to within the page, then create an “external” URL to it, prefixed with the # octothorp character. So if you click on the red box, and you see item1 in the Inspector’s Name/ID field, then set up your link to point to #item1
. That’s it, no step two, etc.
Note that if you do this on the right side of the screen, you may need to add a phantom element to the right of the thing you want to link to, because you will only be able to anchor over to the left-most edge of the element you name in your link.
Walter
On Sep 30, 2013, at 8:37 AM, Rudolph wrote:
In most browsers the testpage works fine, but Firefox 21.0 shows the 1st (blue) anchor at the right of the frame, but seems to stop scrolling back before showing the second (purple) anchor on the left (“beginning”) of the frame… Any ideas about this problem?
http://www.schoolwegwijzer.nl/testpage01.html
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options