here is the code that I think is causing the problem :
function updatePortfolioPage(page) {
if (page == "next") {
if (parseInt(document.count.current.value, 10) >= parseInt(document.count.maxx.value, 10)) {
document.count.current.value = 0;
}
count = parseInt(document.count.current.value, 10) + 1;
} else {
count = parseInt(document.count.current.value, 10) - 1;
if (parseInt(document.count.current.value, 10) == 1) {
count = document.count.maxx.value;
}
}
document.count.current.value = count;
thisTitle = eval("document.form_"+count).title.value;
len = thisTitle.length;
typeTitle = "<a href=\"javascript:updatePortfolio('"+count+"');\" style=\"text-decoration:none;\">";
for (i=0;i<=len;i++) {
thisChar = thisTitle.substr(i, 1);
if (thisChar == " ") {
typeTitle = typeTitle + " "
} else {
typeTitle = typeTitle + "<img src=\"assets/alphabet/white2/"+thisChar+".png\" height=\"20\" border=\"0\" /> ";
}
}
typeTitle = typeTitle + "</a>";
document.getElementById("scroll_title_1").innerHTML = typeTitle;
thisImage = eval("document.form_"+count).image.value;
document.getElementById("scroll_image_1").innerHTML = "<a href=\"javascript:updatePortfolio('"+count+"');\" style=\"text-decoration:none;\"><img width=\"260\" src=\"assets/sites/thumbnails/"+thisImage+".jpg\" border=\"0\" style=\"padding-bottom:6px;\" ><br><font style=\"font-size:12px;\">( click for more info )</font></a>";
//update second image
count = count + 1;
if (count > document.count.maxx.value) {
count = 1;
}
thisTitle = eval("document.form_"+count).title.value;
len = thisTitle.length;
typeTitle = "<a href=\"javascript:updatePortfolio('"+count+"');\" style=\"text-decoration:none;\">";
for (i=0;i<=len;i++) {
thisChar = thisTitle.substr(i, 1);
if (thisChar == " ") {
typeTitle = typeTitle + " "
} else {
typeTitle = typeTitle + "<img src=\"assets/alphabet/white2/"+thisChar+".png\" height=\"20\" border=\"0\" /> ";
}
}
typeTitle = typeTitle + "</a>";
document.getElementById("scroll_title_2").innerHTML = typeTitle;
thisImage = eval("document.form_"+count).image.value;
document.getElementById("scroll_image_2").innerHTML = "<a href=\"javascript:updatePortfolio('"+count+"');\" style=\"text-decoration:none;\"><img src=\"assets/sites/thumbnails/"+thisImage+".jpg\" width=\"260\" border=\"0\" style=\"padding-bottom:6px;\" ><br><font style=\"font-size:12px;\">( click for more info )</font></a>";
}
Or, you can just check the page out yourself at I have no idea what the problem is because IE gives next to no information when it gets an error.
function updatePortfolioPage(page) {
if (page == "next") {
if (parseInt(document.count.current.value, 10) >= parseInt(document.count.maxx.value, 10)) {
document.count.current.value = 0;
}
count = parseInt(document.count.current.value, 10) + 1;
} else {
count = parseInt(document.count.current.value, 10) - 1;
if (parseInt(document.count.current.value, 10) == 1) {
count = document.count.maxx.value;
}
}
document.count.current.value = count;
thisTitle = eval("document.form_"+count).title.value;
len = thisTitle.length;
typeTitle = "<a href=\"javascript:updatePortfolio('"+count+"');\" style=\"text-decoration:none;\">";
for (i=0;i<=len;i++) {
thisChar = thisTitle.substr(i, 1);
if (thisChar == " ") {
typeTitle = typeTitle + " "
} else {
typeTitle = typeTitle + "<img src=\"assets/alphabet/white2/"+thisChar+".png\" height=\"20\" border=\"0\" /> ";
}
}
typeTitle = typeTitle + "</a>";
document.getElementById("scroll_title_1").innerHTML = typeTitle;
thisImage = eval("document.form_"+count).image.value;
document.getElementById("scroll_image_1").innerHTML = "<a href=\"javascript:updatePortfolio('"+count+"');\" style=\"text-decoration:none;\"><img width=\"260\" src=\"assets/sites/thumbnails/"+thisImage+".jpg\" border=\"0\" style=\"padding-bottom:6px;\" ><br><font style=\"font-size:12px;\">( click for more info )</font></a>";
//update second image
count = count + 1;
if (count > document.count.maxx.value) {
count = 1;
}
thisTitle = eval("document.form_"+count).title.value;
len = thisTitle.length;
typeTitle = "<a href=\"javascript:updatePortfolio('"+count+"');\" style=\"text-decoration:none;\">";
for (i=0;i<=len;i++) {
thisChar = thisTitle.substr(i, 1);
if (thisChar == " ") {
typeTitle = typeTitle + " "
} else {
typeTitle = typeTitle + "<img src=\"assets/alphabet/white2/"+thisChar+".png\" height=\"20\" border=\"0\" /> ";
}
}
typeTitle = typeTitle + "</a>";
document.getElementById("scroll_title_2").innerHTML = typeTitle;
thisImage = eval("document.form_"+count).image.value;
document.getElementById("scroll_image_2").innerHTML = "<a href=\"javascript:updatePortfolio('"+count+"');\" style=\"text-decoration:none;\"><img src=\"assets/sites/thumbnails/"+thisImage+".jpg\" width=\"260\" border=\"0\" style=\"padding-bottom:6px;\" ><br><font style=\"font-size:12px;\">( click for more info )</font></a>";
}
Or, you can just check the page out yourself at I have no idea what the problem is because IE gives next to no information when it gets an error.