Log In · Register

 
 
Closed TopicStart new topic
Hyphens don't show up on my Xanga, You know, these: -----
Reidar
post Mar 23 2007, 01:37 AM
Post #1


Vae Victis
******

Group: Official Member
Posts: 1,419
Joined: Sep 2006
Member No: 460,227



Is there any code that can fix this at face value? I'd rather not bombard anybody willing to help with all of my scripting code for them to find the issue in there. Thank you for any help.
 
*Azarel*
post Mar 23 2007, 03:34 AM
Post #2





Guest






Hm, there's probably something in your coding that's preventing them from appearing, and we can't figure out what it is without either a link or your coding, so if you could kindly provide either of these, we can get to the root of your problem. :)

(As a sidenote.. Jeez, I sound like an automaton.)
 
Reidar
post Mar 23 2007, 05:16 AM
Post #3


Vae Victis
******

Group: Official Member
Posts: 1,419
Joined: Sep 2006
Member No: 460,227



I'm somewhat modest in regards to pictures so I was not planning on linking, but this is it:

http://www.xanga.com/l3loodFist

If you're unable to examine what you need to, just tell me what part to paste here. There's a lot to look through (at least from what I can tell with my decent understanding of this scripting), so if it's simply too much, I very much understand.
 
*Azarel*
post Mar 23 2007, 05:33 AM
Post #4





Guest






In your website stats, you should find this:

<!-- begin code provided by createblog.com -->
<script type=text/javascript>
function replaceWords()
{
// ***add the words or fragments you wish to replace below
var oldWords = new Array(
"-",
"Post a Comment (optional)",
"Please restrict HTML in your messages to bold, italic, underline, and hyperlinks.",
"And please be nice! Members have the right to delete flames;)",
"Note: your comment will appear in something_hesitant's local time zone:",
"Help",
"GMT 06:00 (Central Standard [ US, Canada)",
"Give eProps or Post a Comment",
"Give eProps",
"eProps are a currency of good will. Give them whenever you read something you enjoy, but reserve a double dose for exceptional posts.",
"Comment box",
"Click",
"-",
"-"
);

// *** add the replacing words or fragments below
var newWords = new Array(
"",
"comment",
"",
"",
"",
"",
"",
"",
"",
"",
"comments",
"click",
" ",
" "
);

allTableData = document.getElementsByTagName('td');
allTableHeaders = document.getElementsByTagName('th');

var collections = new Array(allTableData,allTableHeaders);

for (var k = 0; k < collections.length; ++k )
{
for (var i = 0; i < collections[k].length; ++i )
{
if (collections[k][i].innerHTML.indexOf('TABLE') == -1)
{
for ( var n = 0; n < oldWords.length; ++n )
{
var indx = collections[k][i].innerHTML.indexOf(oldWords[n])
while (indx != -1)
{
var replacement = '';
indx = collections[k][i].innerHTML.indexOf(oldWords[n]);
replacement = collections[k][i].innerHTML.replace(oldWords[n], newWords[n]);
collections[k][i].innerHTML = replacement;
break;
}
}
}
}
}
}
replaceWords();

</script>

By removing the two different parts in red, your hyphens should appear again. (But this will also make the dashes in your entry footers show up. ie, the ones that by default appear between time - comments - add comment - email it).
 
Reidar
post Mar 23 2007, 06:05 AM
Post #5


Vae Victis
******

Group: Official Member
Posts: 1,419
Joined: Sep 2006
Member No: 460,227



Hm, you're good. Thank you very much.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: