Results 1 to 3 of 3

Thread: Can I have a collapsible section start off as collapsed?

  1. #1
    Member
    Join Date
    Nov 2014
    Location
    Kailua, Hawaii
    Posts
    50

    Can I have a collapsible section start off as collapsed?

    Is it possible to have a collapsible section start off collapsed?

    I have several sections on a page and a few of them would only be occasionally used. So, it would be nice to have the page start with them collapsed so the other sections can be more visible.

    Is there a way to do this?

    Thanks,
    Steve

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,781
    Blog Entries
    18
    Hi Steve,

    In the "Ready" delegate for the page you can collapse the sections.

    e.g. if you load lianjademo

    Code:
    Lianja.get("customers.section2").collapse()
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Member
    Join Date
    Nov 2014
    Location
    Kailua, Hawaii
    Posts
    50
    Thanks Barry! Works like a charm,
    Steve

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us