View Full Version : Image Count adds letter

03-08-2009, 01:10 AM
I used the Swiss Army Knife script for the following page, and it add an E in the "Viewing Image" line:
I cannot figure out what went wrong. Any ideas?
Thanks. Maryanne

03-08-2009, 01:21 AM
Looking at your swissarmy.js (http://www.worldclasspublicschools.org/Mechur/swissarmy.js) file it seems that the " " character is there on line 119 - Simply remove it and it should fix the problem.

03-08-2009, 03:35 AM
I'm so sorry, I can't find it.
Here is what I see on line 119:

document.write('<div align="center">Viewing Image: <b><span id="thecnt'+this.issid+'"><\/span><\/b> of<span style="font-size:1ex;">&nbsp;</span>&nbsp;<b>'+this.imgs.length+'<\/b><\/div>');

I also searched for &Ecirc; and the E with symbol. Am I missing it. Thank you so much for helping.

03-08-2009, 05:06 AM
It's here:

. . . Viewing Image: <b><span id="thecnt'+this.issid+'"><\/span><\/b> of<sp

Now, your editor may be encoded differently, so it may not be visible to you. However, whether you see it there or not, you should be able to backspace over it and either replace it with a space, or with a &nbsp; entity.