CodeCanyon

3D Accordion

  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • United States

Nice script. I am trying to do something a little different with it. I am almost there but not quite.

I am tying the title and body of each area to content in a database. All good except when click to open, all of them open and can’t close again. Is there anything you can tell me to make it do what I’m looking for? My test is here:

http://careycontracting.com/3d-accordion.v.1/index4.php

Thank you.

roodper

Hi there, Thank you for being interested in my item.

Well, the problem with your coding is that you’ve added all the lists into only two ”<li>”. Each label or title should have its own ”<li> ” .

This is what I saw from your webpage. http://geekpics.net/images/2012/12/16/Screen_Shot_2012-12-17_at_12BZcrI.png

Thanks

  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • United States

That is because I am trying to do a repeat region pulling from a database.

  • <?php do { ?><input type="radio"  id="ac-1" name="ac-3D" />
        <label for="ac-1" onclick="" title=><?php echo $row_test['authorname']; ?></label>
        <article>

    <?php echo $row_test['testimonial']; ?>  -- <?php echo $row_test['authorname']; ?>

    </article> <?php } while ($row_test = mysql_fetch_assoc($test)); ?>
  • It is showng all the data, but I am losing the click option. Or am I not understanding your response. Thanks by the way for responding.

    I did one hack attempt that works around it but not optimum…

    http://careycontracting.com/3d-accordion.v.1/index5.php

    I left the top and bottom cells alone, which restores the closed option.

    However, when I then tried to use this as a php, I lost control of it, so still working on a solution.

    • Bought between 10 and 49 items
    • Has been a member for 2-3 years
    • United States

    My php include is here:

    the include is

    http://careycontracting.com/3d-accordion.v.1/insert-testimonial.php the page it is included is http://careycontracting.com/testimonials2012-accordionv1.php

    but I haven’t nailed it yet.

    • Bought between 10 and 49 items
    • Has been a member for 2-3 years
    • United States
    I found a solution but thanks for your nice script. My solution is posted here: http://careycontracting.com/testimonials2012.php I adapted a script from http://css-tricks.com/examples/InfoGrid/ to make it play nice … Feel free to delete my posts if you think not helpful to your sales. My need was specific to database repeat. But maybe my post will help someone else. Up to you.

    Thanks again.

    roodper

    Hi , sorry for my late reply. I was kinda busy with my other project. Glad that you found your solution. And thank you again for purchasing my item.

    • Bought between 100 and 499 items
    • Exclusive Author
    • Has been a member for 5-6 years
    sandlog Purchased

    after installing it i get an accordian but has radio buttons at the top and none of the items actually open.

    not good.

    roodper

    Hi there, thanks for being interested in my item. Can u post your example of page or source code that you are using ? do you use any additional CSS style that might conflict with 3d accordion ?

    • Bought between 1 and 9 items
    • Has been a member for 0-1 years

    Nice script. I plan to use this on some of my web design projects in the future.

    Thanks

    • Bought between 100 and 499 items
    • Exclusive Author
    • Has been a member for 5-6 years
    sandlog Purchased

    I got it working on chrome, but i have a big mess when i view it in IE. I don’t expect it to look perfect in IE, but i would expect it to at least be viewable. suggestions?

    • Bought between 10 and 49 items
    • Germany
    • Has been a member for 0-1 years

    I use it on my side, but the style.css leads to a problem (conflict) with the other CSS used by my online shop software. Unfortunately, I have failed so far to solve the problem even though I have already spent hours trying :( – Would you please help me that would be really fantastic!

    • Bought between 100 and 499 items
    • Has been a member for 0-1 years

    Hey roodper,

    thanks for sharing this nice item. Is there any way to get a specific article pre-opened?

    Thanks, regards

    roodper

    Hi , Thanks for being interested in my work. Yes, you can add checked=”checked ” inside the input attribute.

    check out example below:

    <input type=”radio” id=”ac-1” name=”ac-3D” checked=”checked”>

    Default-user

    Wow cool, easy and brilliant – quite perfect item to me, dude!

    by
    by
    by
    by
    by