When I use this link:

<a href="http://www.example.com/" rel="lightbox2">Test</a>

It pops up the lightbox as I would expect, but there is nothing in it. Only this picture of a crossed out camera. I assume it's trying to tell me it's not a picture...

Am I doing something wrong?

CommentFileSizeAuthor
html_content_error.JPG5.85 KBchien_fu

Comments

chien_fu’s picture

Am I the only one?

Dracolyte’s picture

I'm seeing a possibly related problem. Some examples:
I'm using FireFox 3.5.9, and when I click on one of Stella's "Google" examples in http://stellapower.net/lightbox2 the lightbox opens for an instant, then directs me to the Google site in a browser window (i.e., outside of a lightbox).

When I paste the sample Google code into my own Drupal site (v6.1.1) it never opens the lightbox -- just goes to the destination sites.

Example of code described above: <a title="Search Google" rel="lightframe[|width: 640px; height: 380px; scrolling: auto;]" href="http://www.google.com" class="lightbox-processed">Search Google</a>

Dracolyte’s picture

BTW, chien_fu, you're not using the correct syntax for the HTML content. Look at the source on Stellapower.net to see correct usage. (For my problem, I am having trouble even with the correct usage.)

Dracolyte’s picture

Okay, a little progress: Using the code above in FCKEditor, if I remove the "class=lightbox-processed"" text the Lightbox works fine, even in FireFox. So, awesome work as always, Stella, and never mind about everything else I wrote above.