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 ?

CommentFileSizeAuthor
lightbox.png12.26 KBLouis Bob
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

defagordi’s picture

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>
jesss’s picture

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>
colincalnan’s picture

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