> I attach the whole code I'm working.

Ugh,  that  ain't  gonna  work  (posting  all  your code and expecting
someone to put it up somewhere, that is).

Please  put  up  a  demo of what you are trying to do at jsFiddle.net.
Sometimes  the  very act of putting something in a Fiddle can help you
simplify and solve your problem.  

-- Sandy

Reply via email to