Jesi li obratio paznju na ovaj deo?
<script type="text/javascript">
$('networkBar').observe('mouseover', function(event) {
Event.stop(event);
});
var mouseOverHandler = function(event) {
$('networkBarPopup').slideDown({duration: 0.3, queue: {position: 'end', scope: 'networkbar', limit: 2}});
$('networkBarButton').stopObserving('mouseover', mouseOverHandler);
document.observe('mouseover', mouseOutHandler);
}
var mouseOutHandler = function(event) {
$('networkBarPopup').slideUp({duration: 0.3, queue: {position: 'end', scope: 'networkbar', limit: 2}});
$('networkBarButton').observe('mouseover', mouseOverHandler);
document.stopObserving('mouseover', mouseOutHandler);
}
$('networkBarButton').observe('mouseover', mouseOverHandler);
</script>
|