|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
Why did my Java header stop working today?
Hi all,
I've had the same javascript rotating photos through my header for over a year now. Today, it stopped working. I haven't done anything (haven't even uploaded photos lately). It says the "page loaded, but with errors". in IE. I get my JPG logo, but the rotating photos are "missing". I have no idea "what changed" that would cause this error all of a sudden. like I said, i haven't changed anything in my customizations in months... My Site: kbev.smugmug.com The errors are: [SIZE=2]> > line 156, char 21, Error: "Lr" undefined, code 0 > line 140, char 21, Error: "Ll" undefined, code 0 > line 148, char 21, Error: "P" undefined, code 0 > My Javascipt is: var Ll = new Array(); Ll[0] = "http://kbev.smugmug.com/photos/75765833-Th.jpg"; ...removed a list from this post... Ll[14] = "http://kbev.smugmug.com/photos/190745066-Th.jpg"; var P = new Array(); P[0] = "http://kbev.smugmug.com/photos/73237446-Th.jpg"; ...removed a list from this post... P[17] = "http://kbev.smugmug.com/photos/246044775-Th.jpg"; var Lr = new Array(); Lr[0] = "http://kbev.smugmug.com/photos/73648115-Th.jpg"; ...removed a list from this post... Lr[13] = "http://kbev.smugmug.com/photos/193571175-Th.jpg"; function choosePhoto(parray) { inx = Math.floor(Math.random()*parray.length); img = parray[inx]; document.write('[IMG]' + img + '[/IMG]'); } [[[ i tried to post the header text, but it came out funny - sorry ]]] |
|
|
|
|
#2
|
|
|
panasonikon
|
|
|
|
|
|
#3
|
||
|
Big grins
|
Thanks
Yup, that fixed it... but why did it need t be changed? It had been working fine for over a year? Am I cursed?
Quote:
|
|
|
|
||
|
#4
|
||
|
SmugMug Hero Captain
|
Quote:
We recently made some changes in our system for speed reasons. You can find more information here: http://www.dgrin.com/showthread.php?t=85302 |
|
|
|
||
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|