?
Solved

Does dreamweaver have an auto cleanup for unused code?

Posted on 2006-11-27
1
Medium Priority
?
207 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

801 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