Marc Langille
Apr-06-2009, 07:58 AM
Hi,
I tried to implement then remove a customization... :rolleyes Now I get this error:
Line: 132
Char: 3
Error: Object expectetd
Code: 0
URL: http://marclangille.smugmug.com/
Line 132 shows this entry:
goHere += ('?c=1#' + parts[1]);
_________________________________________________
If this helps (?), here is the entire section (lines 118 - 145), including line 132. Unfortunately the code sometimes gets borked with asterisks - not sure how to correctly copy/paste it in vBulletin format...:huh
******** type="text/javascript" src="http://cdn.smugmug.com/include/js/homepageAjax-min-20090304151250.js">
******** type="text/javascript">
(function() {
var parts = window.location.href.split("#");
if (parts.length < 2 || YD.hasClass(document.body, 'smugmug_ajax') || YD.hasClass(document.body, 'singleImage')) {
return;
}
//if (parts.length === 2 && !YD.hasClass(document.body,'smugmug_ajax') && !YD.hasClass(document.body,'singleImage') && (YD.hasClass(document.body,'galleryPage') || YD.hasClass(document.body,'keywordPage') || YD.hasClass(document.body,'datePage') || YD.hasClass(document.body,'popularGallery') || YD.hasClass(document.body,'popularImage') || YD.hasClass(document.body,'communityKeyword'))) {
if (YD.hasClass(document.body,'galleryPage') || YD.hasClass(document.body,'keywordPage') || YD.hasClass(document.body,'datePage') || YD.hasClass(document.body,'popularGallery') || YD.hasClass(document.body,'popularImage') || YD.hasClass(document.body,'communityKeyword')) {
var goHere = SM.util.normalizeURL();
if (/\w+\-[A-Z0-9]+\-LB$/.test(parts[1])) {
goHere += ('?c=1#' + parts[1]);
}
location.href = goHere;
}
})();
******** type="text/javascript" language="javascript">
CheckRedirects();
I tried to implement then remove a customization... :rolleyes Now I get this error:
Line: 132
Char: 3
Error: Object expectetd
Code: 0
URL: http://marclangille.smugmug.com/
Line 132 shows this entry:
goHere += ('?c=1#' + parts[1]);
_________________________________________________
If this helps (?), here is the entire section (lines 118 - 145), including line 132. Unfortunately the code sometimes gets borked with asterisks - not sure how to correctly copy/paste it in vBulletin format...:huh
******** type="text/javascript" src="http://cdn.smugmug.com/include/js/homepageAjax-min-20090304151250.js">
******** type="text/javascript">
(function() {
var parts = window.location.href.split("#");
if (parts.length < 2 || YD.hasClass(document.body, 'smugmug_ajax') || YD.hasClass(document.body, 'singleImage')) {
return;
}
//if (parts.length === 2 && !YD.hasClass(document.body,'smugmug_ajax') && !YD.hasClass(document.body,'singleImage') && (YD.hasClass(document.body,'galleryPage') || YD.hasClass(document.body,'keywordPage') || YD.hasClass(document.body,'datePage') || YD.hasClass(document.body,'popularGallery') || YD.hasClass(document.body,'popularImage') || YD.hasClass(document.body,'communityKeyword'))) {
if (YD.hasClass(document.body,'galleryPage') || YD.hasClass(document.body,'keywordPage') || YD.hasClass(document.body,'datePage') || YD.hasClass(document.body,'popularGallery') || YD.hasClass(document.body,'popularImage') || YD.hasClass(document.body,'communityKeyword')) {
var goHere = SM.util.normalizeURL();
if (/\w+\-[A-Z0-9]+\-LB$/.test(parts[1])) {
goHere += ('?c=1#' + parts[1]);
}
location.href = goHere;
}
})();
******** type="text/javascript" language="javascript">
CheckRedirects();