I don’t know Jquery/Javascript too well at all but I can look at this code and see its pretty simple…
jQuery Panel:
$(document).ready(function() {
// Expand Panel
$(".open").click(function(){
$("div#panel").slideDown("slow");
});
// Collapse Panel
$(".close").click(function(){
$("div#panel").slideUp("slow");
});
// Switch buttons from "Log In | Register" to "Close Panel" on click
$("#toggle a").click(function () {
$("#toggle a").toggle();
});
});
and to trigger it from any link on the page it would need somethin like
$(".contact").click(function(){contactPanel()});
but I dont know how to give Panel code the name “contactPanel”… so this is where I’m stuck. how do i do this?
also I have a “Open Contact Form” at the top of the page but I want to put a contact link at the very bottom and after the link is clicked i would like for the website to scroll up before the panel drops down… is that possible?