I'm having an issue with prototype...
I have the following code that I want to execute:
the very first time it's loaded, it doesn't work, but if the page is refreshed, it works perfectly. is there something I'm missing?Code:Event.observe(window, 'load', function(){ $('mesTour1').hide(); $('mesTour2').hide(); $('mesTour3').hide(); $('mesTour4').hide(); $('mesTour1').appear().delay(0.5); $('cancelTour').observe('click', function(){ $('mesTour1').fade(); }); });



Reply With Quote

Bookmarks