Skip to content

Instantly share code, notes, and snippets.

H.addEvent(chart.container, document.onmousewheel === undefined ? 'DOMMouseScroll' : 'mousewheel', function (event) {
var delta, extr, step, newMin, newMax, axis = chart.xAxis[0];
var dataMax = chart.xAxis[0].dataMax,
dataMin = chart.xAxis[0].dataMin,
maxCategory = (chart.xAxis[0].categories.length < 26) ? 26 : chart.xAxis[0].categories.length,
currentViewMin = 0,
newExtrMin,
newExtrMax;
HTML
----------------------
<script src="https://cdn.ckeditor.com/4.15.0/standard/ckeditor.js"></script>
<div>
<textarea style="display:none;" id='terms_of_conditions' name='terms_of_conditions' > {{$content}} </textarea>
<button type="button" id="submit" class="btn btn-info">Save<div class="ripple-container"></div></button>
</div>
JQUERY
<form action="" method=post>
<table>
<tr>
<td colspan="2"><h3>Test Push-Notification</h3></td>
</tr>
<tr>
<td>Message</td>
<td><input type="text" name="notification" value="Hello.." required="required"></td>
</tr>
<tr>