1

This question is similar, but not the same. I want external links in wiki pages to open in a new tab or window by default. I'm sure there's some simple tweak I need to do to the stylesheet, but I just don't know it off the top of my head so I was wondering if someone in the community has already figured it out?

flag

1 Answer

1

This question should be able to get you part of the way there. Those specific style selectors won't trigger in the wiki, so use #wiki-page-content for a container instead.

Also, CSS can't tell if a link is external or not, so you will likely have to put together a Bugmonkey script to determine if a link is internal or external. This shouldn't be too difficult and really only needs to see if the first part of the link URL matches the URL of your FogBugz install, or is a relative link.

link|flag
Well, this is a little more complicated than I wanted it to be, but it seems to be the right answer. I'll get around to giving it a try soon. – Lee Nov 30 2010 at 7:06

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.