Plugin Update

Add comment March 20th, 2007 at 01:38pm 1,657 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.

  • Digg
  • del.icio.us
  • Ma.gnolia
  • StumbleUpon
  • Reddit
  • YahooMyWeb
  • Technorati
  • co.mments
  • Facebook
  • Google
  • Live
  • TwitThis
  • Pownce

Possibly Related Posts:

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

Daily Mac Promo

Mac Video Tutorials

aspieSocial

Meet other folks with autism/asperger's.
Visit aspieSocial.com!

Random

Fear of Friday the 13th is called paraskavedekatriaphobia.