tips and tricks for movable type

better comments link
March 24, 2002

Make your comments popup link in MT more non-JS friendly.

Change your OpenComments function to this:

function OpenComments (c) {
window.open(c,
'comments',
'width=480,height=480,scrollbars=yes,status=yes');

Change your Comments link to this:

<MTEntryIfAllowComments>
<a href="<$MTCGIPath$>mt-comments.cgi?entry_id=<$MTEntryID$>" onclick="OpenComments(this.href);return false;">Comments</a>
</MTEntryIfAllowComments>

Updated 07.06.02: Note that this method is now integrated into the default MT Main Index Template.

Updated 05.01.05: As of version 3.0 of Movable Type, popup comments have been deprecated in favor of using Individual Entry Archives for posting comments.

Comments

first of all please tell me about what is url
i want to tell you that your web site is too good
as compares to others

by mathws | 10.18.03 08:04 AM

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

TrackBack: 0
(URL: http://www.thegirliematters.com/sf/mt-track.cgi/6)