Lightbox extensión doesn't work!!!

Topics: Controls
Oct 11, 2008 at 12:09 PM
Edited Oct 12, 2008 at 3:29 AM
Dear Gentlemen:

I have installed and tested http://blog.data-worx.de/page/Extension-Lightbox.aspx extensión (in a test server, prior to deploying it in the real one), but i haven't been able to make it work with BE 1.4.5.7.

I have tested it in a static HTML page (using informatión from http://www.huddletogether.com/projects/lightbox2/) and it works but not in BE. Any help?

Visit my web: www.gunner.es

Greetings from Spain!!!
Oct 12, 2008 at 6:13 PM
Problem solved.

The answer is that i was using data-worx extensión, but i upgraded the scripts of lighbox directory with those from version 2.04 of the official Lightbox2 web site. So i went back to use the  data-worx ones and now everything  is up and OK!!!

Anyway, data-worx extension is outdated and sould be modified to include latest fixes from 2.04 LightBox js!!!

Visit my web: www.gunner.es
Jan 13, 2009 at 9:45 PM
Now the http://blog.data-worx.de website seems to be dead, and René has disappeared...

Does anyone have the extension files for the Lightbox, I really like to try it out
Jan 14, 2009 at 1:12 PM
Bump!
Jan 14, 2009 at 1:45 PM
Edited Jan 14, 2009 at 1:50 PM
I can't send you the code without authors permission, but you can find the original code at:

http://www.huddletogether.com/projects/lightbox2/


Greetings from Spain, Gentleman!!!

P.d.: You can also use http://www.gravitycube.net/blog/post/Lightbox-Extension-for-BlogEngine.aspx

;-)
Jan 15, 2009 at 3:15 PM
It wasn't the LightBox extension, it was more the BlogEngine extension.

I did take a look at the extension from GravityCube, but it use the old and not that nice effect as the new LightBox version.

Also, I have this impression that the extensions from René had some more 'features'
Jan 21, 2009 at 6:55 AM
Edited Jan 25, 2009 at 10:14 AM
I ran into this same problem getting lightbox working with BlogEngine.  It turns out the file blog.js contains a function by the same name as a lightbox function.  This function is this:

function $(id)

It's at the very top of the blog.js file.  I just did a search and replace on blog.js for  $(  to  getId(  and all seems to work okay.  If you don't think you'll upgrade lightbox then it might be better to update that file, but it's more complex so I figured it would be easier just to change the blog.js with new version.  Hopefully they'll rename this function in the next version.  :D

EDIT: Found out the function is used elsewhere. Not good. It might be a better idea to rename the function in the lightbox files, rather than blog.js....