|
Post by Schubaltz on Jul 14, 2007 14:23:11 GMT -5
Description: Replaces the UBBC buttons with a drop-down list.
Source: Open
Cross-browser: Yes
Global Footer <script type="text/javascript"> <!-- // Drop-down UBBC
if(document.postForm && document.postForm.message) { var i = document.createElement("select"), e = document.postForm.color.parentNode; i.options[0] = new Option("UBBC"); for(var r = e.getElementsByTagName("a"), x = 0; x < r.length; x ++) { i.options[x + 1] = new Option(r[x].firstChild.alt, r[x].href.split("javascript:")[1]); r[x].style.display = "none"; } i.onchange = function() { setTimeout(this.options[this.selectedIndex].value, 1); this.selectedIndex = 0; } e.insertBefore(i, e.firstChild); } //--> </script>
|
|