Webmaster Forums

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Old 09-22-2002, 07:11 PM   #1
Join Date: Sep 2002
Posts: 1
budp is on a distinguished road
Unhappy formatting JavaScript

The HTML formatter trashes JavaScript.
In a statement like:

<A href="Menu.htm" onmouseover="MouseOn('Menu')" onmouseout="MouseOff('Menu')"><IMG name="Menu" alt="Menu" border="0" src="Menu1.jpg"></A>

the single quotes within the double quotes around the word 'Menu' will be removed:

<A href="Menu.htm" onmouseover="MouseOn(Menu)" onmouseout="MouseOff(Menu)"><IMG name="Menu" alt="Menu" border="0" src="Menu.jpg"></A>

Is there a fix for this?
The formatter is useful for analyzing generated HTML, but it is tedious to try to repair the damage.
budp is offline   Reply With Quote
Old 09-22-2002, 08:29 PM   #2
Senior Member
HZR's Avatar
Join Date: Sep 2002
Location: Sweden
Posts: 160
HZR is on a distinguished road

I've noticed this also. Cut out the code, clean up the remaining code, and paste the first code again.
HZR is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 04:50 AM. Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd. Evrsoft.com. All Rights Reserved.