jQuery(function($){ function setFullWidth() { var no_content = $('.tpb-stretch-row'); var with_content = $('.tpb-stretch-row-content'); var content_and_padding = $('.tpb-stretch-row-content-no-padding');
// tpb-stretch-row if(no_content.length > 0) { no_content.each(function(){ $el = $(this);
var calc = getCalcStretch($el);
// apply new css $el.css({ 'position': 'relative', 'left': calc.left + 'px', 'width': calc.width + 'px', 'padding-left': calc.offset + 'px', 'padding-right': calc.offset + 'px', 'box-sizing': 'border-box' }); }); }
// tpb-stretch-row-content if(with_content.length > 0) { with_content.each(function(){ $el = $(this);
var calc = getCalcStretch($el);
// apply new css $el.css({ 'position': 'relative', 'left': calc.left + 'px', 'width': calc.width + 'px', 'padding-left': '15px', 'padding-right': '15px', 'box-sizing': 'border-box' }); }); }
// tpb-stretch-row-content-no-padding if(content_and_padding.length > 0) { content_and_padding.each(function(){ $el = $(this);
var calc = getCalcStretch($el);
// apply new css $el.css({ 'position': 'relative', 'left': calc.left + 'px', 'width': calc.width + 'px' }); }); } }
function getCalcStretch($el) { // neutralize $el.css({ 'position': '', 'left': '', 'width': '', 'padding': '', 'padding-left': '', 'padding-right': '', 'box-sizing': '', });
// get outer container if($('body > div#wrapper').length > 0) { $outer = $('body > div#wrapper'); } else { $outer = $('body'); }
var outerOffset = $outer.offset(); var offset = $el.offset(); var offsetLeft = offset.left - outerOffset.left; var width = $outer.outerWidth();
// set vars var vars = { offset: offsetLeft, left: offsetLeft * -1, width: width }
return vars; }
function getCalcStretchOld($el) { // neutralize $el.css({ 'position': '', 'left': '', 'width': '', 'padding': '', 'padding-left': '', 'padding-right': '', 'box-sizing': '', });
var offset = $el.offset();
// set vars var vars = { offset: offset.left, left: offset.left * -1, width: $(window).width() }
return vars; }
$(window).resize(function() { setFullWidth(); });
setFullWidth(); });
Pada beberapa bulan lalu, SAGE Publishing mengadakan kompetisi Quiz “SAGE Usage Driving Campaign”, berikut ini adalah para pemenang dari UGM:
| No. | Name | Faculty/Department | Prize |
|---|---|---|---|
| 1 | Rini Maya | Faculty of Dentistry | Jabra Wireless Earbuds |
| 2 | Uminurida | Perpustakaan | JBL Portable Speaker |
| 3 | Ilyona | Faculty of Economics and Business | Seagate External Hard Disk |
| 4 | Gatot | Pharmacy | Shopping Vouchers |
| 5 | Rahmita | Fisipol | Shopping Vouchers |
| 6 | Agnes Febrian | Faculty of Social and Political Sciences | Starbucks Card |
| 7 | Emma | Faculty of Social Science and Political Studies/Department of International Relations | Starbucks Card |
| 8 | Yohanes | Fisipol/Sosiologi | Starbucks Card |
| 9 | Mukhammad Fadli | Agriculture Technology/Agro-Industrial Technology | Starbucks Card |
| 10 | Aisyah | Master in Development Economics | Starbucks Card |
| 11 | Chusdian | Biology | Starbucks Card |
| 12 | Diwasasri Ayu | Faculty of Engineering/Department of Architecture and Planning | Starbucks Card |
| 13 | Hendra | Faculty of Economics and Business | Starbucks Card |
| 14 | Nova | Library of UGM Kampus Jakarta | Starbucks Card |
| 15 | Fakih | UGM Library | Starbucks Card |

Hadiah dapat diambil di Sekretariat Perpustakaan Pusat UGM dengan Ibu Nining Indaryani atau Ibu Rohayati dengan menunjukkan identitas (KTM/KTP). Hadiah paling lambat diambil pada tanggal 30 November 2021. Informasi lebih lanjut dapat menghubungi telp. (0274) 513163, e-mail: library@ugm.ac.id








