Solved

Does dreamweaver have an auto cleanup for unused code?

Posted on 2006-11-27
1
194 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
2 containers on one webpage 4 248
Unable to Connect Via FTP 109 1,229
Printing source code 2 306
Dreamweaver CS4 filling forms 2 134
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 …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now