From 8b9ff8789671f777fa95d4666300ee751378687e Mon Sep 17 00:00:00 2001 From: Castro0o Date: Mon, 20 Apr 2020 12:46:25 +0200 Subject: [PATCH] css change to clicker words --- website/tag_comparison.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/website/tag_comparison.html b/website/tag_comparison.html index f321e02..0cd5970 100644 --- a/website/tag_comparison.html +++ b/website/tag_comparison.html @@ -164,10 +164,16 @@ $(document).ready(function(){ $('span').click( function(){ - alert($(this).text()); - alert($(this).attr('class')); + // alert($(this).text()); + // alert($(this).attr('class')); + + var selectedclass = $(this).attr('class'); + $('span').css('font-size', '10pt').css('color','black'); // reset + $('span.' + selectedclass).css('font-size', '30pt'); //highting the select }); + + })