Join 149,530 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,506 people online right now. Registration is fast and FREE... Join Now!
function __dicLoad() { var clone = document.getElementById("login").getElementsByTagName("div")[0].cloneNode(true); var target = document.getElementById("search");
//adjust menu display (font) var elem = document.createElement("br"); var node = document.createElement("div"); node.setAttribute('style', 'font-size:12px;'); node.appendChild(elem); node.appendChild(clone);
I like the search menu above the member panel, and it forces a nice 12px font like the actual drop down instead of the over sized fony i was having before.
I also added a br spacer at the top to clean up the implementation
in the spirit of grease monkey, and those who continually complain about not having recent posts on the home/main page. This script is used on the main page and displays only new posts, nothing else on the middle column of the main page, enjoy.
CODE
function __recent_home() { var nodel3 = document.getElementsByTagName("table")[1].getElementsByTagName("tbody")[0].getElementsByTagName("tr")[0]; var nodel4 = nodel3.getElementsByTagName("td")[1]; var nodel9 = nodel4.getElementsByTagName("span")[0].getElementsByTagName("table")[3].getElementsByTagName("tbody")[0].getElementsByTagName("tr")[0].getElementsByTagName("td")[0]; var footer = document.getElementById("copyright"); var node = document.createElement("span");
well my fix will depend on ids, but i will see if i can get one that works for all pages/columns, shouldn't be too hard. I have the ads removed, that was easy, and the menus are done and done, if it was implemented as real js, the member panel would work properly as well (gmokey cannot find js functions in the page consistently). The only issue i have is ensuring all panels have proper font, but i will see what i can do, i have most of them working just fine.
it would take a little work to switch it to php, but the script in gm works for all blogs, fixing fonts,adds,and menus, without changing any other settings.
I know the member panel code is located in the blog pages, even though the member panel link is not available, so some of the js may be re-useable.
What exactly are you looking for Chris, i'd be glad to do my best (meaning do it till i die or cry) to fix it up, for ya. quick questions: how do you want the code written? can i see the source to have a better idea what i'm working with?