Is there a way to make javascript for specific blocks to have hide/show ability.

e.g.

<a href="javascript:showBLOCK('the_id_of_forum_new_Forum_topics')">New forum topics </a>

when you click you get the list of e.g. 20 lastest topics..

and when you refresh the page the expanded block stays until you hide it again / browser cookie thing.

Comments

vertazzar’s picture

bump :r

WorldFallz’s picture

Bumping after 5 minutes? you're kidding right....

coreyp_1’s picture

vertazzar’s picture

thank you coreyp_1,

this module is pretty good, but the bad thing is that you can only apply it on all blocks.

Its not possible to put specific block, e.g. put id.

:/

or it is, ill check its documentation

edit: that's it! thanks! this is the thing i was looking for!