Help - Search - Members - Calendar
Full Version: HTML in Comments Question
Movable Type Community Forum > Additional Resources > Tips and Tricks
psh
When I turn on HTML in Comments and someone posts a link, the link opens in the Comments box, which is a problem since:

a) the coments box is small
b) it doesn't have any navigational tools

Other MT blogs I visit don't do this; they open up in new windows......how do I get my blog to act the same way? I use MT 2.51. This is my blog, where HTML in Comments is currently off.

Thanks.
kadyellebee
You could edit your Comments Listing template to tell all links to open in new windows. Put this inside the HEAD container:
CODE
<base target="_blank">


That should do it smile.gif

Kristine
psh
As usual, kady has the answers!

Thanks! If no one has ever mentioned it, you rule!
kadyellebee
Tee hee smile.gif

Glad I could help!!
psh
Well that solves one problem, but now when you hit the 'post' button, it opens up in a whole new full-size window, rather than refreshing in the same window.

How do I fix that?

Check it out for yourself at my dumb blog.

Please help!
psh
anyone...anyone?
charle97
hmmm...that's an odd one.
stepan
Try adding a traget="_self" attribute to the FORM tag, like so:
CODE
<form method="post" target="_self" ...>
psh
that did the trick. thanks, stepan!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.