Help lost all ability to control homepages

Glory2Jesus4PhotographyGlory2Jesus4Photography Registered Users Posts: 190 Major grins
FIXED BY JFRIEND IN THIS THREAD http://www.dgrin.com/showthread.php?t=138425


I was running 3 home pages just fine and thought I would add a fourth to clean some things up and lost all control to hide and block anything on any of theme. I have now even taken all the code out except for just 2 and still have no control to block anything. I must be missing something some were some one please take a look and give me a hand hopefully before a figure it out this time. http://glory2jesus4photography.smugmug.com/

I did post this on customizing as well but I very seldom ever get an answer plus I have looked and re looked this code a dozen times and have no idea why it is not working.
this is my css before I added the forth page that threw every thing out of whack
/ * MY HOME PAGE * /

.homepage #mapStuff,
.homepage #keywordsBox,
.homepage #featuredBox,
.homepage  p.note,
.homepage #popularPhotos,
.homepage #ffBox,
.homepage #datesBox,
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox,
.homepage #keywordSearch,
.homepage #mapbox {
    display: none !important;
}

.homepage #bioBox {
display: block !important;
}




/ * GALLERIES HOME PAGE * /

.galleries #mapStuff,
.galleries #mapBox,
.galleries #keywordsBox,
.galleries #ffBox,
.galleries #popularPhotos,
.galleries #datesBox,
.galleries #bioBox,
.galleries #mapbox {
    display: none !important;
}

.galleries #categoriesBox,
.galleries #keywordSearch,
.galleries #galleriesBox,
.galleries #featuredBox {
    display: block !important;
}




/ * MY FIND PAGE * /



.find #popularPhotos,
.find #galleriesBox,
.find #categoriesBox,
.find #featuredBox,
.find #bioBox {display: none !important;
}

.find #keywordsBox,
.find #mapBox,
.find #keywordSearch,
.find #datesBox,
.find #ffBox
 {display: block; !important;
}



.find #mapBox  {width:60%; float:left;}
#mapBox #map {height:500px ; border: 1px solid #808080;}
#popularPhotos .boxBottom {height: 200px !important; overflow:auto; }
.find #keywordsBox {width: 37%; float: right;}
#keywordsBox .boxBottom {height: 480px !important; overflow: auto; border:none; opacity:.65; }


/ ** FUN MAP STUFF ** /

#mapStuff {
display: none !mportant;
}

.find #mapStuff {
display: block !important;

width: 1005px;
margin: 0 auto;
border: none;
margin-top: -35px;

}

.find #mapStuff .title {
background: #2E2E2E;
height: 23px;
width:595px;
margin-left: -3px;
}

.find #mapStuff H3 {
padding-top: 4px;
padding-left: 8px;
}
#mapStuff li {
list-style-image: url('[URL="http://www.smugmug.com/photos/245642720-12x20.jpg"]http://www.smugmug.com/photos/245642720-12x20.jpg[/URL]')
}


In my Java I used
function hasPath(sPath)
{
  re = new RegExp("\/" + sPath + "(\/|$)");
  return re.test(window.location)
}

if (hasPath("galleries"))
YD.addClass(document.body, "galleries");
and just duplicating the if (haspath) part for each new page.


What did I do wrong and how do I get it back like I said as it is now I can not even block anything with the code and script for two pages.
Any and all help would be greatly appreciated and needed.
Thanks Corey
I know my spelling and grammar are poor some times my spell check says "I got nothing
for you" and there/ their is no grammar check yet so please forgive me Jesus did.
My Web site:
http://Glory2Jesus4Photography.smugmug.com/
My blog: http://glory2jesus4photography.blogspot.com/
Failed to load the poll.
Sign In or Register to comment.