jQuery要素の追加
601 ワード
// make the container smaller and add a second container for the master chart
var $container = $('#container')
.css('position', 'relative');
var $detailContainer = $('<div id="detail-container">')
.appendTo($container);
var $masterContainer = $('<div id="master-container">')
.css({ position: 'absolute', top: 300, height: 80, width: '100%' })
.appendTo($container);