HEX
Server: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: iestorre (46869)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/iestorre/www/media/com_attachments/js/attachments_caching.js
/**
 * Include CSS via Javascript
 *
 * Adapted from:  http://snippets.dzone.com/posts/show/4554
 *
 * By Jonathan Cameron
 *
 * @param css_url string the URL/path to the CSS stylesheet file
 */

function includeCSS(css_url) {
    var css_link = document.createElement('link');
    css_link.type = 'text/css';
    css_link.rel = 'stylesheet';
    css_link.href = css_url;
    css_link.media = 'screen';
    document.body.appendChild(css_link);
}