Note: Use Lightbox2 on area tag
Lightobox2 can't work on area tag as default.
To solve this problem, it needs replace imageLink.rel with Element.readAttribute($(imageLink),"rel") in prototype.js.
Detail:
insert the line below in line 194.
if (!target.rel) target.rel=Element.readAttribute($(target), "rel");
Quote from discussion in Pat &Alex Blogging.
Category
Web Dev , javascriptTrackback(0)
Trackbacking Blog List : Note: Use Lightbox2 on area tag
Trackback URL: http://mentalposition.com/mppweblog/mt-tb.cgi/360
I really enjoyed this article.
I am always trying to foster good relationships with people who can help my cause.
Thanks for this short and informative post.
this now needs changing in the lightbox.js file under the start method. They say they have fixed it, but it looks like the error has come back.