4,090
edits
No edit summary |
No edit summary Tag: Reverted |
||
Line 20: | Line 20: | ||
// Update the fixed column content with card information | // Update the fixed column content with card information | ||
var entryNumber = $(this).find('.entry-number').text(); | var entryNumber = $(this).find('.entry-number').text(); | ||
var people = $(this).find('.people').text(); | var people = $(this).find('.people').text(); | ||
// Update the fixed column content | // Update the fixed column content | ||
$('#article-title').html('<p class="article-entry-number">' + entryNumber + '</p><p class="article-people">' + people + '</p>'); | $('#article-title').html('<p class="article-entry-number">' + entryNumber + '</p><p class="article-people">' + people + '</p>'); | ||
// Apply the fade-out effect to the #list element | // Apply the fade-out effect to the #list element | ||
Line 62: | Line 37: | ||
$('#show-article-wrapper').css('display', 'none'); | $('#show-article-wrapper').css('display', 'none'); | ||
} | } | ||
}); | |||
// Add hover effect using JavaScript | |||
$('#show-article-wrapper').on('mouseenter', function () { | |||
$(this).addClass('hovered'); | |||
}).on('mouseleave', function () { | |||
$(this).removeClass('hovered'); | |||
}); | }); | ||
} else { | } else { |