-
(Cổng TTĐT tỉnh AG)- Ngày 06/12, rr888.com thị xã Tịnh Biên tổ chức Hội nghị sơ kết hoạt động phi Dự án “Hỗ trợ triển khai các can thiệp hiệu quả và bền vững để phòng, chống đuối nước trẻ em tỉnh rr88 tải”.
";
var footstr = "";
var newstr = document.all.item(text).innerHTML;
//var newstr = document.getElementById(text).innerHTML;
var oldstr = document.body.innerHTML;
document.body.innerHTML = headstr + newstr + footstr;
window.print();
document.body.innerHTML = oldstr;
return false;
}
function printDiv2(text) {
var content = document.getElementById(text).innerHTML;
var printWindow = window.open('', '', 'height=600,width=800');
printWindow.document.write('
');
printWindow.document.write('');
printWindow.document.write(content);
printWindow.document.write('');
printWindow.document.close();
printWindow.print();
}
function share_fb(url) {
window.open('https://www.facebook.com/sharer/sharer.php?u='+url,'facebook-share-dialog',"width=626, height=436")
}
function toggleBackgroundColor() {
const element = document.getElementById('contrast');
const currentColor = window.getComputedStyle(element).backgroundColor;
if (currentColor === 'rgb(220, 220, 220)') {
element.style.backgroundColor = '#fff';
} else {
element.style.backgroundColor = 'rgb(220, 220, 220)';
}
}
var liActive = Array.from(document.querySelectorAll('.posts-list-noibat .post-title'));
if (Array.isArray(liActive) && liActive.length ) {
liActive[0].classList.add('active');
}
function increaseFontSize() {
var textElement = document.getElementById('text');
var currentSize = window.getComputedStyle(textElement, null).getPropertyValue('font-size');
var newSize = parseFloat(currentSize) + 2;
if (newSize <= 40) {
textElement.style.fontSize = newSize + 'px';
}
}
function decreaseFontSize() {
var textElement = document.getElementById('text');
var currentSize = window.getComputedStyle(textElement, null).getPropertyValue('font-size');
var newSize = parseFloat(currentSize) - 2;
if (newSize >= 12) {
textElement.style.fontSize = newSize + 'px';
}
}
function resetFontSize() {
var textElement = document.getElementById('text');
textElement.style.fontSize = '18px';
}