Yes, you are right. Current code will not work with multiple pages.
To fix it you'll have to make a little change in code for every page.
Generally the problem is that you can not use the same name for the background rectangle. So, you have to change it for every page into something unique.
To do so, select the black rectangle on the "--footer begin--" layer and open Web Properties Dialog on Placeholder tab. Find following string in the code:
Code:
var bg=document.getElementById('my_background');
As you see it contains the background rectangle name. Make it unique for every page, for example by adding a digit at the end. Then use the same name with the background rectangle.
I think it's the simplest way to use it with multiple pages in a single design.
Bookmarks