[Plugin: Highslide Integration] Needs a way to add onclick into the <A> (anchor)
-
This plug-in is great, as it can be just used in conjunction with existing WordPress festures, such as the gallery shortcode. However, there is a major feature missing. Users simply can’t navigate through galleries when using highslide.
As a universal solution which would greatly extend the plug-in not only for highslide but possibly to other scripts, I suggest a feature where users should be able to specify code to be added to the anchor or image <img>.
For example, I would like to add the following into the anchor of each picture in my gallery:
onclick="return hs.expand(this, config1 )">
For example:
<a href="highslide/sample-images/thumbstrip01.jpg" class="highslide" title="Caption from the anchor's title attribute" onclick="return hs.expand(this, config1 )"> <img src="highslide/sample-images/thumbstrip01.thumb.jpg" alt=""/> </a>
If each item in a WordPress gallery have the
onclick
attribute, then the gallery works fine!https://www.ads-software.com/extend/plugins/highslide-integration/
- The topic ‘[Plugin: Highslide Integration] Needs a way to add onclick into the <A> (anchor)’ is closed to new replies.