In a welcome surprise, my referrer stats recently revealed that Master Designers John Oxton and Jon Hicks have generously decided to link to my latest Installment: Stagecraft.
Unfortunately, my Installments system has been suffering from a Safari bug for a while. Now, with the sudden surge of new traffic, I figured it was time to take action, and things should be fixed. Safari users will get the whole essential experience…
The bug, which was discussed in the comments of another post a while back, means that deep links to named Flash anchors such as
would infinitely refresh the page if seen using Safari. On the other hand, a plain link such as
would work just fine. I’ve encountered no other browsers with this behaviour.
Named Flash Anchors
When I initially built the installments system, I had 2 simple goals:
- Ability to link directly to each image in an installment of 5
- Allow music to play uninterrupted while looking at the 5 pictures
- As the sharp reader will notice, this is a pickle. On one hand, it’s easy to let music play uninterrupted if the music is being played in a permanent frame. On the other hand, this pretty much kills the ability to have different URLs for main content.
- The solution, which I remember being very proud of, was to use the new Flash 6 feature called named anchors. It worked wonderfully, and I described the process in a detailed tutorial.
- A good month later, that very tutorial would reveal the first reports of the problem. Since then, I’ve tried to ignore the problem due to other things of higher importance. That is, until today.
The Problem with Anchors
In the end, URLs such as /installments/2005/05/#5 will still work for Mac users, but the anchors will no longer update to represent the active page, when the page is navigated.
(This link would prevoiusly refresh infinitely for Safari users)