TESTING: Running at bcra.org.uk. Display_errors set to ON. Body width reported as 000. Switch to: bcra.org.uk | localhost . View Error logs | Site Info

 

Experiments with Iframes

The idea, here, is to "syndicate" pages from other web sites - like BCA and Darkness Below - to provide attractive content for BCRA; and for BCRA to rely on these external sites to provide appropriate up-to-date content. This could be content related to the sites themselves or BCRA-related content on forthcoming events.

There are different ways of writing multi-column text, e.g. using inline blocks, tiles, or CSS-columns. I tend to use a mix of all three, but this iframes demo uses the CSS column property to put the content into "up to five columns of minimum width 350px". I might have to adopt a different method, though, because columns makes the tiles read "down then across" whereas a better way to organise it might be "across then down". This is also true on BCRA's home page, which means an overhaul so that the tiles are all the same size.

See what happens as you make your screen narrower.

PROBLEMS: As you can see, some web sites work better than others - those cookie permission boxes need to go! The pages need to be designed not to require horizontal scrolling. Notice that the Cave Science Centre page doesnt work well (I expect it is specified to have a fixed width). Some pages load slowly - another point to address.

You can view the PHP code that sets up the data arrays, which control the display of the tiles.

Our next event ▶ Mon 09-Jun, 19:30 to 21:00BCRA Cave Science Seminar online ▶ See our events listing below or go to our Facebook or BCRA News Forum pages.

View as full page BCRA Events

Open/Share this in Google Calendar

View as full page News from BCA

Content from the British Caving Association

View as full page This Month's Feature

Content from the Darkness Below

View as full page Our Next Event

Content from the British Caving Association

View as full page Annual Conference

Content from the Hidden Earth

View as full page Cave Science Centre

Content from the British Cave Science Centre



British Cave Research Association (UK registered charity 267828). Registered Office: Old Methodist Chapel, Great Hucklow, BUXTON, SK17 8RG
Access keys: ALT + 0 Top   1 Home Page   2 Summary Information   3 Publications,   4 Contact Us   7 Accessibility, Copyright & Policy Info

This page, http://bcra.org.uk/iframe_test.html was last modified on Sun, 08 Nov 2020 13:38:58 +0000