Re: Is this all really worth it? (Was: More DTD)

by "Darrell King" <darrell(at)webctr.com>

 Date:  Sat, 27 Jan 2001 18:30:36 -0500
 To:  <hwg-basics(at)hwg.org>
 References:  gpe59
  todo: View Thread, Original
It's in the tutorial.  Basically, as an example:

1) Look in Configuration/Objects for HR.htm and open it in a text editor

2) look for the function objectTag()

3) Moidify this line (I added the dots inside the starting bracket for this
note...do not do so when working on the file):

  return "<.HR>";

...to read like this:

  return "<.HR />";

(Note that there is a space between the 'R' and the '/'

You should now see:

function objectTag() {
  // Return the html tag that should be inserted
  return "<HR />";
}

4) Restart DW

They aren't all that easy, but that's the general idea.  You should be
fairly conversant with HTML and JavaScript before playing with it.

As always when messing with source, your first step is to make a backup of
any file you want to work on.

D

----- Original Message -----
From: "Matthew Seaver" <mseaver(at)bigfoot.com>


How did you edit DW config files. Is this something I missed in the
tutorial?  I just received the paid for version today. (Installing 1/26 just
after I update the site (not before incase there are problems, then I have a
week to fix them)

TY,

Matt Seaver
mseaver(at)bigfoot.com

-----Original Message-----
From: Darrell King <darrell(at)webctr.com>

Not natively...we use EditPlus and, lately, Homesite.  I did, however,
modify many of DW's configuration files to produce more compliant code, such
as adding the space-and-slash to empty elements, summary attributes to
tables, etc.

D

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA