[thelist] "Hand Coding" in DWMX2004

Christopher Mahan chris_mahan at yahoo.com
Fri Aug 20 15:54:26 CDT 2004


--- "Peekstok, Anna" <Anna.Peekstok at METROKC.GOV> wrote:

> Aaron Cole wrote:

> because Dreamweaver messes with my code. If I so much as open a
> page with
> Dreamweaver, it changes things to suit itself. I hate that.
> Therefore, my
> Dreamweaver MX sits unopened on my desktop.


Aaaaaamen!

In reality, the code I mess with gets to be ultra-complex (writing
javascript that generates html and inserts it with innerHTML) and the
preview pane goes berzerk and the syntax highlighting  goes berzerk.

example:

(it'll probably be munged, sorry)

function show_buttons(){
      v="<div class=\"gerh\"><%=group%> " + current_group + "</div>";
      v=v+"<div class=\"buttongroup\"><div
class=\"buttongroupleft\">";
      if (current_group>1){
      v=v+"<a onclick=\"move_group(-1);\"
class=\"button\">Previous</a>";
      }
      v=v+"</div><div class=\"buttongroupright\">";
      v=v+"<a onclick=\"move_group(1);\" class=\"button\">Next</a>";
      v=v+"</div></div>";
      document.getElementById("section2a").innerHTML=v;
      get_maxSubgroup();
    }

So I use jEdit, and since it uses ftp, I just do the save-switch
windows-reload dance.

=====
Chris Mahan
818.943.1850 cell
chris_mahan at yahoo.com
chris.mahan at gmail.com
http://www.christophermahan.com/


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


More information about the thelist mailing list