OK, my brain has apparently stopped functioning. If I want the background image assigned to one div element to be assigned to another div element as part of a function, why doesn't the following work?
It works if I specify the actual background image within the function, so I know the image is there, and I know it's been properly assigned to div2, but div1's background image doesn't change.Code:test.div.style.backgroundImage=test.div2.style.backgroundImage;
Thanks for any help!





. Don't worry about core.js, as that is unmodified from the original source (the Sitepoint book "Simply Javascript"). And to make things simple, I put the CSS and the rest of the Javascript in the document itself instead of linking to external docs. I also limited the "slides" to 2 and cut the time each one is displayed in half, to minimize your wait. 

Bookmarks