source: extensions/stripped/js/scripts-tml.js @ 8804

Last change on this file since 8804 was 7989, checked in by Zaphod, 13 years ago

[extension] stripped - first release

File size: 588 bytes
Line 
1jQuery("document").ready(function(jQuery){
2
3// scripts the Map List Page ---------------------------------------------------------------------------------------------------------
4
5        // display alt from actions
6        var ActionBlock=jQuery(".categoryActions");
7       
8        if (ActionBlock.length != 0) {
9                var icons=ActionBlock.find("img.button");
10                if (icons.length !=0) {
11                        icons.each(function(index) {
12                                var alt_text = (jQuery(this).attr("alt"));
13                                jQuery(this).before(alt_text);
14                                jQuery(this).parents("li").css("width","auto");
15                                jQuery(this).remove();
16                        });
17                }
18        }
19});
Note: See TracBrowser for help on using the repository browser.