YUI: Simple show/hide div using Module

Comments

Hello & thanks for the nice example. However I cannot get it to work when the code is in a fraction jsp (not complete with head & body) which is being injected into the main layout page (using YUI send async & insertion techinques). The hide/show link is then simply not working & the init function is not being called either (tested by adding an alert in it). If I have the code all in a full separate page it works fine. In both cases I (of course) have included the relevant css & YUI scripts. Please advice on anything I might have missed.

Thanks / V.

Post a comment

Already a Vox member? Sign in