Hi Guys:
This is the first time, that i ask for help, 'cause this has caused me enormous amount of hours, and i'm almost bald. Problem is that i have a site that scrolls horizontally using Fx.Scroll, but this same site, also includes a Slider, so, my goal is to control the site, either by click on some links and the site scrolls to that anchor or by moving the slider: http://review.maribelleromero.com/ In order for me to move the handle of the slider, to the exact position that the site is currently showing, i have to use Fx.Tween, right, i can do it by just setting the steps of the Slider object, but i want it to transition to that place, not just to appear there, and i have found a predefined way, but it doesn't exist (that i have found). Anyway. I was able to get this, calculating the position of the anchors, translating them in percent, and moving the handle inside 950px which is space that i have showing on the screen. Now, it works flawlessly on Firefox, Safari, Chrome, etc, only thing is that it gets crazy when i click faster on the links, basically the wait:false, of the Fx object i guess doesn't kicks in. Whatever, i can live with that, the main motive of this question is that IE6/7 doesn't calculate this accordingly. I have an alert that shows the position of the anchors, every time, i click on the navigation on top. Try it, and see how, it always calculate the same numbers on other browsers, but in IE, it get's shifted to the left. If this explanation was complicated somehow, please let me know, and i will explain it again. If someone knows of a way to solve this issue, or a workaround, or even better, a faster and better way to accomplish what i'm describing, i would be more than thanksful. Because, right now, i'm about to perish of extremely hairs pulls. :oops: Thanks in advance. :) fearlex -- View this message in context: http://n2.nabble.com/element.getPosition%28relative%29-doesn%27t-work-properly-on-IE-tp2989524p2989524.html Sent from the MooTools Users mailing list archive at Nabble.com.
