2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00
Files
CATI_Tool/include/limesurvey/admin/scripts/surveytoolbar.js

38 lines
1.3 KiB
JavaScript

// $Id: surveytoolbar.js 9401 2010-11-03 11:54:50Z c_schmitz $
// based on TTabs from http://interface.eyecon.ro/
$(document).ready(function(){
// Load the superfish menu
$('ul.sf-menu').superfish({
speed:'fast'
});
//Load the special tooltips for the surveybar
$('.surveybar img[alt]').each(function() {
if($(this).attr('alt') != '')
{
$(this).qtip({
style: { name: 'cream',
tip:true,
color:'#1D2D45',
border: {
width: 1,
radius: 5,
color: '#EADF95'}
},
position: { adjust: {
screen: true, scroll:true },
corner: {
target: 'topRight',
tooltip: 'bottomLeft'}
},
show: {effect: { length:50},
delay:1000
},
hide: { when: 'mouseout' },
api: { onRender: function() {$(this.options.hide.when.target).bind('click', this.hide);}}
});
}
});
});