WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Colorbox
Using jQuery Colorbox with Image Map area? (2 posts)

  1. torchmedia
    Member
    Posted 1 year ago #

    Looking to see if anyone can help me implement colorbox on an image map?

    Here's my relevant code. Colorbox not activiting on click at the moment.

    <img src="..." width="1150" height="369" usemap="#team-map" border="0" />
    <map name="team-map" id="team-map">
    <area shape="poly" coords="..." href="#name" class="colorbox-link" alt="..." title="..." />
    </map>
    
    <div style="display: none;">
    <div id="name">
    ...
    </div>
    </div>

    http://wordpress.org/extend/plugins/jquery-colorbox/

  2. techotronic
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    the class "colorbox-link" only works for link (<a>) tags.
    You could write your own JavaScript, though.

    Cheers,
    Arne

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic