I installed the lightbox2 module. I am displaying nodes in the popup.
The popup works fine. But we have to set the width and height of the popup and if a node has less content or large content the popup width and height are fixed.
If the node has large content then the scroll bar appears in the popup.
My requirments: I want to set the width and height of the popup according to the content. If a node has less content then the popup should be small and if a node has large content then the popup should be large according to the node's content and no scroll bars needed.
So how will I do this? Any one who have idea about this?
Comments
Comment #1
Wario commentedSubscribe
Comment #2
dianacastillo commentedI also want to know how to do this
Comment #3
dianacastillo commented#lightboxFrame{
overflow:hidden;
height:500px;
}
that gets rid of the scroll bar. but I still want to be able to change the size dynamically
Comment #4
dianacastillo commentedhere is how to set it:
rel="lightframe[|width:400px; height:300px; scrolling: auto;]"Comment #5
arun ak commentedThanks dianacastillo! That helps me. One more thing how can I disable caption for popup? Because I am showing html content in popup. So there is no caption needed. But in my popup bottom section is animating like to show caption. How can I prevent that?