/* my_jquery.js */

/* Toggle Web Deb menu so that when clicked, the menu expands, but also displays the entire web development part of the portfolio 8?


$(document).ready(function() {
/* 1. Toggle */

$(document).ready(function() {
	
  

	$("#welcome").css("color", "#ff0000");
	$("#content").load("external.html #welcome_message");
    //changes the color of the link to be orange
	$("a.xml_link").click(function() {
		$("#left a").css("color", "rgb(188,121,105)");
		$("#navbar a").css("color", "#ffffff");
		$(this).css("color", "#ff0000");
	});
	//loads right-hand links from external.html
	
	$("#welcome").click(function() {
	$(".toggle_link").hide();
		$("#content").empty();
		$("#content").load("external.html #welcome_message");
	});
	$("#portfolio_link").click(function() {
		$("#content").empty();
		$("#content").load("portfolio.html");
		
	});
	$("#usability_link").click(function() {
		$("#content").empty();
		$("#content").load("usability.html");
		
	});
	$("#about").click(function() {
		$("#content").empty();
		$("#content").load("external.html #aboutme");
	});
	$("#education").click(function() {
	
		$("#content").empty();
		$("#content").load("external.html #myeducation");
	});
	$("#resume").click(function() {
	
		$("#content").empty();
		$("#content").load("Resume.html");
	});
	

	//loads XML
	$("#Web_Development").click(function() {
		$("#content").load("webdevelopment.html #web_dev_pictures");
		$(".toggle_link").toggle();

	}); //end web dev click
	$("#Interactive").click(function() {	
		$("#content").load("interactive.html");
	});
	$("#Contract_Projects").click(function() {
		$("#content").load("contracts.html");
	
	}); //end contract projects
	$("#On_the_Side").click(function() {
		$("#content").load("ontheside.html");
		
	}); //end on the side projects

	$("#Grad_Projects").click(function() {
	$("#content").load("graduatestudent.html");
	}); //end on the side projects
	$("#Publications").click(function() {
		$("#content").load("publications.html");
	});
	$("#PastProjects").click(function() {
		$("#content").load("pastprojects.html");
	}); 

});/* end document ready */
/*$('#content').xslt('portfolio.xml', 'Portfolio.xsl');*/
	