Solved

Does dreamweaver have an auto cleanup for unused code?

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 …
This video discusses moving either the default database or any database to a new volume.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 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

10 Experts available now in Live!

Get 1:1 Help Now