Hide JQuery elements in Dreamweaver

BrighteyesDesign
BrighteyesDesign used Ask the Experts™
on
I'm using an Accordion JQuery menu on every page of my site.

The problem is that in Dreamweaver the Accordion appears over the top of the page making it impossible to edit the elements underneath.

I know I can paste the menu code in when all the other pages have been completed but it's a real pain when I need to edit the pages.

Is there a way to hide this in Dreamweaver? I have tried hiding 'invisible elements' and such like with no joy.

Here's a screenshot so you can see what I mean...

Screen-shot-2011-05-15-at-13.49..jpg
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
what version of dreamweaver can't you do it in mixed view or code view

Author

Commented:
I'm using CS5. When using Code View I can't edit any element on the page?

Commented:
well try 2 monitors
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Commented:
as cs5 and 4 could work on multiple monitors

Author

Commented:
Thanks Ian I might not have explained this properly though...

As long as the menu is there I cannot edit the rest of the page so I need a way to work on the page whilst the menu is there. An extra monitor would not make a difference it;s really about how to hide this JQuery element. I mean it might not even be possible?
Don't talk to me.
Commented:
There isn't going to be a good way to do it because design view is obviously not respecting the JQuery and collapsing the menu. It's a shortcoming in design view, and not a problem that can be fixed by code.

About the only thing I can think of would be to edit the CSS for the container holding the accordion and set it to display: none until you are ready to upload and then switch it back before going live.

Author

Commented:
Thanks Jason.

Good to know i'm not missing anything!

Good suggestion with the display:none, that will help.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial