ok, no respond so i solved it myself
Event.observe(window, 'load', function() {
var klon;
$$('li').each(function(el){
Event.observe(el, 'mouseover', function(event) {
klon = $('klon');
var r;
if(Prototype.Browser.IE){
r = (el.positionedOffset())[1];
}else if(Prototype.Browser.Opera){
r =
(el.viewportOffset())[1]-(el.cumulativeScrollOffset())[1];
}else{
r = (el.viewportOffset())[1];
}
klon.setStyle({ top: r + 'px' });
klon.show();
});
});
Event.observe('klon', 'mouseout', function(event) {
klon.hide();
});
});
On 23 Mar, 13:17, zero <[email protected]> wrote:
> anyone got some idea?
> Its bug or i do something wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---