Solved

Does dreamweaver have an auto cleanup for unused code?

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
problems opening dw files with cs6 8 290
Search/Results Pages 7 393
page loads much slower in IE than chrome 9 1,231
JQuery form validation for bootstrap 1 191
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 I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

813 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