Vanilla 2
Discussions
Activity
Sign In
prettyPhoto support
Working with tags.
_TK_
July 2010
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?
_TK_
July 2010
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!
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
2,644
General
305
Showoff your stuff!
8
prettyComments support
7
prettySociable support
43
WP-prettyphoto support
179
prettyCheckboxes support
40
prettyGallery support
74
prettyMobile support
34
prettyPhoto support
1,937
prettyLoader support
12
INK - Support forum
5
Powered by Vanilla