museum.wales turns rainbow coloured for Pride Cymru

Chris Owen, 12 August 2016

To celebrate Pride Cymru coming to Cardiff this weekend, our homepage has had a little touch of colour applied to it. If you use Safari on the Mac, you may notice another special feature - your browser's toolbar itself is emblazoned with rainbow colours.

If you use Safari regularly, you'll be familiar with the visual effect that sees page colours slip behind the browser toolbar as you scroll. It's a neat effect but I hadn't heard of a site actively utilising it before and I wondered if, with a bit of HTML, CSS & JavaScript, we could fix a set of colours there. The vibrant rainbow colours of Pride seemed like the perfect fit. In this blog entry, I'll describe in tedious/fascinating* (*delete as appropriate) technical detail how we achieved it.

The Technique

At first I tried setting the margin of my element to a negative value to push it into the toolbar area. Unsurprisingly, this doesn't work - it's simply not displayed. The actual solution was almost as simple itself and we were pretty pleased with the result.

To start off, all we need are two divs.

<body>
    <div id="toolbar-colours">…</div>
    <div id="content-frame">…</div>
</body>

The first div will contain the colours we want to show in our toolbar. We give this a fixed height, 150px in this example.

The second div will contain our content. We give this a fixed width and height of 100vw and 100vh. This means it will neatly and seamless fill the browser viewport area.

#rainbow_toolbar
{
	background-color: #b20034;
	height: 2px;
	display: flex; /* We actually use Sass includes for cross-browser flex-box support */
	width: 100%;
	padding: 0;
	margin: 0;
}

#rainbow_toolbar.safari_trick
{
	height: 150px;
}

#rainbow_toolbar .colour_block
{
	flex: 1;
	height: 4px;
	padding: 0;
	margin: 0;
}

#rainbow_toolbar.safari_trick .colour_block
{
	height: 130px;
}

#rainbow_toolbar .colour_block.violet { background-color: #9400d3; }
#rainbow_toolbar .colour_block.indigo { background-color: #4b0082; }
#rainbow_toolbar .colour_block.blue { background-color: #0000ff; }
#rainbow_toolbar .colour_block.green { background-color: #00ff00; }
#rainbow_toolbar .colour_block.yellow { background-color: #ffff00; }
#rainbow_toolbar .colour_block.orange { background-color: #ff7f00; }
#rainbow_toolbar .colour_block.red { background-color: #ff0000; }

Using a little JavaScript, we can make sure that we're always scrolled past the first div, making it colour the browser toolbar.

$(window).scroll(function() {

    if ($(window).scrollTop() < 150) {
        $(window).scrollTop(150);
    }
});
$(window).scrollTop(50);

The only thing remaining is to sort out our scrollbars which are giving the game away. We hide the main browser scrollbar and give our content-frame a standard-looking scrollbar instead.

::-webkit-scrollbar
{ 
    visibility: hidden; 
    display: none;
}
				
#content-frame
{
	background-color: #e4e4e4;
	height: 100vh;
	width: 100vw;
	padding: 0;
	border: 0;
	overflow-y: scroll;
}
					
#content-frame::-webkit-scrollbar
{ 
	display: initial;
	visibility: visible;
	background: #f4f4f4;
	color: #ffffff;
}
		
#content-frame::-webkit-scrollbar-track
{
	background-color: #f4f4f4;
	border-radius: 8px;
}
		
#content-frame::-webkit-scrollbar-thumb
{
	width: 4px;
	border-radius: 8px;
	background-color: #b4b4b4;
	border: 3px #f4f4f4 solid;
}

There are few more JavaScript tricks we can use to tidy up our implementation. This includes managing the up arrow and page-up keys which create a visual glitch:

// disable page up and arrow up when at top of content
window.addEventListener('keydown', function(e) {
	
	if( $('#content-frame').scrollTop() <= 0 && [33, 38].indexOf(e.keyCode) > -1 ) {
		e.preventDefault();
	}
}, false);

The Caveats

It's a neat little trick but also somewhat of a hack. Putting your content in a scrolling div carries a small but noticeable performance penalty when scrolling and when using a touchpad to scroll you may get an occasional visual glitch. Finally, it is only available to Mac-based Safari users. No other combination of OS and browser has the translucent toolbar effect for us to take advantage of. For this reason, it's not something I'd want to use for a lengthy period of time. But for one weekend only, here it is.

Community Family Learning at St Fagans

Loveday Williams, 9 August 2016

Over the summer we are working with ACE Action Ely Caerau (Communities First) to put together a series of fun and accessible family workshops and activities for local families. The programme was developed ahead of time with ACE and includes sessions such as:

Traditional Toys

Wash Day with Beti Bwt

Rag Rug Making

Life in the Iron Age

Pond Dipping

Pottery

So far we have had lots of fun making rag rugs, learning about and playing with traditional toys, discovering what life was like for our ancestors living in the Iron Age and experiencing what it was like to go to school in Victorian Wales.

Making Rag Rugs

National Museum Cardiff’s 1980 sculpture exhibition for blind visitors

Stephanie Roberts, 8 August 2016

Did you know that an exhibition of sculpture for the blind was held at National Museum Cardiff in 1980?

Neither did I until a colleague of mine mentioned it recently. Intrigued, I did some digging to find out more.

The exhibition was the first of its kind in the Museum. It brought together 10 sculptures of different materials and textures which blind and visually impaired visitors were invited to touch. Rodin's 'Illusions Fallen to Earth', and Frederic Leighton's 'Needless Alarm', which shows a nude female figure startled by a frog, were among the works on display.

