2 entries tagged javascript and safari

JavaScript image loading problems

The image-cycling feature of the Picky Picky Game prototype depends on using JavaScript to load images. If you click on the Cycle button before the images have been prloaded, then nothing visible happens—it appears to have failed. There is no way for the user to see whether the images have loaded or not. I have attempted to add such an indication, only to be thwarted by what appear to be bugs in the web browsers I have tried it on. Read more

Alleged Tarot brush-up (3)

The SVG-powered simulated deal now works on Safari. In the end I achieved this by using the special attribute that signals to Adobe that it should use its own JavaScript engine, not its host’s (in this case, Safari’s). I have also belatedly switched the script to using document.URL to find its URL rather than the HTML-style location.search (which fails on Safari as well). Read more