Note: Use Lightbox2 on area tag

| | Comment(2) | Trackback(0)

lightbox2onareatag.jpg

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

,

Trackback(0)

Trackbacking Blog List : Note: Use Lightbox2 on area tag

Trackback URL: http://mentalposition.com/mppweblog/mt-tb.cgi/360

Comment(2)

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.

Luke :

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.

Comment


Type the characters you see in the picture above.

About this blog

This page was entried by POLO September 8, 2009 11:10 PM

Previous Entry is

Snow Leopard report

Next Entry is

VMware Fusion error "lnc0: Missed packet -- no receive buffer'

Recent entries are in

Index Page.

Past entries are in

Archive page

RSS RSS