View Full Version : Cmotion Script help -- javascript not loading??

05-24-2007, 06:09 PM
1) Script Title: Cmotion Gallery Script

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

3) Describe problem: I have installed the script on this page (http://www.melodic-art.com/clientsite/victorindrizzo/history.htm) and for some reason it's not working. I can tell that the stylesheet is loading but it doesn't seem to loading the javascript file, I did upload the js file into the same directory as the page. Any help would be appreciated -- thanks!

(this page opens in an iframe if that makes a difference. view the full site here. (http://melodic-art.com/clientsite/victorindrizzo) and click on "history".

again, thanks.

05-24-2007, 07:10 PM
Take this script:


// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header

if (parent.location.href == self.location.href){
// change the url below to the url of the
// frameset page...
window.location.href = 'index.html'


off of historycontent.htm and we'll talk.

05-24-2007, 07:16 PM
Okay, I removed it :)

lets talk... (please)

05-24-2007, 07:33 PM
Sorry, my mistake. I thought the script was in that iframe. However, that code, to be effective, should load history.htm, not index.htm. Anyways, that has nothing to do with the problem with your script. It is this style:

<style type="text/css">td img {display: block;}</style>

That is messing it up. You can either remove it (which may mess other things up on your page or may not) or add this style:

<style type="text/css">
#motioncontainer img {

05-24-2007, 07:41 PM
Thanks so much for your help -- that fixed it :)

now that I can see all the images -- I have to do some cleaning up in PS.

Thanks again (great script by the way)