Results 1 to 8 of 8

Thread: Animated Collapsible DIV v2.4 not working properly

  1. #1
    Join Date
    Jan 2009
    Location
    India
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Animated Collapsible DIV v2.4 not working properly

    Animated Collapsible DIV v2.4

    Iam using http://www.dynamicdrive.com/dynamici...edcollapse.htm Animated collapsible script on my wordpress site. It is working fine. But my site's dropdown main menus is hidden if i use this script. Site's main menu is setted in mootools by wp theme.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm sounds like a CSS z-index issue with the menu. Please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

  3. #3
    Join Date
    Jan 2009
    Location
    India
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you. Iam using this script on the page http://textanddine.com/?page_id=18
    Click the description link on each items for this script working. If visitors click on description it need to show the items description. And also Pls check the homepage menus and this page menus. Sorry the dropdown menus is not loading correctly on this page.
    Last edited by dsimon; 04-08-2010 at 11:04 AM.

  4. #4
    Join Date
    Jan 2009
    Location
    India
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Now site's main menus is working proper. And now only one problem, if i click second items description, first items description is open. How to fix this?

  5. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Both your first and second description links are set to toggle the same content:

    Code:
    javascript:animatedcollapse.toggle('textd')
    You need to change the 2nd link so it toggles the desired DIV (enter the corresponding ID attribute of that DIV).
    DD Admin

  6. #6
    Join Date
    Jan 2009
    Location
    India
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Pls check my code for this DIV ID: textd

    Code:
    <div id="textd" style="width: 100%; background: #FFFFFF; display:none">
    <?php echo $entry->getBioBlock() ?>
    </div>
    The echo $entry->getBioBlock() is showing all items description on that page. Can i display the description for each and every items with same ID: textd?.
    Last edited by dsimon; 04-09-2010 at 01:07 PM.

  7. #7
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm are you asking how to change the contents of the DIV textd dynamically depending on which "description" link is clicked on, despite the fact that all of the links invoke the same function:

    Code:
    javascript:animatedcollapse.toggle('textd')
    ?

    If so sounds like there should be an easier way to go about this than that.
    DD Admin

  8. #8
    Join Date
    Jan 2009
    Location
    India
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    How to change the contents of the DIV textd dynamically when click on description link?.

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
  •