Why is this div not hidden when my page loads?

Head out to http://brucegust.com/portfolio/verizon/index_static.php. On the right hand side, you'll see a list of months with "(4)" to the right of July. Click on the number and you'll see the content below it slide out of view.

I need that content to be hidden when the page loads. What am I missing? The functionality works just fine, it's just when the page first loads, this:

Florida | FL
Louisiana | HGC
Tennessee | CATN
Mississippi | HGC

...needs to be hidden from view.

Where am I blowing it?
Bruce GustPHP DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jim RiddlesPrepress/OMS SpecialistCommented:
Your rendered HTML has the class as .\"slidingDivTerms\".  It seems that whatever writes that information to the page is adding a "\"" at the beginning and end.  Sort of like escaping output, but it isn't working correctly.

If you can't figure out what is causing this, then post the snippet of code on your site that generates this content and I can probably figure it out.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Vimal DMSenior Software EngineerCommented:

Use below lines of code,



Bruce GustPHP DeveloperAuthor Commented:
Vimal, I wanted to give you some credit in that I'll keep your suggestion in mind for future scenarios. Jim, you were dead on. Thanks for weighing in!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.