Hi,

I followed this tutorial
http://drupal.org/node/252260
to display an external webpage into a lightbox.
So I used
<a href="http://www.google.com" rel="lightframe">Search google</a>
as a basic example into a Display Suite code field.
The link is ok, the light box is displayed, but it is empty, see attached picture.

Any idea of what could be the problem ?

Files: 
CommentFileSizeAuthor
lightbox.png12.26 KBLouis Bob

Comments

Hello,

Exactely the same, and it's no problem with a url on the same domaine like node/1

the script load the iframe very well, but the html of the iframe will be not generated ->

<iframe id="lightboxFrame" width="600" scrolling="auto" height="400" frameborder="0" src="http://www.google.com" style="border: medium none; z-index: 10500;">
<html>
<head>
</head>
<body>
</body>
</html>
</iframe>

I'm experiencing this issue as well. Has anyone found a solution?

My link:

<a rel="lightframe" href="http://www.google.com">Search google</a>

The generated lightbox:

<iframe width="600" scrolling="auto" height="400" src="http://www.google.com/" style="z-index: 10500;" id="lightboxFrame">
  <html>
    <head>
    </head>
    <body>
    </body>
  </html>
</iframe>

Look here http://drupal.org/node/252260, it worked for me.