When you have a web document open in Dreamweaver, I kind of recall that
there was a menu interface where you can tell Dreamweaver to associate
an external CSS file with this document(s) and then those CSS rules will
show up in the dropdowns, menus, etc and then the external CSS will
update as expected. Take a look for this. 

 

Further to the JS, it has long been my impression that all these varying
JS insert positions and insert styles will potentially have an effect on
how and in what order your script(s) may execute:

a) JS script included as an external src file (inclusion order of
multiple src files is significant)

b) JS script(s) in head tag

c) JS (via inline script tag(s) or src ext) just after opening body tag

d) JS (via inline script tag(s) or src ext) within the body before a
target tag(s)

e) JS (via inline script tag(s) or src ext) within the body after a
target tag(s)

f) JS (via inline script tag(s) or src ext) just before the closing body
tag

g) JS (via inline script tag(s) or src ext) just after the closing body
tag

 

Additionally, CSS that the JS works with may need to be sensitively
inserted with the positioned JS. 

 

As I say, these are all my impressions only.

 

Peter 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Susan Shemin
Sent: Wednesday, February 06, 2008 11:45 PM
To: NYPHP Talk
Subject: Re: [nyphp-talk] JavaScript just above form in body?

 

Interesting discussion.  I use Dreamweaver as a code editor because of
the intellisense and being able to visually see the page elements.  If
you drag a div with a css class definition, the css updates
automatically if it's in the document between the head tags, which I
love.  I also would like to keep the css in a separate document for
"neatness" sake, but then it doesn't update.

 

The intellisense gives php tags a bright red so I can see if an end is
missing!

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to