I would like to link another html(nytimes.html) on the same page on top of this css popup-frame. How do I do that?
$('.portfolio-thumbnail').click(function(e) {
console.log(this.id); //this is how we know what to load into the frame
$('#popup-frame').fadeIn();
switch(this.id) {
case "nytimes":
//do something for nytimes
$('#popup-frame').css('background', "rgba(0, 255,0, .5)" );
break;
case "eloquence":
$('#popup-frame').css('background', "rgba(255, 82, 145, .5)" );
break;
default:
break;
}
});