Template:Ways to Give/CountrySelect: Difference between revisions
Content deleted Content added
No edit summary |
scripts and css for this module |
||
Line 1:
<html>
<style>
.list-td{
padding: 1em;
vertical-align: top;
}
.tb {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/1/1c/HW_open_arrow.svg/10px-HW_open_arrow.svg.png) no-repeat 95% center;
background-color:#666666;
color:#ffffff;
border:1px solid #afa3bf;
cursor: pointer;
text-align: center;
vertical-align: middle;
font-weight: bold;
font-size: 1em;
height: 2em;
width: 12em;
margin: 2px;
}
.tb a {
color: #ffffff !important;
}
.expand a,
.expand a:hover {
color: #000000;
outline: 0;
}
div.collapse {
padding-left: 30px;
background-color: #F5FFFA;
border:1px solid #cef2e0;
}
div#africalist {
width: 15em;
}
div#asialist {
width: 50em;
}
div#europelist {
width: 65em;
}
div#namericalist {
width: 50em;
}
div#samericalist {
width: 25em;
}
div#oceanialist {
width: 25em;
}
</style>
<script src="//wikimediafoundation.org/w/index.php?title=MediaWiki:Expand.js&action=raw&ctype=text/javascript&version=2"></script>
<script>
mw.loader.using(['mediawiki.util', 'mediawiki.Uri'], function () {
jQuery(function ($) {
$('.expand-wrapper .expand').toggler({
speed : 'fast',
hoverTxt : 'Expand or collapse'
});
var $togglers = $('.expand-wrapper').find('.collapse').siblings().find('> a');
});
});
</script>
<div class="expand-wrapper">
<div class="expand tb">Africa</div>
|