Sha256: e40a31deceef000391c150843b9beb0a46d9bcd94e2ea56cf51f751584d8f3cf
Contents?: true
Size: 1.51 KB
Versions: 4
Compression:
Stored size: 1.51 KB
Contents
$(document).ready(function() { $('#caboose_login').colorbox({ iframe: true, initialWidth: 400, initialHeight: 200, innerWidth: 400, innerHeight: 200, scrolling: false, transition: 'fade', closeButton: false, onComplete: fix_colorbox, opacity: 0.50 }); $('#caboose_register').colorbox({ iframe: true, initialWidth: 400, initialHeight: 324, innerWidth: 400, innerHeight: 324, scrolling: false, transition: 'fade', closeButton: false, onComplete: fix_colorbox, opacity: 0.50 }); $.ajax({ url: '/station/plugin-count', success: function (count) { $('#caboose_station').colorbox({ iframe: true, innerWidth: 200, innerHeight: count * 50, transition: 'fade', closeButton: false, onComplete: fix_colorbox, opacity: 0.50 }); } }); }); function fix_colorbox() { $("#cboxTopLeft" ).css('background', '#111'); $("#cboxTopRight" ).css('background', '#111'); $("#cboxBottomLeft" ).css('background', '#111'); $("#cboxBottomRight" ).css('background', '#111'); $("#cboxMiddleLeft" ).css('background', '#111'); $("#cboxMiddleRight" ).css('background', '#111'); $("#cboxTopCenter" ).css('background', '#111'); $("#cboxBottomCenter" ).css('background', '#111'); $("#cboxClose" ).hide(); //$('#cboxLoadedContent').css('margin-bottom', 0); //h = $('#cboxLoadedContent').height(); //$('#cboxLoadedContent').css('height', ''+(h+28)+'px'); }
Version data entries
4 entries across 4 versions & 1 rubygems