Thread Tools Display Modes
12/18/17, 04:08 AM   #1
manavortex
 
manavortex's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 138
Clearly mark outdated AddOns in overview




Here's my JS - but I'm sure there are more elegant ways:
Code:
$("#wrapper-noads > div > div > table .box-content > table tr").each(function(){
        $(this).find('td').each(function(){
            if (this.innerText.indexOf("Discontinued") !== -1){
                $(this.parentElement).addClass("disc");
            }
        });
    });
    $(".disc a").css('color', 'grey').css('font-style', 'italic');
    $(".disc .smallfont").css('color', 'grey').css('font-style', 'italic');
  Reply With Quote
12/18/17, 04:10 AM   #2
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
I'm maybe old school but why not simply adding a css clas? or id?
  Reply With Quote
12/18/17, 04:30 AM   #3
manavortex
 
manavortex's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 138
That's what I did to mark it - but I solved it client-sided :P
  Reply With Quote

ESOUI » Site Forums » Site help, bugs, suggestions/questions » Clearly mark outdated AddOns in overview


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off