Apiarist wants to know how I got my blog to do that pop-up comment thingie.
Because I do most of blog tweaking while drinking beer (or cleaning up beer-related messes) I don't really remember how I did that.
So, how'd I do that? I'm certainly not so savvy as to have coded it myself. Wasn't there a "Useful Thingy" link about that somewhere or was this something I squirreled away from the MT forums?
Posted by Tiffany at July 31, 2005 04:48 PM | TrackBackYour blog appears to have the default comment templates. So you probably didn't do anything to make it that way. There is a script that shows your comments inline, withut the pop up window. Those are really the only two options I know about
Posted by Gir at July 31, 2005 05:12 PMHmm. I figured as much. I remember that I didn't put too much thought into it at the time, so it MUST be the default.
Posted by Tiffany at July 31, 2005 05:50 PMI was just monkeying around with the same thing.
I'm modifying a template for three-column design that I nicely glommed from Eric.
Eric doens't use the 'pop up' comments window whereas I did (on my old template) and still wanted to use it.
I THINK that if you insert the following code between the and tags in the Main Index template that you'll get the desired effect, i.e. 'pop up' comment window:
function OpenComments (c) {
window.open(c,
'comments',
'width=580,height=580,scrollbars=yes,status=yes');
}
function OpenTrackback (c) {
window.open(c,
'trackback',
'width=480,height=280,scrollbars=yes,status=yes');
}
The only thing you might have to also modify would be the layout/format of the 'Comments' thingy at the bottom of each post.
While I'm no genius at MT coding, this worked for me.
Posted by Mad Mikey at July 31, 2005 09:58 PMAnd since we're on the subject....
How do I adjust the margins within the 'pop up' comments window? The current settings that I have make the text butt right up against the left-side of the comments window and I cannot figure out how to adjust it.
I know that messing around with the comment settings in the Main Index template only affects the bottom portion of the post window.
I've also looked at the Comment Listing template, but that is getting me nowhere fast.
[/stupid]
Posted by Mad Mikey at July 31, 2005 10:07 PMafter the "scrollbars=yes,status=yes" bit, and before the single quote, try adding ",padding=15px". If that adds the space all around, you can adjust the 15 up or down to suit. If that works, I'm not entirely positive that will.
Posted by Ted at July 31, 2005 10:22 PMNO GO Ted.
Is there any place else that I could try this??
Posted by Mad Mikey at July 31, 2005 10:34 PMMikey: If you want to, you can look at my comment template and CSS and grab them.
Posted by Madfish Willie at July 31, 2005 11:41 PMYes, Mikey, add that padding line in the CSS sheet of the comment template.
If that's all Greek to you, let me know and I'll post the step-by-step.
Posted by Ogre at August 2, 2005 12:28 PMI've been tinkering with the templates over the last few days and somewhere in that endevour I managed to fix that problem. I believe it was in the 'Comment Listing Template'.
Now my only major problem is to get it so that anyone using IE6 can properly view my blog.
Posted by Mad Mikey at August 3, 2005 12:03 AMSo.........who's going to play smart and deliver all that info in a nutshell to Apiarist?
Anyone?
Bueller? Bueller?
Posted by Tffany at August 3, 2005 12:44 AM