|
This code adds head/base images to the search and members search pages. Just edit the variables near the top of the script. Global Footers. <script type="text/Javascript"> // Search Page Head/Base Images by Chris // Do not redistribute without permission of the creator
var headIMG = "http://207.44.144.11/v2images/menu_buttons__admin.gif"; // URL of the head image var footIMG = "http://207.44.144.11/v2images/menu_buttons__my_control_panel.gif"; // URL of the foot image
// No need to edit if(location.href.match(/action=search/i)){ function hb(e){ if(!e) return false; e = e.getElementsByTagName("table")[0]; var h = new Image(); var b = h.cloneNode(false); h.src = headIMG; b.src = footIMG; e.parentNode.insertBefore(h, e); e.parentNode.insertBefore(b, e.nextSibling); } hb(document.search); hb(document.search2); } </script>
Last Edit: Mar 13, 2007 0:45:52 GMT by Chris
|
|
|
|