Help - Search - Members - Calendar
Full Version: date at the top of the entry
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
xxxvolcomstone
what code do i use so i have can that heart in my date like this guys. (bc the heart is a different font)
http://www.xanga.com/home.aspx?user=I_skat...n_pink_converse
lovescream
actully the heart is just
♥
mona lisa
the hearts thing sometimes doesn't work use this btw this has been asked b4.

&9829;
Jus2s1mp13
All he did was change the calenders to his own word. Here you go. Paste it in to Website Stats Then rewording watever you want. If you want hearts add ♥

One example have done for you. "♥ Monday",


CODE
<!-- begin code provided by createblog.com -->
<script type="text/javascript">
//
// ©2003 EasterEgg, http://www.xanga.com/easteregg
// Changes date text
// For use at Xanga only.
//
// Info at http://dorkette.net
//

function replaceWordsDates()
{
// ***add the Months or Days you wish to replace below
var oldWordsDates = new Array(
"January ",
"February ",
"March ",
"April ",
"May ",
"June ",
"July ",
"August ",
"September ",
"October ",
"November ",
"December ",
"Monday,",
"Tuesday,",
"Wednesday,",
"Thursday,",
"Friday,",
"Saturday,",
"Sunday,",
"01,",
"02,",
"03,",
"04,",
"05,",
"06,",
"07,",
"08,",
"09,",
"10,",
"11,",
"12,",
"13,",
"14,",
"15,",
"16,",
"17,",
"18,",
"19,",
"20,",
"21,",
"22,",
"23,",
"24,",
"25,",
"26,",
"27,",
"28,",
"29,",
"30,",
"31,",
" 2004"
);

// *** add the replacing Months or Days below
var newWordsDates = new Array(
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December",
"&hearts; Monday",
" Tuesday",
" Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"24",
"25",
"26",
"27",
"28",
"29",
"30",
"31",
".04"
);

allDivData = document.getElementsByTagName('div');

var collections = new Array(allDivData);

for (var k = 0; k < collections.length; ++k )
{
for (var i = 0; i < collections[k].length; ++i )
{
if (collections[k][i].innerHTML.indexOf('DIV') == -1)
{
for ( var n = 0; n < oldWordsDates.length; ++n )
{
var indx = collections[k][i].innerHTML.indexOf(oldWordsDates[n])
while (indx != -1)
{
var replacement = '';
indx = collections[k][i].innerHTML.indexOf(oldWordsDates[n]);
replacement = collections[k][i].innerHTML.replace(oldWordsDates[n], newWordsDates[n]);
collections[k][i].innerHTML = replacement;
break;
}
}
}
}
}
}
replaceWordsDates();
</script>
<!-- end code provided by createblog.com -->
stateenema
hey i wanna ask you.. which part shud i replace the new words? thanks
starwberry_applez
did u see this :
CODE
<!-- begin code provided by createblog.com -->
// *** add the replacing Months or Days below
var newWordsDates = new Array(
<!-- end code provided by createblog.com -->


under that, that's where you replace the word
xxxvolcomstone
thanks:)
sherryvu
QUOTE(xxxvolcomstone @ Nov 24 2004, 1:57 PM)
thanks:)

[ topic closed ]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.