0001-grenoble-metropole-mark-Services-navigation-link-as-.patch
static/grenoble-metropole/extra.js | ||
---|---|---|
3 | 3 |
$(this).parent().toggleClass('on'); |
4 | 4 |
return false; |
5 | 5 |
}); |
6 |
// mark "Services" link as selected |
|
7 |
$("a[title='Services']").parents().addClass("selected"); |
|
6 | 8 |
if (document.body.attributes['data-picture']) { |
7 | 9 |
var sheet = document.head.appendChild(document.createElement("style")).sheet; |
8 | 10 |
sheet.insertRule('#content .topbanner-wrapper .bandeau {background-image: url("' + document.body.attributes['data-picture'].value + '"); background-repeat: no-repeat; background-size: cover; height: 448px', 0); |
9 |
- |