my blogger goes too far., help plz, its fairly easy if your a pro |
![]() ![]() |
my blogger goes too far., help plz, its fairly easy if your a pro |
Nov 19 2004, 12:44 AM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 1 Joined: Nov 2004 Member No: 61,670 |
Input your own Header HTML <style> /*Halo2*/ /*By AznDen DennisGahm*/ #pnlEprops, #rblEprops, td.mainleft, table.navigation, table.footer, table.search, #SearchBar1_pnlYouAreHere, hr, {display: none;} marquee{width:10px;color:#ffffff} body{ background-color:#000000; scrollbar-arrow-color: #ffffff; scrollbar-track-color: #CDDDE9; scrollbar-shadow-color: #000000; scrollbar-face-color: #999998; scrollbar-highlight-color: #ffffff; scrollbar-darkshadow-color: #242424; scrollbar-3dlight-color: #232323; overflow:auto; overflow-x:hidden; } .blogbody, p, font, td, tr, table,{font-size:10px; font-family:Comic Sans MS; color:#80FFFF} input{font-size:10px; font-family:Comic Sans MS; color:#999998;background-color:#000000;border:1px solid #ffffff;cursor:hand} a:visited, a:link {color:#800000; text-decoration: none; font:bold 10px Comic Sans MS} a:hover{color: #ffffff; text-decoration: none; font:bold 10px Comic Sans MS;border-bottom:1px solid #fffff;border-top:1px solid #fffff} .blogheader {font-family: Comic Sans MS; color: #D9E6F0; font-size: 10px; text-decoration: none; font-weight: bold; padding-bottom: 4pt; } .exotic{margin-top:-80px;} table.blogbody tr td { width:0px; padding-bottom: 10px;} #pnlEnabled table, #lblTimeZone, #pnlEprops, #rblEprops, #htmleditor { width: 100%; padding: 0px;} .astigDOTnet{ background-image:url("http://www.freewebs.com/dennisprofile/skin915_mainbg.jpg"); width:583; padding-left:50; padding-right:103; } </style> <div class="exotic"> <a name="top"> <BODY BGCOLOR=#000000 LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0> <TABLE WIDTH=583 BORDER=0 CELLPADDING=0 CELLSPACING=0> <TR> <TD> <IMG SRC="http://www.freewebs.com/dennisprofile/bg_warthog_edit.png" WIDTH=799 HEIGHT=390 ALT="" USEMAP="#top_Map" border=0></TD> </TR> <TR> <TD> <IMG SRC="http://www.freewebs.com/dennisprofile/skin915_image2.jpg" WIDTH=583 HEIGHT=113 ALT=""></TD> </TR> <TR> <TD class="astigDOTnet"> </table> </TD> </TR> <TR> <TD> <IMG SRC="http://www.freewebs.com/dennisprofile/skin915_image3.jpg" WIDTH=583 HEIGHT=83 BORDER=0 ALT="" USEMAP="#bottom_Map"></TD> </TR> </TABLE> <MAP NAME="top_Map"> <AREA SHAPE="rect" COORDS="6,187,131,206" HREF="http://www.xanga.com/profile.aspx?user=AznDen" TARGET="http://www.xanga.com/profile.aspx?user=AznDen" TARGET="http://www.xanga.com/profile.aspx?user=AznDen" TARGET="http://www.xanga.com/profile.aspx?user=AznDen" ALT="Read My Profile :D"> <AREA SHAPE="rect" COORDS="5,216,162,233" HREF="http://www.xanga.com/guestbook.aspx?user=AznDen" TARGET="http://www.xanga.com/guestbook.aspx?user=AznDen" TARGET="http://www.xanga.com/guestbook.aspx?user=AznDen" TARGET="http://www.xanga.com/guestbook.aspx?user=AznDen" ALT="Sign My Guest Book ^^"> <AREA SHAPE="rect" COORDS="6,280,46,298" HREF="http://www.xanga.com/signin.aspx" TARGET="http://www.xanga.com/signin.aspx" TARGET="http://www.xanga.com/signin.aspx" TARGET="http://www.xanga.com/signin.aspx" ALT="Login To User"> <AREA SHAPE="rect" COORDS="5,314,84,329" HREF="http://www.xanga.com/Private/SubscribeTo.aspx?user=AznDen" TARGET="http://www.xanga.com/Private/SubscribeTo.aspx?user=AznDen" ALT="Subscribe"> <AREA SHAPE="rect" COORDS="7,344,98,363" HREF="http://www.xanga.com/private/home.aspx" ALT="Go To Your Xanga"> </MAP> <MAP NAME="bottom_Map"> <AREA SHAPE="rect" ALT="Back to Top" COORDS="92,25,176,39" HREF="#top"> </MAP> <script type="text/javascript"> // // ©2004 EasterEgg // // For use at Xanga only. // // While the date in your blogheader has a fixed format // (e.g. "Tuesday, March 16, 2004") you may want to use // another date format, accustomed to *your* preferences. // This script enables you to apply pretty much any date // format to your blogheader you like. // // Here's how it works: // The script collects all blogheaders and applies to them // a format you define by changing the value of the variable // "dateFormatStr" in the code below. Currently that value is // set to 'ddd, mm/dd/yy', which will result in a date that // looks like this: 'Tue, 03/16/04'. If you want to use slashes // instead of divisions as date separators, go right ahead; you // can even add HTML to the date format string if you like!:-) // // ================= // listing of available constants (using the date // "Tuesday, March 16, 2004" as an example): // // dd = 16 // ddd = Tue // dddd = Tuesday // // mm = 03 // mmm = Mar // mmmm = March // // yy = 04 // yyyy = 2004 // // ================= // // You can use any combination of the above constants. Examples: // // 'mm/dd/yyyy' will result in '03/16/2004' // 'mmm dd, yy' will result in 'Mar 16, 04' // 'mm-dd-yy (dddd)' will result in '03-16-04 (Tuesday)' // '{ ddd, mmm dd, yyyy }', will result in '{ Tue, Mar 16, 2004 }' // // Get the general idea?;-) // // Copy this entire code and paste it in the webstats box of your // Look and Feel page. // // You're free to use this script as long as this comment remains // intact. Future modifications allowed if due credit is given. // function formatEntryDate() { // ***** adjust the dateFormatStr below as you see fit // =================================================== dateFormatStr = '*dddd, mmmm/dd/yyyy*<br>'; // =================================================== function getMonthNr(sMonth) { months = new Array( "Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); for (var n = 0; n < months.length; ++n) { if (months[n] == sMonth) { if ( n + 1 < 10) return '0' + (n + 1).toString() else return (n + 1).toString(); } } } allDivs = document.getElementsByTagName('div'); for (var i = 0; i < allDivs.length; ++i) { if (allDivs[i].className == 'blogheader') { newDateFormat = dateFormatStr; // day entryDate = allDivs[i].innerHTML; dayLong = entryDate.substr(0, entryDate.indexOf(',')); // dddd dayShort = dayLong.substr(0, 3); // ddd tempStr = entryDate.substr(dayLong.length + 1); dayNr = tempStr.substr(tempStr.indexOf(',') - 2, 2); // dd newDateFormat = newDateFormat.replace('dddd', dayLong); newDateFormat = newDateFormat.replace('ddd', dayShort); newDateFormat = newDateFormat.replace('dd', dayNr); // month monthLong = tempStr.substr(1, tempStr.indexOf(',') - 3);// mmmm monthShort = monthLong.substr(0, 3); // mmm monthNr = getMonthNr(monthShort); // mm newDateFormat = newDateFormat.replace('mmmm', monthLong); newDateFormat = newDateFormat.replace('mmm', monthShort); newDateFormat = newDateFormat.replace('mm', monthNr); // year yearLong = tempStr.substr(tempStr.indexOf(',') + 2); // yyyy yearShort = yearLong.substr(2); // yy newDateFormat = newDateFormat.replace('yyyy', yearLong); newDateFormat = newDateFormat.replace('yy', yearShort); allDivs[i].innerHTML = newDateFormat; } } } formatEntryDate(); </script> |
|
|
|
![]() ![]() |