tweaking cv button

legacy_v1
mwinter 3 years ago
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…
Cancel
Save