Universal admin button for wordpress

I’ve been working with wordpress a lot recently and one morning it occurred to me that I was typing wp-admin in my address bar about 50 times a days. After a few minutes of reflexion i wrote a little bookmarklet to do it for me.

Now I just click on the bookmark and it opens the admin login in a new window, for any wordpress site I am on. It’s a very simple function and you need to be on the root of the wordpress blog to get it to work but I think it saves a bit of time when open and close admin pages all day long.

Here is the link to drag to your bookmark bar: Admin

And here is the javascript function:

<a href="javascript: function openAdmin()
{
        window.open(document.location+’/wp-admin’);
}
openAdmin();
"
>Admin</a>

If that helps anyone other than me…

UTF-8 special char bookmarklet, twitter Keys reloaded

Note: due to a recent update in the flash player (version 10), this bookmarklet doesn’t work anymore. A swf was used here to emulate the copy to clipboard function for non IE browser. This no longer works and makes the bookmarklet useless. A solution would be to replace each symbole by a flash animation.

A few days ago was pointed by a friend to a blog post on The next web that was getting a lot of attention from the twitter community. They came up with a javascript bookmarklet that display a table of utf-8 symbols so you can copy them into your twitter post.

I was looking for an idea to illustrate a previous post on bookmarklet and I though I could make something similar as The Next Web but with my own touch. Read the rest of this entry »

Write your first javascript bookmarklet

Bookmarklet are a funny thing. The oldest I could find are fromĀ Bookmarklet.com and where creatting from simple stuff like date/time to advanced navigation feature.

Basically a bookmarklet is a snippet of code you insert into a bookmark which make it available anywhere. Lets have a look at a very simple example: Read the rest of this entry »

Simple usability styling of jQuery accordion

The recipe is simple, jQuery and definition list = simple accordion. The idea is to create a user friendly accordion.

To reach this I think we need a few things:

  • Make it clear were you need to click to open the accordion
  • Automatically close so we keep only one open at the same time
  • set up different styles for the mouse
  • Degrade gracefully if javascript turned off

Have a look at the demo page for the final result: Accordion Demo

Read the rest of this entry »

Use the framework near you

Wordpress use since version 2.5 the popular javascript framework JQuery. Still I see many blogs using fancy javascript effects loading a separate JQuery library to do the task. Why? Well I see three reason.

First people not always know that JQuery comes with wordpress and therefore think they have to upload JQuery core to use it.

Secondly there are people who know JQuery is there somewhere but can’t get their script working with it. And when they upload a normal version of JQuery everything is fine. That’s because the JQuery version used by wordpress is a special version to avoid conflict with other framework. Read the rest of this entry »

Heat click map with clickheat

Ever wonder where your users were clicking on your site? ClickHeat is a bunch of php and javascript script that allow you to record the click on you pages and display an overlay map of hot and cold click zone.

Want to see with your own eyes? Here is the click map of the gallery: clickHeat map

Use: viewHeat

Password: validPass

Read the rest of this entry »