This is my first post.  Great group you have here.

Please understand that I know nothing about JavaScript, but I am
trying to learn.  I am loving this tuff a lot.

I have a setup/animation that I am working on from a developer. (asked
for his permission to use it and said go for it)

Anyways here is the script and question.

How can I get the (-)minimize link to return to the #pageTop anchor
like in the BTT link?  I would like everything to still work how it is
setup, I would just like the page to scroll to the anchor when the
minimize button is clicked..


$('.BTT').click(function(){$('#pageTop').ScrollTo(800);return false});

$(".toggleBtn").toggle(function(){
        if(document.getElementById(this.rel).style.display == "none"){$("#" +
this.rel).slideDown(500);this.innerHTML = "(-) minimize";return};
        this.innerHTML = "(+)expand";

    $("#" + this.rel).slideUp(500);
  },function(){
         if(document.getElementById(this.rel).style.display == "block"){$("#"
+ this.rel).slideUp(500); this.innerHTML = "(+)expand";return};
         this.innerHTML = "(-) minimize";
    $("#" + this.rel).slideDown(500);


  });

}
);

Thanks in advance!

Reply via email to