Closed (fixed)
Project:
Lightbox2
Version:
6.x-1.11
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2011 at 13:58 UTC
Updated:
24 Dec 2011 at 13:30 UTC
Hey,
I actualy got a little problem trouble getting lightbox to open a PDF file out of a block.
If I use following code in a node, it works perfektly:
<a href="http://localhost/lauftreff2/sites/default/files/news1_0.pdf" rel="lightframe[|width:900px; height:650px; scrolling: auto;]">Test</a>
But if i use it in a View Block (Rewrite the output of ...), for example:
<a href="[field_link_to_pdf_fid]" rel="lightframe[|width:900px; height:650px; scrolling: auto;]">[title]</a>
(The format of [field_link_to_pdf_fid] is: URL to File)
It just opens the PDF in a blank page?
Some idea how to solve this?
Greetings SG
Comments
Comment #1
sgurlt commentedProblem solved :D
http://drupal.org/node/252260 - Adding lightbox support to links created by Views
Comment #2
magnus commentedComment #3.0
(not verified) commentedaddition