Working with tags.
  • I have PrettyPhoto up and running with my normal links, however, I have a couple of image map links that I would like to open in the light box.

    Currently I have applied the same code to the links and image map e.g.

    and


    As I said before, the links are working fine, but the area's arnt! Any Suggestions?
  • One solution I have found is to have 'invisible' links within the page and then a jQuery function to activate that link when the area map is selected e.g.

    jQuery function:
    $(function(){
    $("area[name='MyArea']").click(function(){
    $('#MyAreaLink').click();
    return false;
    });
    });

    area definition:


    'invisible' link:


    This probably isn't the best or the nicest way of achieving the results I wanted, but it appears to work!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!