View Full Version : CMotion Image Gallery with <body onload="ImageBook()"> does not run

04-28-2010, 05:11 AM
1) Script Title:
CMotion Image Gallery and Book Flip Slideshow

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm and http://www.dynamicdrive.com/dynamicindex14/bookflip.htm

3) Describe problem:
this CMotion Image Gallery script work well but

after i write Book Flip Slideshow <body onload="ImageBook()"> in attempt to run the two script. the CMotion Image Gallery does not work.

if i donot write Book Flip Slideshow script <body onload="ImageBook()">, the CMotion Image Gallery work.

please help me what i have to combine these two script to run together?

thank my friend

04-28-2010, 07:35 AM
Remove this line from the motiongallery.js file:


Make your body onload:

<body onload="ImageBook();fillup();">

04-28-2010, 07:40 AM
oopps. i did it, it already run together.

04-28-2010, 07:41 AM
thank you very much, jscheuer1. it work