User talk:Ioeth/friendlytabs.js
Appearance
Incompatible with new vector skin
This script breaks vector visually, e.g. the edit and view source tabs move up a bit. The reason is that the innerHTML of document.getElementById( FriendlyConfig.idsToRename[i].id ).firstChild.innerHTML
in vector is a span with the caption in it, not just the caption text. This can be fixed in several ways, e.g. you could use a loop to go down until there are no children, and then modify the last childs innerHTML to the new caption. -- Nx/talk 10:05, 4 July 2009 (UTC)
- This works with both monbook and vector, under Firefox 3.5 and opera 10. I couldn't test Internet Explorer as I'm on Linux. -- Nx/talk 11:11, 4 July 2009 (UTC)
- Fixed, thanks. And yes, it works in IE, IE 8 at least. But it's probably the only part of Friendly to work in IE anyway, so ... :) Amalthea 12:22, 4 July 2009 (UTC)