Java-script bug in captions February 17, 2003 6:26 AM   Subscribe

I've found a bug in the new javascript captions that come up on links with title attributes - in Phoenix/Mozilla, if I ctrl-click on a link to open it in a new tab, the caption stays up, and the only way to make it go away is to reload the page.
posted by chrisege to Bugs at 6:26 AM (12 comments total)

I'm getting the same thing on IE 6. My personal MetaFilter settings are to open links in a new window, so it happens when I simply click on any link.
posted by botono9 at 6:29 AM on February 17, 2003


I see this in both IE5.5 and IE 6, depending on which computer I'm sitting at. It's been pointed out before as well (in both of the recent MeTa "title attribute" threads), but I can't be hassled with looking for it right now. Also, I find that those titles look terrible with the "plain text" stylesheet, but that's just personal opinion.

And, while we're at previously mentioned bug reports, the titles for the textads still come up on the high left of the screen, obscuring the date and time information.
posted by walrus at 7:28 AM on February 17, 2003


There is a very easy fix for this bug: add this to the makeNiceTitles() function, along with all the other addEvents:

addEvent(lnk, "mousedown", hideNiceTitle);

That clears the popup for a right-click (at least on OSX Mozilla).
posted by ook at 7:37 AM on February 17, 2003


i get exactly the same problem running windows millenium and ie6. i wasn't going to post it, but seeing as i'm not the only one.

and ook, i wish i understood what (good advice, i'm sure) you're helping us with, but, i'm stupid?!
posted by triv at 11:33 AM on February 17, 2003


All of these bugs were to be reported in this thread as Matt requested (see the blue update sidebar on the MeFi front page). This bug has been mentioned numerous times; I'm sure he knows about it.
posted by rhapsodie at 11:36 AM on February 17, 2003


Thanks ook, I think that code did it. After refreshing, it works for both middle-clicks and control/command clicks in mozilla now. No more sticky titles. Thanks again.
posted by mathowie (staff) at 12:45 PM on February 17, 2003


I still have the problem, using IE6.
posted by ashbury at 12:57 PM on February 17, 2003


hmm. well, it works in Mozilla, but yeah, IE on the pc still keeps it around. I'll look into the code.
posted by mathowie (staff) at 1:04 PM on February 17, 2003


It may just be that the old javascript file is still in the browser cache -- I run into that a lot when debugging js code. Refreshing the web page isn't enough; you have to explicitly refresh the .js file, do a force-reload, or quit and restart the browser before IE will twig to the fact that you've changed the file.

I tried my change in IE6/Win98 and it works in a testbed file... on the other hand I'm not seeing the nice titles at all on the mefi homepage in that browser, just the plain-vanilla tooltips, so maybe I'm not as smart as I think I am....
posted by ook at 1:45 PM on February 17, 2003


(translation for the non-jargonified: force reload == hold down the shift key while hitting the refresh button. Normal refresh just downloads the html file again; force refresh gets all the images and included files as well.)
posted by ook at 1:48 PM on February 17, 2003


Thanks matt and ook, much better now.
posted by ashbury at 6:53 PM on February 17, 2003


Yay. I did one thing right today. Come to think, that means I did one thing right this week. Hm. I better stop now before I get depressed.
posted by ook at 9:24 PM on February 17, 2003


« Older Spoofed posts not funny anymore   |   Where do I find my member number? Newer »

You are not logged in, either login or create an account to post comments