do you have a demonstration site up?
On 05/03/07, JQuery - SimDigital <[EMAIL PROTECTED]> wrote:
> Take a look how i solve the problem:
>
> <script type="text/javascript" src="jquery/jquery.js"></script>
> <script>
> $(".name").click(function(){
> theParent = this.parentNode;
> $(".moreinfo", theParent).animate({ height:'toggle'}, "fast");
> $(".moreinfo", theParent).load('moreinfo.html');
> });
> </script>
>
> <div id="company-1" class="company">
> <h2 class="name">Some Company</h2>
> <p class="moreinfo">Something about the company</p>
> </div>
> <div id="company-2" class="company">
> <h2 class="name">Other Company</h2>
> <p class="moreinfo">Something about the other company</p>
> </div>
>
>
>
> That is all folks ;-)
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/