View Full Version : Help! Changed Code not working

01-05-2011, 06:54 AM
I changed the code and it didn't work, so I tried to put it back to what it was. Now, the whole thing isn't working. I am a lost little child. Can someone help me please. http://www.boothemusic.com/

Here is the code:

<html xmlns="http://www.w3.org/1999/xhtml">
<head xmlns="">
<title>Boothe Brothers Music</title>
<script type="text/javascript">
function loadContent(page) {
switch(page) {
case "home":
document.getElementById("middle").src = "http://boothemusic.com/middle.html";
case "store":
document.getElementById("middle").src = "http://boothemusic.com/catalog";
case "Electric Guitars":
document.getElementById("middle").src = "http://boothemusic.com/catalog/index.php?main_page=index&cPath=1&zenid=9feb6660698a06a51571cc4cef1c3e60";

I left out most of the code because I only edited the line "case "store".....".

Philip M
01-05-2011, 10:09 AM
You must have changed more than that. Your function loadContent(page) is not called anywhere.