PVII Knowledge Base
Question #245
Is there a way to have the Lightshow Magic system open automatically when the page loads?
The Answer
Prepared Sep. 2008 by Gerry Jacobsen, PVIIYou can have the Lightshow Magic system auto start when the page loads by applying this simple code tweak:
1. Open the p7LSMscripts.js file and locate the last few lines of the P7_LSMinit() function, around line 280:
P7_LSMpause(1); p7LSMf=true; }
2. Add a new line after the "p7LSMf=true;" line and paste this into the new line:
P7_LSMctrl('first');
so that it now looks like this:
P7_LSMpause(1);
p7LSMf=true;
P7_LSMctrl('first');
}
3. Save the file.
That's it, the Lightshow Magic system will now auto start the default Lightshow Magic system on the page as soon as the page loads.
