tweaking cv button
This commit is contained in:
parent
456e4ab44d
commit
9963e3f6ba
|
|
@ -849,13 +849,20 @@ function populatePublications() {
|
||||||
function populateAbout() {
|
function populateAbout() {
|
||||||
|
|
||||||
var head = $('<h4>').append($('<div>').css('width', '50px').css('min-width', '50px').append('CV'));
|
var head = $('<h4>').append($('<div>').css('width', '50px').css('min-width', '50px').append('CV'));
|
||||||
var documentButton = $("<button id=cv_button data-iframe='true' data-src='/cv'>").attr({title: "CV"}).addClass('score_icon');
|
//var documentButton = $("<button id=cv_button data-iframe='true' data-src='/cv'>").attr({title: "CV"}).addClass('score_icon');
|
||||||
|
var documentButton = $("<button id=cv_button>").attr({title: "CV"}).addClass('score_icon');
|
||||||
|
|
||||||
|
documentButton.click(function() {
|
||||||
|
window.open('/cv');
|
||||||
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
documentButton.lightGallery({
|
documentButton.lightGallery({
|
||||||
selector: 'this',
|
selector: 'this',
|
||||||
width: '90%',
|
width: '90%',
|
||||||
galleryId: 'cv'
|
galleryId: 'cv'
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
head.append(documentButton).insertBefore('#mc_embed_signup');
|
head.append(documentButton).insertBefore('#mc_embed_signup');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue