you're right, it is the embedded code, the test showed up...
It's just strange because it had never not worked before, I haven't altered any code, it just suddenly stopped working...
I've looked over the archive script that I linked to in the box, but I can't find anything missing... but then again I don't know enough about javascript to be able to see much. I just don't understand why it worked before and isn't working now, when I didn't change anything.
This is the archive script...
Code:
// User data
var currentPageName = "current posts";
var currentPageLink = "index.html";
var archivePath = "";
var preLink = "";
var postLink = "";
function ArchivePage_MakeLink(){
var month_name = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
var newName = preLink + month_name[this.StartDate.getMonth()]+" "+this.StartDate.getFullYear() + postLink;
var outString = "";
if ( -1 != location.href.indexOf( this.Link ) ){
outString = "<span class=\"archivelinks\">" + newName + "</span><br>";
}
else{
outString = "<a href=\"" + archivePath + this.Link + "\" class=\"archivelinks\">" + newName + "</a><br>";
}
return outString;
}
function ArchivePage( theLink, theName ){
this.Link = theLink;
this.Name = theName;
this.StartDate = new Date( this.Name.slice(6,10), this.Name.slice(0,2)-1, this.Name.slice(3,5) );
this.EndDate = new Date( this.Name.slice(13+6,13+10), this.Name.slice(13+0,13+2)-1, this.Name.slice(13+3,13+5) );
ArchivePage.prototype.MakeLink = ArchivePage_MakeLink;
}
function FindIdx( myURL ){
for ( var n=0; n<BlogInfo.length; n++ ){
if ( -1 != myURL.indexOf( BlogInfo[n].Link ) )
return n;
}
return null;
}
function WriteArchiveSection( BlogInfo ){
var start = 0;
var end = BlogInfo.length;
var currentPage = FindIdx(location.href);
if ( null != currentPage ){ document.write( "<a href=\"" + currentPageLink + "\">" + currentPageName + "</a><br>"); }
for ( var n=start; n<end; n++ ){
document.write( BlogInfo[n].MakeLink() );
}
}
var count=0;
var BlogInfo = new Array();
<Blogger>
BlogInfo[count++] = new ArchivePage( "<$BlogArchiveLink$>" , "<$BlogArchiveName$>" );
</Blogger>
WriteArchiveSection( BlogInfo );