- WordPress Plugin Development Beginner's Guide
- Vladimir Prelovac
- 125字
- 2025-03-31 06:47:51
jQuery JavaScript library
There are a number of libraries available which simplify the usage of JavaScript by providing ready-made functions for the most common tasks. The most popular today are jQuery, Scriptaculous and MooTools. WordPress comes with the first two pre-installed, and we will be using jQuery for our plugins.
Implementing a mouse hover event in jQuery
Although our plugin is fine, we would like it to interact with the user and show them the information when they want it, and where they want it. Responding to the user hovering the mouse over the link on the blogroll sounds like a good place to start.
Let's create a jQuery JavaScript that will show additional information in the blogroll, using the hover event as a trigger.