Results 1 to 4 of 4

Thread: Add Panels dynamically into step carousel

  1. #1
    Join Date
    Jan 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Add Panels dynamically into step carousel

    1) Script Title: stepcarousel.js

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...epcarousel.htm

    3) Describe problem:

    Hello everybody,

    I would like to know if i can add dynamically 'panel' into step carousel?

    For example, i would like to do :

    $('.panel').after('<div class="panel"></div>');

    where '.panel' is the class of panel DIVs each holding content

  2. #2
    Join Date
    Jan 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It's ok!! I found a solution!

    I played with the property :

    stepcarousel.configholder["my-div"].lastvisiblepanel = ...

  3. #3
    Join Date
    Feb 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Paci88,
    Can you show me the full line of code that you used to dynamically add the panel? I need to dynamically add panels to a Step Carousel I have on a page and the content of those panels needs to be added programmatically.

    Many thanks in advance if you can help me out.

    MDCragg

  4. #4
    Join Date
    Jan 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    In fact,I do not add "dynamically" panels...

    It gives this effect but when the page is loading, every panel is present in the page, but all are not visible.

    I played with the property indicated above and it gives the feeling that panels are dynamics...

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
  •