Results 1 to 2 of 2

Thread: ddaccordion: change position after togglehtml

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

    Default ddaccordion: change position after togglehtml

    1) Script Title: Accordion Content script (v1.7.1)

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

    3) Describe problem:

    I would like to add two images in front of the header; I have changed suffix to prefix, but it doesn't work.

    togglehtml: ["prefix", " <img src='close.gif' />", " <img src='open.gif' />"], //two images added to the end of the header

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    So it looks like:

    Alternate example (onclick):
    from the demo page? If you have used "prefix" correctly and it still doesn't work, you must have some style (most likely - like a float) and/or markup that is affecting this. If you want more help:

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •