cassi-josh-644012-unsplash.jpg

[ Open All | Close All ]



1] Example & Explanation:
This is the hidden text that was revealed when the header was clicked. Such hidden text is generally related to the main header which opens them. You can add any number of collapsible headers. Clicking on the header when the text is seen hides the text. Additionally if a header is clicked it will automatically close any open text related to any other header while opening its own hidden text.

2] Compatibility:
This script works with all the newer versions of browsers like IE5+, NS6, Opera and Firefox.
This script does not work with older browsers like NSv4.x but degrades very well.

3] Notes:

This is one of the most compact scripts of this nature that you can find in any JavaScript archives.

<! data-preserve-html-node="true" data-preserve-html-node="true"-- Each collapsible header has 2 DIV tags, one is the main header that opens or closes the collapsible text and the other is for the collapsible text or content. In the first DIV tag the text (onClick="openClose('a1')") should not be changed and in the second DIV tag the text (id="a1" class="texter") is required. As you add more collapsible headers the identifier 'a1' should be incremented for all new headers in both DIV tags, for example a2 for header 2, a3 for header 3 etc. Everything else can be modified as per your requirements. Lastly, you can get rid of these comments in your documents. -->

hello

Centre for Research and Evidence on Security Threats (CREST)
Canadian Network for Research on Terrorism, Security and Society (TSAS)
Radicalisation Awareness Network – European Commission (RAN)
VOX-Pol Network of Excellence for Research on Violent Online Political Extremism
National Consortium for the Study of Terrorism and Responses to Terrorism (START)
International Centre for the Study of Radicalisation (ISCR)
Institute for Security Studies Africa (ISS)
International Center for the Study of Violent Extremism
Egmont Royal Institute for International Relations
Centre for the Study of Terrorism and Political Violence

hello

Centre for Research and Evidence on Security Threats (CREST)
Canadian Network for Research on Terrorism, Security and Society (TSAS)
Radicalisation Awareness Network – European Commission (RAN)
VOX-Pol Network of Excellence for Research on Violent Online Political Extremism
National Consortium for the Study of Terrorism and Responses to Terrorism (START)
International Centre for the Study of Radicalisation (ISCR)
Institute for Security Studies Africa (ISS)
International Center for the Study of Violent Extremism
Egmont Royal Institute for International Relations
Centre for the Study of Terrorism and Political Violence
Link.png
Tab Name

Hello

 

+ Title line or FAQ?

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.

+ As many headings as required...

Enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.

Call-Out Workshops

Through WhizBang! Workshops I offer group marketing workshops, however I am more than happy to travel to your location to provide a more personalised training session. Request My Commission Kit

Call-Out Workshops

Photography & Design Whether you're looking for a story told through images, or a website re-design using accessible CMS I am available, experienced and happy to assist. Request My Commission Kit

Call-Out Workshops

Whether you're looking for a story told through images, or a website re-design using accessible CMS I am available, experienced and happy to assist. Request My Commission Kit