Skip to content

Instantly share code, notes, and snippets.

<script>
var canvas, stage, exportRoot;
function init() {
canvas = document.getElementById("canvas");
exportRoot = new lib.innovision();
stage = new createjs.Stage(canvas);
stage.addChild(exportRoot);
stage.update();
$( '.et_pb_fullscreen_nav_container' ).on( 'click', 'li.menu-item-has-children > a', function() {
var $this_parent = $( this ).closest( 'li' ),
$this_arrow = $this_parent.find( '>a .et_mobile_menu_arrow' ),
$closest_submenu = $this_parent.find( '>ul' ),
is_opened_submenu = $this_arrow.hasClass( 'et_pb_submenu_opened' ),
sub_menu_max_height;
$this_arrow.toggleClass( 'et_pb_submenu_opened' );
if ( is_opened_submenu ) {
$( '.et_pb_fullscreen_nav_container' ).on( 'click', 'li.menu-item-has-children > a', function() {
var $this_parent = $( this ).closest( 'li' ),
$this_arrow = $this_parent.find( '>a .et_mobile_menu_arrow' ),
$closest_submenu = $this_parent.find( '>ul' ),
is_opened_submenu = $this_arrow.hasClass( 'et_pb_submenu_opened' ),
sub_menu_max_height;
$this_arrow.toggleClass( 'et_pb_submenu_opened' );
if ( is_opened_submenu ) {
// adding arrows for the slide/fullscreen menus
if ( $( '.et_slide_in_menu_container' ).length ) {
var $item_with_sub = $( '.et_slide_in_menu_container' ).find( '.menu-item-has-children > a' );
// add arrows for each menu item which has submenu
if ( $item_with_sub.length ) {
$item_with_sub.append( '<span class="et_mobile_menu_arrow"></span>' );
}
}
<!DOCTYPE html>
<!--[if IE 6]>
<html id="ie6" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 7]>
<html id="ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html id="ie8" <?php language_attributes(); ?>>
<![endif]-->
jQuery('<hr width="100%"><p align="center"><a href="./category/videos/" class="more-posts"><b>更多影片...</b></a></p>').appendTo('#tabbed_1 .posts-list');
12-10-2017 @ 09:59:41 - Info: Begin processing payment for order 3367 for the amount of 198.00
12-10-2017 @ 09:59:43 - Success: Square charge complete (Charge ID: MDrED2jlD8f8nMtEpbm4Ky9eV)
12-10-2017 @ 10:30:58 - Info: Begin processing payment for order 3369 for the amount of 155.00
12-10-2017 @ 10:31:00 - Success: Square charge complete (Charge ID: 07ZSB3u8xjsxAoyQ0WLfzl0eV)
12-10-2017 @ 10:55:18 - Info: Begin processing payment for order 3370 for the amount of 205.00
12-10-2017 @ 10:55:21 - Success: Square charge complete (Charge ID: GKuRmwQayE9Ifvl8ofzbzV0eV)
12-10-2017 @ 10:56:40 - Info: Begin processing payment for order 3371 for the amount of 155.00
12-10-2017 @ 10:56:41 - Success: Square charge complete (Charge ID: w38Ib3OTorz9ykdoAGe8tYreV)
<script type="text/rocketscript" data-rocketsrc="http://dev.agentcmedia.com/wp-includes/js/jquery/jquery.js?ver=1.12.4"></script>
<script type="text/rocketscript" data-rocketsrc="http://dev.agentcmedia.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1"></script>
<script>
jQuery(document).ready(function() {
jQuery('iframe').closest('.et_pb_module').removeClass('et_animated');
});
</script>
#main-content {
background-image: url('link to your image') !important;
}
or
#main-content {
background-color: #your-color;
}