I have a strange problem. I added fx.slide effect to the module.
- Code: Select all
// Funkcja rozwijania i zwijania
window.addEvent('domready', function() {
var myVerticalSlide = new Fx.Slide('secpageinfo');
$('slidedown').addEvent('click', function(event){
myVerticalSlide.toggle();
event.stop();
});
$('slideup').addEvent('click', function(event){
myVerticalSlide.toggle();
event.stop();
});
$('wiecej').addEvent('click', function(event){
myVerticalSlide.toggle();
event.stop();
});
It works when I'm logged in as a super admin.
When I'm logged out, the script does not work > http://www.ainni.pl/index.php/rzemieslnicy
What am I doing wrong?