JavaScript - Safari Bug?

On PaperBackSwap and SwapaCD we have some tool-tip rollovers that display a definition of what we define as keywords. (This can be seen in action on http://www.paperbackswap.com/help/hdtw.php. The word “credit” has been highlighted.) It came to our attention the other day that Safari was display anything replaced by JavaScript as $& which was suppose to be the text or “keyword” it found. We have a separate JavaScript file that gets loaded into the page that has the keywords we have definitions for. Well the $& worked for in both IE 6 and 7, Firefox 1.5 and 2 and Opera but not Safari. Simply changing the $& to $1 since I only needed the first thing it found solved the problem. So now when the user clicks one of the links with dashes under it they get the definition of that keyword loaded up from the server with an AJAX call. Yipee now all the browsers are working again…..

One Response to “JavaScript - Safari Bug?”

  1. Avatar Andy Says:

    It took me a minute to see what you were talking about, but now I see. I guess a seperate FAQ page will still be needed, but some people will realize that they can click the word for more info right there. By the way, the reply box blends into the sidebar…on this box I’m typing in right now.

Leave a Reply