Alter the behavior of external links in Movable Type. Continue reading...
There are 17 comments. If you haven't already done so, you might want to read the original article that inspired these comments.
There’s a more canonical way to do this in CSS. Check out: http://www.w3.org/TR/1998/REC-CSS2-19980512/generate.html#before-after-content
Note: I haven’t actually played with this myself, and it’s possible that some browsers will ignore it.
Worse than ignoring it, some browsers really muck it up. IE 6 appears to put the “after content” inside the block instead of after the block. Basically, whatever’s in the after content sits on top of what it’s supposed to be after.
Trackback from Boon Kwee's Blog
external links in new windows write up
Excerpt: External Links in new windows :: Kalsey Consulting Group I must get down to doing this.
Trackback from kadyellebee
external links
Excerpt: Thanks to eska, I was reminded that I wanted to implement the External Links differentiation on my site. That was
Trackback from Test
testing external links
Excerpt: External Links in new windows :: Kalsey Consulting Group
Trackback from Life in the Zu
Testing External Links Plugin
Excerpt: I wanted to add the External Links icon to my site awhile ago, but I just got around to it today. Thanks to Kristine for leading me to the geeky instructions....
Trackback from As deep as a puddle after a hard rain
Avoiding Duplicate Comments
Excerpt: Avoiding Duplicate Comments You have to be running Movable Type on a SQL database in order for this to work. and another thing... External Links in new windows I get so tired of having to add the target="blank" attribute to the links that point away fr...
Trackback from kadyellebee
i heart css
Excerpt: I've been using the External Links to differentiate between offsite links, but I'd had at least one person say
Trackback from Zlinks
External Links
Excerpt: External Links in new windows :: Kalsey Consulting Group...
Trackback from unblogged updates
aug.30.03
Excerpt: Arrrgghh! lol I have no updates. I'm that big of a loser. I've been mucking with a whole bunch of stuff for Movable Type. Especially stuff like Opening External Links in new windows [1 & 2]. Unfortunately, no matter what...
Thanks adam! This is a good solution.
Just a tip to all reading this you need the regex plugin and the macro one by the look of it.
regex : http://www.bradchoate.com/past/mtregex.php#000884
Looking for an icon? Send me a ping and you can use this one: http://blog.iloaf.com/archives/000107.html
Trackback from Reflective Reality
External links open new windows
Excerpt: Just installed the regex and macro plugins and a macro from Adam to open links in new windows. Wanna know how? Want an Icon? read on......
All you need is Macros, the regex plugin isn’t needed.
Hello, I just installed MTMacro. I’m still having a difficult time trying to understand how this plugin works. I have the AXS visitor tracker on in my blog. I want to track “outside” links, and it requires me to prepend “http://mydomainname.com/axs/ax.pl?” before each link in the href attribute. ie. If I wanted to track who clicks a link to nytimes.com, I’d have href=”http://mydomainname.com/axs/ax.pl?http://nytimes.com” target=blank” I want to use this plugin to automatically prepend this to each link outside of my site because handtyping it in is such a pain. But I don’t want to it to prepend to any internal links since they’re all tracked anyway. And also add the target=”blank” attribute to the external links as well. Any help with be greatly appreciated! Thanks!
Hmmm. So why would a space appear instead of the icon in some links? For example, the link you included to Web Graphics has a blank space where the icon should be. I have a similar situation with a link on my site.
At first I thought it was the hyphen in the domain name (because your link and mine both have one), but I tested by removing the hyphen and still had the same problem.
i love oll
Text only, no HTML. URLs will automatically be converted to links. Your email address is required, but it won't be displayed on the site.
Trackback URL: http://kalsey.com/cgi-bin/mt/mt-tb.cgi/15
Adam Kalsey
Mobile: 916.600.2497
Email: adam AT kalsey.com
AIM or Skype: akalsey
©1999-2008 Adam Kalsey.
Content management by Movable Type.
Fortunately, mozilla can be configured to ignore that annoying “open in new window” silliness… :-) (See http://gammatron.novarese.net/2002/10/17.html#a2032246)