...

View Full Version : Can not hide an image generated by javascript....



CarlMartin10
08-15-2010, 12:17 AM
I am using the Gostats plugin for Wordpress and it is generating an icon int he footer of my webpage...I want to hide that image so it is not seen. I also want the part that says "View Stats" at the bottom hidden as well.

I looked at the code with firebug, but can not seem to hide this...a simple css way would be best. Can anyone help me out here?

SB65
08-15-2010, 11:24 AM
Assuming you can't wrap another div around the generated code, something like:


#footer .wrapper > a {display:none}

might do the trick.

CarlMartin10
08-15-2010, 05:53 PM
That absolutely worked. Thanks so muuch!

met
08-15-2010, 06:21 PM
just bear in mind that this means ~any~ link you have in the footer will be hidden

you could just remove the code directly from the PHP file (GoStats.php);



/* looks like its line 167 - 170 or so */

echo ".gostats.com/bin/count?a=";
echo urlencode($gostats_siteid);
echo "&t=1&i=1&z=\"
style=\"border-width:0px;width:88px;height:31px\" alt=\"web counter\"
width=\"88\" height=\"31\" /></a><br />
<a style=\"font-size: 9px\" href=\"http://gostats.com\"
title=\"GoStats web counter\">web stats counter</a></div></noscript>
<!-- GoStats.com -->";

}
}
?>

CarlMartin10
08-15-2010, 06:23 PM
just bear in mind that this means ~any~ link you have in the footer will be hidden

you could just remove the code directly from the PHP file (GoStats.php);



/* looks like its line 167 - 170 or so */

echo ".gostats.com/bin/count?a=";
echo urlencode($gostats_siteid);
echo "&amp;t=1&amp;i=1&amp;z=\"
style=\"border-width:0px;width:88px;height:31px\" alt=\"web counter\"
width=\"88\" height=\"31\" /></a><br />
<a style=\"font-size: 9px\" href=\"http://gostats.com\"
title=\"GoStats web counter\">web stats counter</a></div></noscript>
<!-- GoStats.com -->";

}
}
?>


Thanks. I used the css code in the previous post, and it hid the icon, and actually did not remove any other links in the footer. I just went back to double check and they all seem to work fine.

http:/www.billboardfamily.com

SB65
08-16-2010, 08:37 AM
just bear in mind that this means ~any~ link you have in the footer will be hidden

Only any link that's a direct child of #footer .wrapper.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum