View Full Version : Height of plugin determined by height of WAF view.
seanyboy
1-Jan-2017, 12:05 PM
The default height of a view in a wordpress page is 500px. Is there a way to create a view that has the same height as the page being drawn.
i.e.
The view I want to embed is a list of items. I want to be able to have the height of the embed be large enough that all items are displayed. I only want one scrolling area on the web page.
Mike Peat
2-Jan-2017, 10:08 AM
Sean
You can set a fixed height in pixels in the shortcode: [df4wp-webapp height=900], for instance.
However I don't see any easy way to do that in a variable way. Where would that variable height come from? If you can give me more detail, I might be able to be of more assistance.
Mike
seanyboy
2-Jan-2017, 11:38 AM
re: Where would that variable height come from?
I want the Div to be the same height as the items in the Div.
Specifically, if I generate HTML. I want the page to show...
The Header
All the HTML I generated
The footer. (Available below the fold)
Rather than:
The header.
Half of the html I generated, with the rest available via a secondary scrollbar.
The footer (Available below the fold)
Does this make sense? I feel I'm not explaining myself well here.
I can draw pictures, if that helps.
Powered by vBulletin® Version 4.2.5 Copyright © 2023 vBulletin Solutions Inc. All rights reserved.