To protect the works, a thin layer of burnished wax was applied and visitors wore gloves with the fingertips cut off to reduce the risk of damage from rings or watches. It would be interesting to know what conservators today would advise!

Rubber mats and carpets were used to help lead visitors to the plinths, and the Museum's Friends were on hand to guide visitors around and engage them in conversation about the works.

To complement the exhibition and add a multisensory dimension there was also a display of seasonal scented plants and spices from the Botany collection!

Even though this exhibition was held almost 40 years ago, it is interesting how little has changed. All of the challenges they faced back then – how to strike a balance between conservation and accessibility, how to help orientate visitors, and introducing a multi-sensory element – are ones we’ve been thinking about recently.

We haven’t got a new exhibition planned (although it’s something to think about for the future!), but we have been working with members of Cardiff Institute for the Blind on a series of audio description tours. These tours will be offered to blind and visually impaired visitors starting this October.

The Museum's gone Quentin Blake and Roald Dahl Crazy!

Haf Neale, 5 August 2016

Since the launch of the Quentin Blake exhibition our inbox has been filling up, and the phone hasn’t stopped with fellow Roald Dahl and Quentin Blake superfans wanting to know more about what's going on. Everyone wants to get involved! So I thought I’d share a little bit of what’s been happening so far.

The Exhibition

People have been coming along to draw in the gallery and already our wall is bursting with wonderful drawings.

Want to join in?  https://museum.wales/cardiff/whatson/8916/Quentin-Blake-Inside-Stories/

Activity Booklet

Our activity booklets have been flying out and the competition entries have been coming in thick and fast!

To draw your way around the museum and take part in the competition, just pop in to the Clore Discovery centre to get your very own booklet https://museum.wales/cardiff/clore/

Family Workshop 

Families have been making some really nice little storybooks of their very own.  

 

Teachers

We have a teacher's pack in both Welsh and English that will help you explore the exhibition with your class - https://museum.wales/media/38707/QB-FINAL.pdf  

Cymraeg - https://amgueddfa.cymru/media/38708/QB-FINAL-cy.pdf

If you would like to bring your class to the museum all the information you need about booking is available at - https://museum.wales/cardiff/learning/booking_information/

A Window into the Industry Collections – July 2016

Mark Etheridge, 26 July 2016

As usual in this monthly blog post I’d like to share with you some of the objects that have recently been added to the industry and transport collections.

The first object this month is a photograph that shows the first ever rally of the Welsh Automobile Club. This was held at Bracelet Bay (a small bay close to Swansea near Mumbles Head) on 3rd December, probably in 1906 though we are not sure of the year. Can anyone help? The photograph was taken by W. Richards (late W.C. Roberts) of 16 & 17 Castle Street, Swansea.

The Welsh Automobile Club was founded in about June 1904. The Western Mail of the 4th June 1904 reported “At last Welsh motor-cyclists have decided to form a club. I have just received details of a new organisation which is to be known as the Welsh Automobile Club. It intends to recruit its members from all parts of Wales, and has, I believe, a very representative committee… The club intends holding its meetings in all the chief towns of Wales… The organisation will be affiliated to the Motor Union and associated with the Automobile Club of Great Britain and Ireland.”

In 1905 it had a membership of 99 people.

Article from the South Wales Echo, 4th February 1980.

 

 

This natural abrasive stone was used to grind/polish tinplate hand rolling mills. Roll turning, grinding and polishing were highly skilled crafts crucial to the working of iron, steel, tinplate and non-ferrous rolling mills. Little is recorded of these crafts, and so this stone is important in representing this important craft. Note that the metal frameworks that supported the stones have long since been scrapped as the last sheet hand mills in Wales closed in the mid-1960s. The stone was obtained by the donor during his employment in Player’s Tinplate Works, Clydach, in the early 1950s.

 

As stated in previous blog posts, Amgueddfa Cymru holds by far the largest and wide-ranging Welsh-interest share certificate collection held by any public museum. This month we have added to this collection a share certificate for the Mawddach Gold Dredging Syndicate Ltd., dated 1896. This concern undertook the only significant attempts to search for the considerable quantities of gold that would have been washed down into the Mawddach Estaury by both natural weathering processes and during nineteenth century mining operations.

 

This month, we were donated a hot metal forme which was used to print the front page of Western Mail newspaper on Saturday 2 February 1980. This was the last edition to be printed using this technology.

The forme is made of Linotype 'slugs' of type (cast from a lead-tin-antimony alloy), and plastic 'line blocks' reproducing images, within a steel ‘chase’ [frame]. The formes were usually ‘broken-up’ (i.e. dismantled) after being used, this one being kept for its historic significance. Thus a forme, although crucial to the production of a newspaper, had only a transitory existence of a few hours. This technology was in use from about the 1890s to the 1980s.

The next edition of both the Western Mail (and its sister paper the South Wales Echo) printed two days later on Monday 4 February marked the transition from this 'hot metal' process (both the slugs produced by the Linotype machines and the steroplates were cast using molten type metal) to photo typesetting, offset lithographic printing, and electronic / desk-top page composition.

The two images show the final page of the Western Mail using the last forme. The second images is an article from the South Wales Echo concerning the change over, and showing the work in process..

 

 

Finally this month we were donated a lamp recovered from the Albion Colliery explosion of 1894.  Inside the lamp was found a letter dated 1928 relating to the South Wales Coal Miners' Hinder March. Full details can be found in this article.

 

Mark Etheridge
Curator: Industry & Transport
Follow us on Twitter - @IndustryACNMW