December 07, 2005

Show/Hide Thingy

Did you ever wonder how to make a Show/Hide thingy? Press "Show" below to see one answer.

(Show)

Posted by David Boxenhorn at December 7, 2005 04:58 PM | TrackBack
Comments
#1

Thanks David. :)

Posted by Pixy Misa at December 7, 2005 09:30 PM
#2

I forgot to say: Replace "YourId" with an ID unique to the page. Something with <$MTEntryID$> will do fine, if you have more than one post on the page.

Posted by David Boxenhorn at December 7, 2005 10:12 PM
#3

Also, I had to add spaces in the script before ")" because it was giving me smiley faces.

Posted by David Boxenhorn at December 7, 2005 10:14 PM
#4

Yeah, it does that. ;)

Posted by Pixy Misa at December 7, 2005 11:39 PM
#5

Now, the interesting thing is that you can do it inside a post. Fun!

Posted by Pixy Misa at December 8, 2005 06:12 AM
#6

It also works better than the method being used for opening/closing comments, at least in my browser (Firefox). When I close comments it moves the whole page up, instead of closing "in place", which I find really annoying.

I don't see any reason why this method can't be used for comments too.

Posted by David Boxenhorn at December 8, 2005 08:03 AM
#7

Outstanding!

I don't like the page behavior either, but have gotten used to it by now.

I'll link this post under Useful Thingys in the sidebar.

Posted by Madfish Willie at December 8, 2005 12:31 PM
#8

Pixy: This method is inside a post!

Posted by Madfish Willie at December 8, 2005 12:35 PM
#9

David: Yep.
Madfish Willie: Yep. I did notice that. ;)

Posted by Pixy Misa at December 8, 2005 12:49 PM
#10

Pixy... sorry, my reading and comprehension skills are deteriorating... I thought your comment said now to see "if" it works in a post... D'oh!

Posted by Madfish Willie at December 8, 2005 05:53 PM
#11

David: FYI This method does not was 'as is' in the pLog blogging software.

Posted by Madfish Willie at December 9, 2005 02:01 PM
#12

That's odd. I don't see any reason for it not to work. I'll give it a try sometime next week when I'm less dead.

Posted by Pixy Misa at December 10, 2005 12:19 PM
Live Comment Preview
Post a comment









Remember personal info?