alimagik
01-11-2007, 03:40 AM
Hi,
I tried using the following script in a CafePress shop to hide all the >> marks. If worked, but hides the footer that cafepress adds in. (after my html) I assume the problem is that there is html being inserted in the page after the script. I'm thinking I should be able to somehow modify it so that I can place the script right before or after the table it's supposed to work on. I just don't know what I'd put instead of innerHTML.
<script language="javascript">
var str = document.body.innerHTML;
document.body.innerHTML = str.replace(/»/gi, " ");
</script>
I tried using the following script in a CafePress shop to hide all the >> marks. If worked, but hides the footer that cafepress adds in. (after my html) I assume the problem is that there is html being inserted in the page after the script. I'm thinking I should be able to somehow modify it so that I can place the script right before or after the table it's supposed to work on. I just don't know what I'd put instead of innerHTML.
<script language="javascript">
var str = document.body.innerHTML;
document.body.innerHTML = str.replace(/»/gi, " ");
</script>