How do i create a custom Blog header??, /with xanga reg. |
How do i create a custom Blog header??, /with xanga reg. |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 1 Joined: Jan 2004 Member No: 2,304 ![]() |
Heres what i mean...
|
|
|
![]() |
![]()
Post
#2
|
|
![]() mmm... coffee ;] ![]() ![]() ![]() Group: Member Posts: 65 Joined: Jan 2004 Member No: 1,845 ![]() |
QUOTE <script type="text/javascript"> this one is to change the word for the dates you can add to it// // ©2003 EASTEREGG, HTTP://WWW.XANGA.COM/EASTEREGG // CHANGES DATE TEXT // FOR USE AT XANGA ONLY. // RAWRS =P // 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" ); // *** ADD THE REPLACING MONTHS OR DAYS BELOW var newWordsDates = new Array( "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", "lunes", "martes", "miércoles", "jueves", "viernes", "sabádo", "domingo" ); 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> QUOTE <style type="text/css"> this edits the format of the date. you change and add things to it
div.blogheader, .caption { font-family:arial; text-transform:lowercase; font-size:21px; line-height:14px; font-weight:bold; color:#FF0000; text-align: left; } </style> |
|
|
![]() ![]() |