Submitted by hashim on Mon, 02/05/2005 - 17:41.
( categories: Miscellaneous )

Al salamo alikom

i'd like to make the block style like http://www.foolab.org/ to be expand and collapse. how can i make this, if mohamed samir like to tell us, it will be nice to make it as an article. thank you.


Conceptor's picture
Submitted by Conceptor on Mon, 02/05/2005 - 21:47.

the them it self implemented to have this feature ,read here.

MohamedSameer could give you better answer if he were available.

Diaa Radwan


Submitted by hashim on Mon, 02/05/2005 - 22:23.

i hope that i don't change the theme to use this feature. thnx


Ahmed Hashim

Submitted by hashim on Tue, 03/05/2005 - 01:26.

it seems that Mohamed Sameer is sleeping, 7ad yesa7eh ya gama3a :) is he in hurghada? i am guessing ;)


Ahmed Hashim

MohammedSameer's picture
Submitted by MohammedSameer on Tue, 03/05/2005 - 03:20.

Was in Hurghada and I've just returned now!

This is a feature in the theme I use.

You'll have to modify your theme for it.

If you'll do so, Tell me and I'll try to provide details.


-- I was known as Uniball!
WWW: http://www.foolab.org/
Quote "c u next life time then when i come back as a mug of tea :P"


Submitted by hashim on Tue, 03/05/2005 - 08:26.

its ok i will modify the theme it will be fine if you provide details. thnx


Ahmed Hashim

MohammedSameer's picture
Submitted by MohammedSameer on Tue, 03/05/2005 - 11:06.

You must include the JS file: rollup.js from the theme.

If you have a look at adc.theme You'll notice: function adc_block($block)

Start from here!


-- I was known as Uniball!
WWW: http://www.foolab.org/
Quote "c u next life time then when i come back as a mug of tea :P"


Alaa's picture
Submitted by Alaa on Tue, 03/05/2005 - 03:41.

this is a simple technique but relies on javascript, basicly the onclick event changes the class of the content of the block to some class with display: none; or something like that.

cheers, Alaa


http://www.manalaa.net "i`m feeling for the 2nd time like alice in wonderland reading el wafd"


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.