plugin development best practice
-
Hello,
I’m new to WordPress, but not new to LAMP development.
I have reviewed the plugin development documentation and am ready to create my first plugin (for eventual community release.)
Using a small JavaScript library, the plugin will display the full-size version of a thumbnail image. This is liken to Thumbnail Viewer except the image will appear instantly on mouseover instead of clicking.
I therefore need to add the onmouseover and onmouseout attributes to each image tag. What’s the best way to accomplish this? Thumbnail Viewer manipulates the image tag on the fly with preg_replace. Is this the most efficient way to go about it or is there a better way?
All comments/suggestions greatly appreciated.
- The topic ‘plugin development best practice’ is closed to new replies.