PDA

View Full Version : Help with CMotion. It's not scrolling left (backwards).



marlysse
04-28-2007, 04:42 AM
1) Script Title:
CMotion Image Gallery

2) Script URL (on DD):

http://www.kubakuba.info/galeria.html

3) Describe problem:
Hello
For some reason, my CMotion gallery will not scroll backwards anymore.
I'm sure it's something i did, but i have been trying to keep it simple

Maybe someone had this problem before and can suggest something.

The link is:
http://www.kubakuba.info/galeria.html

Thankyou.

jscheuer1
04-28-2007, 05:54 AM
The main problem is the containing division for branch.png overlaps the gallery. Because of that, when the mouse appears to be over the gallery but it is really over that container, the gallery doesn't respond.

That was about it as far as I could tell in IE 7 and Opera 9.01. But, in FF 1.5.0.11 there was another problem as well. The division with the id of 'menu' was being stretched horizontally by the footer and as a result, also covered a bit of the gallery.

Both problems can be fixed with these additions:


<div id="branch" onmousemove="crossmain.onmousemove(event);" onmouseout="crossmain.onmouseout(event);"><img src="images/branch.png"></div>


<div id="menu" style="width:82px;">


<div id="footer" style="width:500px;">

Notes: This causes the gallery to move when the mouse is over the 'branch' division. So, the gallery can move at times when the mouse isn't over it all. This could be fixed by placing a transparent image over the portion of the 'branch' division that you want to be inert. But, this is a fine point and probably unnecessary.

I placed the styles inline, but they could go in the stylesheet. The 'branch' division events need to go inline as shown unless assigned by a script or by code added to the existing script.

marlysse
04-28-2007, 05:19 PM
Thank you very much.

I would have never been able to figure that out.

Probably there is a better way to see set up this page, but it has been
a challenge working with that 'branch" and discovering .pngs