Forum:Sortarrow

Hi,

When we do a sortable table, there's an image that is added :

http://images.wikia.com/common/releases_200905.3/skins/common/images/sort_none.gif

It doesn't seems there's any way to change it as it is added directly in the HTML, not via CSS. But, maybe using JS (by altering the default sorting function, maybe).

Why do i need this ? Because if we change the background of a sortable table, the image is hardly seen.

Thanks for any advice. — TulipVorlax 12:20, 24 May 2009 (UTC)


 * The only thing i was able to do for now, is altering the background of class="sortarrow" when inside "color1" like on this page. — TulipVorlax 12:23, 24 May 2009 (UTC)


 * It should be possible There are the following variables in wikibits.js:

var ts_image_path = stylepath+"/common/images/"; var ts_image_up = "sort_up.gif"; var ts_image_down = "sort_down.gif"; var ts_image_none = "sort_none.gif";


 * Changing those variables should work --Ciencia Al Poder (talk) -WikiDex 17:27, 24 May 2009 (UTC)