So I'm using the Animated Collapsible DIV v2.2 by Dynamic Drive. It works for the most part except when I want an area to collapse back up.
I'm using a div called:
<div id=\"portfolio-display\">
but for the script you need to use another div for each section you want. For me they would be ...
<div id=\"graphic\">
<identity\">
I've only changed the GRAPHIC area to reflect the portfolio-display effect. Has you see the other sections work fine. So it has to do with something with the other div. Here is my code.
PAGE:
<p>First, welcome and thank you for taking a look at my portfolio. To view my work under a category (graphic art, identity, etc.) click on the <em>Display/Hide Work</em> link. This will show the works in that particular category. For a larger and more detailed view click on the preview. Once finished click the <em>close button</em> to view all the works again. Hitting the Display/Hide Work again will hide works in the category you were viewing.</p>
<li><a href=\"http://onyx.jason-loucks.com/images-portfolio/graphic-rangers-movie.jpg\" rel=\"lightbox\"> <img src=\"http://onyx.jason-loucks.com/images-portfolio/previews/graphic-rangers-movie.jpg\" alt=\"MMPR: The Movie Soundtrack (iTunes Art)\" class=\"portfolio\" /></a></li>
<li><a href=\"http://onyx.jason-loucks.com/images-portfolio/graphic-britney-miami.jpg\" rel=\"lightbox\" class=\"portfolio\" /> <img src=\"http://onyx.jason-loucks.com/images-portfolio/previews/graphic-britney-miami.jpg\" alt=\"Britney Spears Dream Within A Dream CD (iTunes Art)\" class=\"portfolio\" /></a></li>
<li><a href=\"http://onyx.jason-loucks.com/images-portfolio/graphic-britney-dream.jpg\" rel=\"lightbox\"> <img src=\"http://onyx.jason-loucks.com/images-portfolio/previews/graphic-britney-dream.jpg\" alt=\"Britney Spears Live from Miami CD (iTunes Art)\" class=\"portfolio\" /></a></li>
<li><a href=\"http://onyx.jason-loucks.com/images-portfolio/graphic-britney-oops.jpg\" rel=\"lightbox\"> <img src=\"http://onyx.jason-loucks.com/images-portfolio/previews/graphic-britney-oops.jpg\" alt=\"Britney Spears Oops! ... I Did It Again Tour CD (iTunes Art)\" class=\"portfolio\" /></a></li>
<a href=\"http://onyx.jason-loucks.com/images-portfolio/print-britney-live.jpg\" rel=\"lightbox\"> <img src=\"http://onyx.jason-loucks.com/images-portfolio/previews/print-britney-live.jpg\" alt=\"B. Spears Live from Miami DVD Artwork\" class=\"portfolio\" /></a>
<a href=\"http://onyx.jason-loucks.com/images-portfolio/print-walk-remember.jpg\" rel=\"lightbox\"> <img src=\"http://onyx.jason-loucks.com/images-portfolio/previews/print-walk-remember.jpg\" alt=\"A Walk To Remember DVD Artwork\" class=\"portfolio\" /></a>
<a href=\"http://onyx.jason-loucks.com/images-portfolio/print-best-mandy.jpg\" rel=\"lightbox\"> <img src=\"http://onyx.jason-loucks.com/images-portfolio/previews/print-best-mandy.jpg\" alt=\"Mandy Moore The Best Of DVD Artwork\" class=\"portfolio\" /></a>
#portfolio-display ul { margin:0px; padding:0px; } #portfolio-display li { list-style-type:none; float:left; margin: 0 10px 10px 0; position:relative; padding:0px; } #portfolio-display li img { border: 4px solid #fff; width: 170px; } #portfolio-display li a { display:block; }
Here is a LIVE link of what it looks like http://jason-loucks.com/wptest/portfolio/ - any ideas what is causing this? Like I said I think it has to do with the portfolio-display.
I looked at your code, couldn't see anything obviously wrong (except it didn't work) so I had a look on the Dynamic drive site to see what parameters were available, height seemed most likely so I measured the div and added that to the jQuery.
I looked at your code, couldn't see anything obviously wrong (except it didn't work) so I had a look on the Dynamic drive site to see what parameters were available, height seemed most likely so I measured the div and added that to the jQuery.
Haha. Thanks, but I still want the content to hide when you first arrive.
I'm using a div called:
but for the script you need to use another div for each section you want. For me they would be ...
I've only changed the GRAPHIC area to reflect the portfolio-display effect. Has you see the other sections work fine. So it has to do with something with the other div. Here is my code.
PAGE:
CSS:
Here is a LIVE link of what it looks like http://jason-loucks.com/wptest/portfolio/ - any ideas what is causing this? Like I said I think it has to do with the portfolio-display.
animatedcollapse.addDiv('graphic', 'height=440px')Thank you so much! Would you mind explaining how that works? Trying to learn at that same time. Thanks again. :D
I looked at your code, couldn't see anything obviously wrong (except it didn't work) so I had a look on the Dynamic drive site to see what parameters were available, height seemed most likely so I measured the div and added that to the jQuery.
Haha. Thanks, but I still want the content to hide when you first arrive.