Solved

Does dreamweaver have an auto cleanup for unused code?

Posted on 2006-11-27
1
199 Views
Last Modified: 2012-05-05
For my site I have been copy pasting a template to start other pages. Because of this I now have lots of unused code in my later pages. Mostly from rollover images where the "onmouse=" and onload parts of code weren't erased when I deleted the original picture from the design view. I know it's a long shot but is there an easy way to get rid of this or will I have to go through manually and delete any unused code myself? thanks.
0
Comment
Question by:elliottbenzle
1 Comment
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 18025672
Hi elliottbenzle,

DW doesn't know what you actually use, what you intend to use, and what you aren't using.  

Manual cleanup is the only way to go.  Depending on what the fragments are, you can use the Search and Replace dialog in either Specific Tag mode or Regular Expression mode to kill the onmouseX events...

Sorry.  Wish I had a better answer for you.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to swtich to classic mode in Adobe Dreamweaver CC? 5 3,350
Record Button 3 229
Getting the co-ordinates of a map 1 197
Dreamweaver CS4 filling forms 2 151
For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question