Update new visualization icons
Update info text on Map of Science Update new copyright text to Map of Science
This commit is contained in:
parent
5eb16e6585
commit
5b1847dd4c
29 changed files with 51 additions and 43 deletions
|
@ -3,6 +3,9 @@
|
|||
var ComparisonDataTableWidget = Class.extend({
|
||||
|
||||
dom: {
|
||||
firstFilterLabel: "Organizations",
|
||||
secondFilterLabel: "People",
|
||||
|
||||
searchBarParentContainerClass : "comparisonSearchbar",
|
||||
paginationContainerClass : "paginatedtabs",
|
||||
containerID: "main-science-areas-table-container",
|
||||
|
@ -59,10 +62,10 @@ var ComparisonDataTableWidget = Class.extend({
|
|||
/* Create filter */
|
||||
var dom = me.dom;
|
||||
var filter = $('<div class="science-areas-filter">' +
|
||||
'<span id="' + dom.firstFilterID + '" class="' + dom.filterOptionClass + ' ' + dom.activeFilterClass + '">Organizations</span>'+
|
||||
'<span id="' + dom.firstFilterID + '" class="' + dom.filterOptionClass + ' ' + dom.activeFilterClass + '">' + dom.firstFilterLabel + '</span>'+
|
||||
/* This is temporary removed due to the person's publications mapping rate is too low to be displayed.
|
||||
' | ' +
|
||||
'<span id="' + dom.secondFilterID + '" class="' + dom.filterOptionClass + '">People</span>' +
|
||||
'<span id="' + dom.secondFilterID + '" class="' + dom.filterOptionClass + '">' + dom.secondFilterLabel + '</span>' +
|
||||
*/
|
||||
'<img class="' + dom.filterInfoIconClass + '" id="comparisonImageIconTwo" src="'+ infoIconUrl +'" alt="information icon" title="" /></div>');
|
||||
me.tableDiv.append(filter);
|
||||
|
|
|
@ -32,7 +32,10 @@ function createScimapType(map, mapName) {
|
|||
new CopyrightPanel ({
|
||||
map: map,
|
||||
controlPositions: google.maps.ControlPosition.BOTTOM_RIGHT,
|
||||
html: '© 2008 The Regents of the University of California and <a href="http://cns.iu.edu" >CNS.IU.EDU</a>'
|
||||
html: '© 2008 The Regents of the University of California and and SciTech Strategies.<br>' +
|
||||
'Map updated by <a href="http://mapofscience.com">SciTech Strategies</a>, ' +
|
||||
'<a href="http://www.ost.uqam.ca/" title="Observatoire des sciences et des technologies">OST</a>, ' +
|
||||
'and <a href="http://cns.iu.edu" title="CyberInfrastructure for Network Science">CNS</a> in 2010'
|
||||
});
|
||||
map.mapTypes.set(mapName, sciMapType);
|
||||
}
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
var DataTableWidget = Class.extend({
|
||||
|
||||
dom: {
|
||||
firstFilterLabel: "554 Subdisciplines",
|
||||
secondFilterLabel: "13 Disciplines",
|
||||
|
||||
searchBarParentContainerClass: "searchbar",
|
||||
paginationContainerClass: "paginatedtabs",
|
||||
containerID: "main-science-areas-table-container",
|
||||
|
@ -100,8 +103,8 @@ var DataTableWidget = Class.extend({
|
|||
|
||||
var dom = me.dom;
|
||||
var filter = $('<div class="science-areas-filter">' +
|
||||
'<span id="' + dom.firstFilterID + '" class="' + dom.filterOptionClass + ' ' + dom.activeFilterClass + '">Sub-Disciplines</span> | ' +
|
||||
'<span id="' + dom.secondFilterID + '" class="' + dom.filterOptionClass + '">Disciplines</span>' +
|
||||
'<span id="' + dom.firstFilterID + '" class="' + dom.filterOptionClass + ' ' + dom.activeFilterClass + '">' + dom.firstFilterLabel + '</span> | ' +
|
||||
'<span id="' + dom.secondFilterID + '" class="' + dom.filterOptionClass + '">' + dom.secondFilterLabel + '</span>' +
|
||||
'<img class="'+ dom.filterInfoIconClass +'" id="imageIconTwo" src="'+ infoIconUrl +'" alt="information icon" title="" /></div>');
|
||||
me.tableDiv.append(filter);
|
||||
createToolTip($("#imageIconTwo"), $('#toolTipTwo').html(), "topLeft");
|
||||
|
@ -120,7 +123,7 @@ var DataTableWidget = Class.extend({
|
|||
var scienceAreasTH = $('<th>');
|
||||
scienceAreasTH.attr("id", "science-areas-th");
|
||||
if (this.currentSelectedFilter === SCIMAP_TYPE.SUBDISCIPLINE ) {
|
||||
scienceAreasTH.html('Sub-Disciplines');
|
||||
scienceAreasTH.html('Subdisciplines');
|
||||
} else {
|
||||
scienceAreasTH.html('Disciplines');
|
||||
}
|
||||
|
@ -246,7 +249,7 @@ var DataTableWidget = Class.extend({
|
|||
var me = this;
|
||||
if (filterType === SCIMAP_TYPE.SUBDISCIPLINE) {
|
||||
|
||||
$("#science-areas-th").html("Sub-Disciplines");
|
||||
$("#science-areas-th").html("Subdisciplines");
|
||||
if (me.widget) {
|
||||
me.widget.fnSettings()._iDisplayLength = 10;
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ var SimpleDataTableWidget = Class.extend({
|
|||
var organizationHeader = $('<div><a class="suborganization-title" href="' +
|
||||
entityVivoProfileURLPrefix + me.uri +'">' +
|
||||
truncateText(me.label, 23) + '</a><a href="' + entityMapOfScienceURLPrefix +
|
||||
me.label.replace(/\s+/g, '') + '"><img class="drillDownIcon" src="' +
|
||||
me.uri + '"><img class="drillDownIcon" src="' +
|
||||
drillDownIconUrl + '" alt="drill down" title="drill down" /></a></div>');
|
||||
me.tableDiv.append(organizationHeader);
|
||||
|
||||
|
@ -78,7 +78,7 @@ var SimpleDataTableWidget = Class.extend({
|
|||
|
||||
var scienceAreasTH = $('<th>');
|
||||
scienceAreasTH.attr("id", "entity-science-areas-th");
|
||||
scienceAreasTH.html('Sub-Disciplines');
|
||||
scienceAreasTH.html('Subdisciplines');
|
||||
|
||||
var activityCountTH = $('<th width="53">');
|
||||
activityCountTH.html('# of pubs.');
|
||||
|
|
|
@ -87,6 +87,8 @@ function initVisModeTypeButton() {
|
|||
function initGlobalToolTips() {
|
||||
|
||||
createToolTip($("#imageIconOne"), $('#toolTipOne').html(), "topLeft");
|
||||
createToolTip($("#exploreInfoIcon"), $('#exploreTooltipText').html(), "topLeft");
|
||||
createToolTip($("#compareInfoIcon"), $('#compareTooltipText').html(), "topLeft");
|
||||
createToolTip($("#imageIconThree"), $('#toolTipThree').html(), "topRight");
|
||||
}
|
||||
|
||||
|
|
|
@ -91,8 +91,6 @@ var EntityVisModeController = VisModeController.extend({
|
|||
init: function(map) {
|
||||
this._super(map);
|
||||
this.visMode = ENTITY_VIS_MODE;
|
||||
this.firstFilterLabel = "554 Sub-Disciplines";
|
||||
this.secondFilterLabel = "13 Disciplines";
|
||||
},
|
||||
getFilterType: function(value) {
|
||||
if (value === 1) {
|
||||
|
@ -113,8 +111,6 @@ var ComparisonVisModeController = VisModeController.extend({
|
|||
init: function(map) {
|
||||
this._super(map);
|
||||
this.visMode = COMPARISON_VIS_MODE;
|
||||
this.firstFilterLabel = "Organizations";
|
||||
this.secondFilterLabel = "People";
|
||||
},
|
||||
getFilterType: function(value) {
|
||||
if (value === 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue