1. Code cleanup
2. Made changes so that images in IE show up properly & scale properly.
This commit is contained in:
parent
616029965d
commit
1ff00fa92f
3 changed files with 13 additions and 235 deletions
|
@ -1,5 +1,4 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.visualization.valueobjects.SparklineVOContainer"%>
|
||||
|
||||
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
|
||||
|
@ -36,6 +35,11 @@
|
|||
|
||||
<style type="text/css">
|
||||
|
||||
#profileImage img{
|
||||
width: 90px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#body h1 {
|
||||
margin:0.0em;
|
||||
}
|
||||
|
@ -86,40 +90,24 @@ table.sparkline_wrapper_table td, th {
|
|||
|
||||
#ego_label {
|
||||
font-size:1.1em;
|
||||
/*margin-left:100px;
|
||||
margin-top:9px;
|
||||
position:absolute;*/
|
||||
}
|
||||
|
||||
#ego_moniker {
|
||||
/*margin-left:100px;
|
||||
margin-top:27px;
|
||||
position:absolute;*/
|
||||
}
|
||||
|
||||
#ego_profile_image {
|
||||
float:left;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/*width: 100px;*/
|
||||
#ego_profile_image img{
|
||||
width: 90px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#ego_sparkline {
|
||||
cursor:pointer;
|
||||
height:36px;
|
||||
/*
|
||||
margin-left:10px;
|
||||
margin-top:69px;
|
||||
position:absolute;*/
|
||||
width:471px;
|
||||
}
|
||||
|
||||
#dataPanel {
|
||||
/*
|
||||
float: left;
|
||||
width: 150px;
|
||||
visibility:hidden;*/
|
||||
}
|
||||
|
||||
#coauthorships_table th {
|
||||
vertical-align: top;
|
||||
|
@ -167,7 +155,6 @@ table.sparkline_wrapper_table td, th {
|
|||
</div>
|
||||
|
||||
<h2 class="sub_headings">Co-Author Network
|
||||
<%-- A simple if/else condition --%>
|
||||
<c:choose>
|
||||
<c:when test="${numOfCoAuthorShips > 0 || numOfAuthors > 0}">
|
||||
<a href="${coAuthorshipDownloadFile}">(.GraphML File)</a></h2>
|
||||
|
@ -263,13 +250,6 @@ $(document).ready(function(){
|
|||
"ego_profile_image",
|
||||
jQuery.parseJSON(getWellFormedURLs("${requestScope.egoURIParam}", "profile_info")));
|
||||
|
||||
/*
|
||||
if ($('#profileMoniker').text().length > 30) {
|
||||
//$('#profileMoniker').text($('#profileMoniker').text().substr(0, 30) + "...");
|
||||
console.log("what");
|
||||
}*/
|
||||
|
||||
|
||||
<c:if test='${numOfCoAuthorShips <= 0}'>
|
||||
|
||||
if ($('#ego_label').text().length > 0) {
|
||||
|
@ -278,9 +258,5 @@ $(document).ready(function(){
|
|||
|
||||
</c:if>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue