Need to fix a couple of scripts that have stopped working in IE9 and FF6
One is a slide down login menu (e.g. [login to view URL])
Toggle no longer works:
//Top Menu Slide
$(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 the other is a slide up form:
// Panel Bottom Slide
$(document).ready(function(){
$('#contactLink').click(function(){
if ($('#contactForm').is(':hidden')){
$('#contactForm').slideDown('slow');
}
else{
$('#contactForm').slideUp('slow');
}
});
});
// Switch backgrounds "Close Panel" on click
$("#contactLink a").click(function () {
$("#contactLink a").toggle();
});
function closeForm(){
$('#messageSent').show('slow');
setTimeout("$('#messageSent').hide();$('#contactFormContainer').slideUp('slow')", 2000);
}
this one doesn't stay up when clicked (just slides back down automatically) and needs to have a toggle added to close it.