Since moving to using a mac for my home computer there have been some joys and some pains. Some things that I just have to get used to I guess because it's "the mac way", others just rub me the wrong way.
For instance, if I am using a piece of software that has a window's and mac version, I expect that they will work the same way. I understand that this is a really difficult thing to do. The "feature" that set off this rant / post is the fact that when I "open in new tab" for firefox, a lot of links open in a new window and open in a new tab. When I look at the code for the links, the end of the onClick event has a "return false". That normally works. Not so in FF on a mac.
*sigh* I'll look for the bug report later.
Update: I've been thinking about this a bit more. I guess it's a difference between what fires the onclick event from browser to browser. In my mac, if I right click on do "open in a new tab", it just opens in a new tab. If I command-click, it fires the onclick event and opens in a new tab. If anyone knows what bug that would correspond to, let me know.
Just as a reference point, this seems to happen on windows too. It even works on this blog site of yours. Often out of habit, I'll CTRL+click on the comments link, and the comments popup window window will come up, while it also opens in another tab. I think this is due to the way that Javascript handles onclick. With onclick, you can handle any kind of click event, including CTRL click. From what I remember, in your onclick event handler, you can check the modifier keys and perform different actions based on them if you wish.
ReplyDelete