PDA

View Full Version : CMotion scroll doesn't work when using other script together



keithng
04-16-2007, 10:48 PM
1) Script Title: CMotion Image Gallery

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

3) Describe problem: Can't get the script to scroll when I use together with other Javascript.

Please take a look here : http://www.csi-my.com/menu.htm

The following is the javascript that I added in my html page :

<script language="JavaScript1.2">

//Highlight image script

function makevisible(cur,which){
strength=(which==0)? 1 : 0.2

if (cur.style.MozOpacity)
cur.style.MozOpacity=strength
else if (cur.filters)
cur.filters.alpha.opacity=strength*100
}

</script>


Anyone please help me to solve this problem?

Thanks alot!

jscheuer1
04-17-2007, 04:57 AM
That's not the problem. Just remove the Flash:


<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="950" height="46">
<param name="movie" value="library/ken/Flash/menu1.swf">
<param name="quality" value="High">
<embed src="library/ken/Flash/menu1.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="950" height="46" quality="High"></object>

It doesn't work anyway. Without that, the gallery and the fade code work fine together.