Coding and more – Concrete5, Flex, JavaScript

Inhalt ein- und ausblenden – Block

Aufgrund von zeitlichen Einschränkungen ist es nun eine Weile her als ich etwas auf codeblog publiziert habe. Heute ist es kein Artikel, für Erklärungen hat’s leider nicht gerreicht. Dafür aber ein gratis Block für eure Internetseite.

Ein simpler Block im Inhalt anzuzeigen den man bei Bedarf aus- und wieder einblenden kann:

expand

Dialog

Der folgende Screenshot zeigt den Dialog wo sämtliche Informationen eingegeben werden können. Speziell ist, dass man bei diesem Block das Layout gleich in der Eingabemaske definieren kann.

dialog

Erweiterungen

Sollte jemand ein paar Pfeile/Layouts haben, bitte kontaktiert mich. Ich würde gerne ein paar Templates einbinden so dass der Block später im Concrete5 Marktplatz veröffentlich werden kann.

Installation

Block hier herunterladen.

Die ZIP Datei in /blocks/ extrahieren. Sicherstellen dass der Ordner “remo_expand” vorhanden ist. Viel Spass!

10 Responses to “Inhalt ein- und ausblenden – Block”

  • Jack

    Was just trying to put together something lie this myself, saved me a load of time.
    Love being able select the template when adding the block – that should be added to all blocks in C5.

  • Sean

    Remo,
    This is an excellent addition to the concrete5 marketplace and for free too. The block works very well and as expected. Really easy to use and produces the desired results.
    I am extremely pleased with the expand/collapse block
    Many thanks for your time and effort
    Cheers
    Sean

  • _n3o_

    Nicely done and certainly very usefull ;)
    Would be great (amazing?) to add this kind of feature to autonav :s

  • Remo Laubacher

    Well, in general yes.. But:
    1. I’m very busy at the moment
    2. What script? How is it related to the expand/collapse block?

  • bellir

    Well, I think what _n3o is saying, is that if this could be applied to a sidebar nav it would be great ie. like an accordion sidebar menu that would expand when the user clicks in it.
    bellir

  • bellir

    On the expand/collapse block, I am getting only one arrow. I wanted to create a few collapsed (or expanded lines) like the example, but was not able to. I tried to play around with the open/closed drop down but it did not work.

  • Tsvetan

    Hi Remo,
    I have multiple expandcollapse blocks and I want to be able to auto expand a particular one when clicked on a link on a different page.
    So far looks like the block doesn’t support that, but I am wondering if I could use your guidance on how to modify it to accommodate my needs.
    Thanks a lot!

  • Leave a Reply