Welcome to WebmasterWorld Guest from 23.23.46.20

Forum Moderators: open

Remove dreamweaver guff with external JS

   
1:56 pm on Jul 5, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Having just done an experiment to remove all the guff that dreamweaver produces for rollovers and preloaded images it appears to work. However

What I would like to know is, is is safe to remove as much JS as possible. Am I looking for trouble?

Any thoughts/experience

2:15 pm on Jul 5, 2002 (gmt 0)

WebmasterWorld Senior Member macguru is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Hi ukgimp,

Yes it is a good thing to trim down DW JS. Using external script calls is the way to go.
This will reduce HTML file size and improve content to junk ratio.

A good thread [webmasterworld.com] was started by tedster about it. I hope you can find the answers in it.

2:39 pm on Jul 5, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Dreamweaver's code for Javascript can be pretty heavy.

I would reccomend finding or cteating your own javascripts that you commonly need and put them in external javascript files.

I only need a few and since all of them together are quite small in file size it doesnt matter if I dont use them all.

8:27 pm on Jul 8, 2002 (gmt 0)

10+ Year Member



Any good tutorials on linking external js files?
i usually let imageready 7 make my rollovers...
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month