I've seen the tutorials on using images for category titles/navigation in the help center, but I'd like to extend it to section category pages if possible. The problem is that I have two different audiences, and so the icons would be slightly different for each audience so I can't simply use one. For example:
Category 1: retailers
Sections: A, B, C
Category 2: consultants
Sections: A, D, E
page loads: <a href="/hc/en-us/sections/123456-Schedule">Schedule</a>
java replaces with: <a href="/hc/en-us/sections/123456-Schedule"><img src="schedule\_icon.png"></a>
Obviously, this is hardcoded, and would have to be updated any time I changed section names, but I can't think of any other solution. Is this possible? Any Java-pros know how to write it?
Suggestions are welcome
Post is closed for comments.