Log In · Register

 
xanga week code..
xxpimpjuice1227x
post Sep 4 2004, 02:35 PM
Post #1


cacaboii. [SAN FRAN is where...
*****

Group: Member
Posts: 566
Joined: Mar 2004
Member No: 7,562



do you guys know thecode for this

example.

Fabolous Sunday September 5

somthing like dat ?
 
 
Start new topic
Replies (1 - 3)
C.Lime.Jello.
post Sep 4 2004, 02:38 PM
Post #2


The voices talk too much... -.-u
******

Group: Member
Posts: 2,099
Joined: Aug 2004
Member No: 39,078



Xanga Scripts ~> Date changer
 
ycannedbananasy
post Sep 4 2004, 02:39 PM
Post #3


you are bizarre.
****

Group: Member
Posts: 140
Joined: Jun 2004
Member No: 25,225



you can find that in xanga scripts. cLicK mE
 
sweetxsimplicity
post Sep 4 2004, 02:40 PM
Post #4


hi, my name is brianna! =]
*******

Group: Official Member
Posts: 5,764
Joined: Jun 2004
Member No: 22,114



Please check in the Xanga Scripts forum before you ask for a certain script or code! wink.gif

CODE
<!-- begin code provided by createblog.com -->

<script type="text/javascript">
//
// ?003 EasterEgg, http://www.xanga.com/easteregg
// Changes <span class='searchlite'>date</span> 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,",
       "2002",
       "2003",
       "2004",
    "2005",
    "2006",
    "2007",
    "2008",
       "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, "
    );

   // *** add the replacing Months or Days below
   var newWordsDates = new Array(
       "x JANUARY",
       "x FEBRUARY",
       "x MARCH",
       "x APRIL",
       "x MAY",
       "x JUNE",
       "x JULY",
       "x AUGUST",
       "x SEPTEMBER",
       "x OCTOBER",
       "x NOVEMBER",
       "x DECEMBER",
       "_MONDAY ",
       "_TUESDAY ",
       "_WEDNESDAY ",
       "_THURSDAY ",
       "_FRIDAY ",
       "_SATURDAY ",
       "_SUNDAY ",
       " 2002",
       " 2003",
       " 2004",
    " 2005",
    " 2006",
    " 2007",
    " 2008",
       "o1, ",
       "o2, ",
       "o3, ",
       "o4, ",
       "o5, ",
       "o6, ",
       "o7, ",
       "o8, ",
       "o9, ",
       "1o, ",
       "11, ",
       "12, ",
       "13, ",
       "14, ",
       "15, ",
       "16, ",
       "17, ",
       "18, ",
       "19, ",
       "2o, ",
       "21, ",
       "22, ",
       "23, ",
       "24, ",
       "25, ",
       "26, ",
       "27, ",
       "28, ",
       "29, ",
       "3o, ",
       "31, "

    );

   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 -->


http://www.createblog.com/forums/index.php...c=31137&hl=date
 

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