نقص الحديد: النساء هن المتضررات في المقام الأول!
",
""
],
responsive: {
1200: {
items: 1
},
990: {
items: 1
},
768: {
items: 1
},
0: {
items: 1
}
}
});
}
$('.enlargeText').click(function () {
var element = $('.alraimedia-article-details .article-desc');
var curFontSize = element.css('font-size');
var curLineHeight = element.css('line-height');
var currentFontSize = parseFloat(curFontSize, 14);
var currentLineHeight = parseFloat(curLineHeight, 24);
if (currentFontSize < 26) {
var newFontSize = currentFontSize + 2;
element.css('font-size', newFontSize + 'px');
var newLineHeight = currentLineHeight + 2;
element.css('line-height', newLineHeight + 'px');
}
});
$('.shrinkText').click(function () {
var element = $('.alraimedia-article-details .article-desc');
var curFontSize = element.css('font-size');
var currentFontSize = parseFloat(curFontSize, 14);
var curLineHeight = element.css('line-height');
var currentLineHeight = parseFloat(curLineHeight, 24);
if (currentFontSize > 10) {
var newFontSize = currentFontSize - 2;
element.css('font-size', newFontSize + 'px');
var newLineHeight = currentLineHeight - 2;
element.css('line-height', newLineHeight + 'px');
}
});
});