Results 1 to 3 of 3

Thread: Accordion

  1. #1
    New user
    Join Date
    09-03-09.
    Posts
    15

    Default Accordion

    hi!

    i got two pages, (1) one is a modyfied version of the music_academy sample.
    and the other (2) one is created from scratch, with my own templates.

    now i got into one strange position.
    i added Accordions on (1) and all is fine, they slide up and down.
    i added Accordions on (2) and they show up like normal text.

    what do i need to add to (2) to get it working like in (1)
    i checked the style sheets and added the required classes.

    when i look at the html code i noted that the generated code looks different!

    (1) generates
    Code:
    <div class="ce_accordion block">
    
    <div class="toggler">
    <span class="toggler_first">bullet</span> 
    </div>
    
    <div style="border-top: medium none; border-bottom: medium none; overflow: hidden; padding-top: 0px; padding-bottom: 0px; height: 62px;" class="accordion"><div>
    
    
    Nick: TheBulletCollector
    </p>
    
    </div></div>
    
    </div>
    (2) generates
    Code:
    <div class="ce_accordion block">
    
    <div class="toggler">
    <span class="toggler_first">bullet</span> 
    </div>
    
    <div class="accordion"><div>
    
    
    Nick: TheBulletCollector
    </p>
    
    </div></div>
    
    </div>
    so the whole div style is missing...

    any ideas why?

    thanks in advance!

  2. #2
    New user
    Join Date
    09-03-09.
    Posts
    15

    Default Re: Accordion

    arr - i hate to reply to myself

    i found it!

    i had to set: Page layouts -> Mootools template -> moo_default

    thanks anyway!

  3. #3
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Accordion

    Glad you got it figured out, Lumo. I think that one got me too when I first started out.

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
  •