www_archline_hu/cadline/backend/maintenance2/maintenance/js/site.js
LÁZÁR Imre AI Agent edb18f07b5 feat(cadline): add common_cadline_libraries + maintenance backend
common_cadline_libraries (CRM hardlock/db/users classes; upstream cadline_web/cadcommonlib), maintenance/ (ARCHLine.XP license backend; upstream cadline_web/maintenance), maintenance2/. Vetted live files (byte-truth); upstream repos in PROVENANCE.md. NOTE: could be git submodules — kept as live files for byte-fidelity.

Signed-off-by: LÁZÁR Imre <imre@illusion.hu>
Assisted-by: claude-code@claude-opus-4-8
2026-07-16 11:34:30 +02:00

34 lines
1.1 KiB
JavaScript

$(function () {
// start the ticker
$('#js-news').ticker();
// hide the release history when the page loads
$('#release-wrapper').css('margin-top', '-' + ($('#release-wrapper').height() + 20) + 'px');
// show/hide the release history on click
$('a[href="#release-history"]').toggle(function () {
$('#release-wrapper').animate({
marginTop: '0px'
}, 600, 'linear');
}, function () {
$('#release-wrapper').animate({
marginTop: '-' + ($('#release-wrapper').height() + 20) + 'px'
}, 600, 'linear');
});
$('#download a').mousedown(function () {
_gaq.push(['_trackEvent', 'download-button', 'clicked'])
});
});
// google analytics code
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-6132309-2']);
_gaq.push(['_setDomainName', 'www.jquerynewsticker.com']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();