multiple updates and new files to support multiple foaf person profile pages
This commit is contained in:
parent
3b051ecffd
commit
9cde935cc7
50 changed files with 2005 additions and 249 deletions
119
productMods/js/individual/individualQtipBubble.js
Normal file
119
productMods/js/individual/individualQtipBubble.js
Normal file
|
@ -0,0 +1,119 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
$(document).ready(function(){
|
||||
// This function creates and styles the "qTip" tooltip that displays the bubble text when the user hovers
|
||||
// over the research area "group" icon.
|
||||
$('#researchAreaIcon').each(function()
|
||||
{
|
||||
$(this).qtip(
|
||||
{
|
||||
content: {
|
||||
prerender: true,
|
||||
text: ' '
|
||||
},
|
||||
position: {
|
||||
corner: {
|
||||
target: 'topleft',
|
||||
tooltip: 'bottomcenter'
|
||||
},
|
||||
adjust: {
|
||||
x:22,
|
||||
y:30
|
||||
}
|
||||
},
|
||||
show: {
|
||||
when: {
|
||||
event: 'mouseenter'
|
||||
}
|
||||
},
|
||||
hide: {
|
||||
fixed: false,
|
||||
when: {
|
||||
event: 'mouseleave'
|
||||
}
|
||||
},
|
||||
style: {
|
||||
padding: '0em',
|
||||
height: 56,
|
||||
width: 180,
|
||||
border: 'none',
|
||||
background:'url(' + imagesPath + '/individual/researchAreaBubble.png) no-repeat'
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#fullViewIcon').each(function()
|
||||
{
|
||||
$(this).qtip(
|
||||
{
|
||||
content: {
|
||||
text: ' '
|
||||
},
|
||||
position: {
|
||||
corner: {
|
||||
target: 'topleft',
|
||||
tooltip: 'bottomcenter'
|
||||
},
|
||||
adjust: {
|
||||
x:27,
|
||||
y:30
|
||||
}
|
||||
},
|
||||
show: {
|
||||
|
||||
when: {
|
||||
event: 'mouseenter'
|
||||
}
|
||||
},
|
||||
hide: {
|
||||
fixed: false,
|
||||
when: {
|
||||
event: 'mouseleave'
|
||||
}
|
||||
},
|
||||
style: {
|
||||
padding: '0em',
|
||||
height: 56,
|
||||
width: 140,
|
||||
border: 'none',
|
||||
background: 'url(' + imagesPath + '/individual/quickViewBubble.png) no-repeat'
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#quickViewIcon').each(function()
|
||||
{
|
||||
$(this).qtip(
|
||||
{
|
||||
content: {
|
||||
text: ' '
|
||||
},
|
||||
position: {
|
||||
corner: {
|
||||
target: 'topleft',
|
||||
tooltip: 'bottomcenter'
|
||||
},
|
||||
adjust: {
|
||||
x:28,
|
||||
y:30
|
||||
}
|
||||
},
|
||||
show: {
|
||||
when: {event: 'mouseenter'}
|
||||
},
|
||||
hide: {
|
||||
fixed: false,
|
||||
when: {
|
||||
event: 'mouseleave'
|
||||
}
|
||||
},
|
||||
style: {
|
||||
padding: '0em',
|
||||
height: 56,
|
||||
width: 144,
|
||||
border: 'none',
|
||||
background: 'url(' + imagesPath + '/individual/fullViewBubble.png) no-repeat'
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue