Commit 3675b078 authored by PkSM3's avatar PkSM3

css stuff

parent 5c9eb60f
......@@ -373,7 +373,6 @@ function genericGetTopPapers(theids , corpus_id , thediv) {
success : function(data){
pr(window.location.origin+'/api/tfidf/'+corpus_id+'/'+theids.join("a") )
var arraydata = $.parseJSON(data)
console.log(arraydata)
var output = "<ul style='padding: 0px; margin: 13px;'>"
for(var i in arraydata) {
var pub = arraydata[i]
......@@ -411,7 +410,8 @@ function genericGetTopPapers(theids , corpus_id , thediv) {
$("#"+thediv).html(output);
$("#"+thediv).show();
$('#tab-container-top').easytabs({updateHash:false});
// $('#tab-container-top').easytabs({updateHash:false});
},
error: function(){
......@@ -462,7 +462,6 @@ function getTopPapers(type){
for(var i in data) {
var pub = data[i]
if(pub["title"]) {
console.log(pub)
var gquery = "http://www.google.com/#q="+pub["title"].replace(" "+"+")
var url_elems = window.location.href.split("/")
......@@ -505,7 +504,8 @@ function getTopPapers(type){
}
output += "</ul>"
$("#topPapers").html(output);
$("#topPapers").show();
$("#tab-container-top").show();
// $('#tab-container-top').easytabs({updateHash:false});
},
error: function(){
pr('Page Not found: getTopPapers()');
......@@ -524,6 +524,7 @@ function getTopPapers(type){
// Just for Garg
function printCorpuses() {
console.clear()
console.log( "!!!!!!!! in printCorpuses() !!!!!!!! " )
var corpuses = $('input[name=optradio]:checked');
var count = 3
......
......@@ -36,7 +36,7 @@ $.fn.visibleHeight = function() {
function sigmaLimits( sigmacanvas ) {
pw=$( sigmacanvas ).width();
ph=$( sigmacanvas ).height();
$("body").css("padding-top",0)
// $("body").css("padding-top",0)
// var footer = ( $("footer").length>0) ? ($('#leftcolumn').position().top -$("footer").height()) : $('#leftcolumn').position().top*2;
var ancho_total = $( window ).width() - $('#leftcolumn').width() ;
var alto_total = $('#leftcolumn').visibleHeight() ;
......@@ -518,8 +518,6 @@ TinaWebJS = function ( sigmacanvas ) {
$("#closeloader").click();
var body=document.getElementsByTagName('body')[0];
body.style.paddingTop="41px";
$('.etabs').click(function(){
$.doTimeout(500,function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment