It doesn’t mess up the page on netscape 4.08, but I’m assuming that’s because DNS resolution fails immediately and nothing gets loaded. When you put http://rateyourmusic.com/global/busy in the load script, all of a sudden the entire page becomes the server busy page, both on 4.08 and 4.79.
]]>Return neither one: I’m just looking to replace my failsafe_yaccs_linktext(count) call with a call into the remote script, so it should take int:count plus all the pre and post strings and booleans that yaccs() takes, and return Comments[5] or what-have-you. I wouldn’t even bother except that failsafe_yaccs_linktext() makes such a long thing to scroll past in the template code, and it’s already there in the remote script. If you just make yaccs() call yaccs_link_text() to get the actual text, and then do its document.write, then both ways can share the same code to assemble the comment count: old-style calls yaccs() which calls yaccs_link_text() and then does a document.write, new-style calls yaccs_link_text() and assigns the return value to the span.
]]>Hmm. Not sure of the solution. I don’t really want to have to get every single <span> on the page, and I don’t think you can getElementById with a wildcard (I want comment*). Too early in the morning. More thought later.
]]>