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(); });
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(); });
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(); });
Sobat Perpustakaan yang berbahagia,
Kami sampaikan bahwa Perpustakaan dan Arsip Universitas Gadjah Mada bekerja sama dengan IEEE memberikan 12 token publikasi dalam jurnal IEEE. Token ini dapat dimanfaatkan oleh civitas Universitas Gadjah Mada yang naskah publikasinya sudah berstatus DITERIMA (Accepted) dari jurnal-jurnal IEEE. Penawaran ini berlaku mulai bulan Desember 2023 hingga November 2024 atau sesuai dengan kapasitas token yang disediakan. Adapun persyaratan mendapatkan fasilitas token APC IEEE ini silahkan akses informasi di laman Token APC IEEE-UGM.
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(); });