PDA

View Full Version : code for footer links not working


hook78c
Feb-16-2009, 10:56 AM
sorry for so many questions, but thanks for all your immediate responses! one more for you. this is the code i have found to eliminate the footer stuff but its not working now, why?? www.mycreativeclicks.com (http://www.mycreativeclicks.com)
thanks yet again

css section:
/*----Footer of Web Page----*/
.cartlink_footer {display: none;}
.loginLink {display: none;}
#feedHelp {visibility: hidden;}
#footer .nav {display: none;}
#feeds {display: none;}

bottom javascript section:

addEvent(window, "load", rem_pipes);
function rem_pipes () {
for (var i = 0; i<3; i++) {
var objElement = document.getElementById("footer")
if (objElement != null)
{
var str_a = new String(objElement.innerHTML);
str_a = str_a.replace('|', '')
objElement.innerHTML = str_a;
}
var objElement = document.getElementById("feeds")
if (objElement != null)
{
var str_b = new String(objElement.innerHTML);
str_b = str_b.replace('|', '')
objElement.innerHTML = str_b;
}
}
}

jfriend
Feb-16-2009, 10:58 AM
You have an error in your CSS that is preventing some things following it from working. Add the missing closing brace (shown in red):

.homepage .menu {
display: none;
}