Christmas Decorations
Using Jamroom
Great. Change this:
<div class="container"><div class="container" id="about_section">Then in the snowstorm.js file change this:
this.targetElement = null; this.targetElement = 'about_section'; <div class="container"><div class="container" id="about_section">this.targetElement = null; this.targetElement = 'about_section'; this.targetElement = null; // element which snow will be appended to (null = document.body) - can be an element ID eg. 'myDiv', or a DOM node referencethis is a long sentence
this-is-a-long-sentence
{$item.soundcloud_artist|jrCore_url_string}
p figure {
margin: 10px !important;
}
<?php
/**
* @copyright noone
*/
// make sure we are not being called directly
defined('APP_DIR') or exit();
/**
* meta
*/
function xxAudioOrder_meta(){
$_tmp = array(
'name' => 'AudioOrder',
'url' => 'audioorder',
'version' => '1.0.0',
'developer' => 'noone, ©' . strftime('%Y'),
'description' => 'Update audio files _updated key when comments are added',
'license' => 'mpl',
'category' => 'custom'
);
return $_tmp;
}
/**
* init
*/
function xxAudioOrder_init(){
jrCore_register_event_listener('jrCore', 'db_increment_key', 'xxAudioOrder_db_increment_key_listener');
return true;
}
/**
* Increment the _update key when a comment is added
*/
function xxAudioOrder_db_increment_key_listener($_data, $_user, $_conf, $_args, $event)
{
if (isset($_data['key']) && $_data['key'] == 'audio_comment_count' && isset($_data['update']) && $_data['update'] == false) {
$_rep = array('audio_incremented' => time());
jrCore_db_update_item('jrAudio', $_data['id'][0], $_rep);
}
return $_data;
}