Hyphens don't show up on my Xanga, You know, these: ----- |
Hyphens don't show up on my Xanga, You know, these: ----- |
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* |
Mar 23 2007, 05:33 AM
Post
#2
|
|
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 Hyphens don't show up on my Xanga Mar 23 2007, 01:37 AM
Azarel Hm, there's probably something in your coding ... Mar 23 2007, 03:34 AM
Reidar I'm somewhat modest in regards to pictures so ... Mar 23 2007, 05:16 AM
Reidar Hm, you're good. Thank you very much. Mar 23 2007, 06:05 AM![]() ![]() |