Plugin Update

Add comment March 20th, 2007 at 01:38pm 1,701 views

I have given up on the Share This plugin for now. No time to mess with it anymore. I am back to using the social bookmarks plugin, but I like the way Share This works and looks much better. When I have more time, I will try again.

Yesterday, I added the WP-chgFontSize plugin, which is pretty cool. I wish it used ems or percentages instead of pixels for the font-sizes, but can see how that might get tricky with the javascript. I added some code to include a link to return to the default font size. It was bugging me that the only way I could return to the default size was to delete the cookie from my computer. I like to have an ‘undo’ option whenever possible. If anyone else is interested in having this option, here is the code:

In the wp-chgfontsize.js file, right after this else block (around line 82):

} else {
document.write('&nbsp;<a href="javascript:void(0);" onclick="chgFontSize_increase();"><img src="' + chgfontsize_imgincdea.src + '" title="Increase Font Size" alt="A+" id="chgfontsizeimginc" /></a>&nbsp;');
}

Add this:

document.write('&nbsp;<a href="javascript:void(0);" onclick="chgFontSize_change(15);" title="Default Font Size">default</a>');

Replace the 15 with whatever your default font size is.

Just when I thought I was finished experimenting with plugins for today, I realized that even when using <code> tags, the code was not displaying right in this post. Hyperlinks were actual working hyperlinks, image tags were showing the image, and &nbsp; html codes were making spaces.

Enter my newest plugin, Code Markup, which makes the code tags work right. It is kind of annoying to use a plugin for something that is supposed to happen automatically, but it seemed like the quickest, easiest solution to make it work.

Still, you gotta love that there is a WordPress plugin for just about everything! I am using 26 of them right now on this site.

Bookmark and Share

Related posts:

  1. More WordPress Plugins The first
  2. WordPress Love I love Wor
  3. WordPress 2.2 Upgrade I am start
  4. Chalkboard Color Scheme for Komodo Komodo Edi
  5. New Old Meds So much go

Filed under: Geekery

Tags: , ,

Leave a Comment

hidden

Subscribe without commenting

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to comments via RSS Feed


Good Mac Things

Hire Me!

Subscribe

Random

A mole can dig a tunnel 300 feet long in one night.

43 queries. 0.743 seconds.