Welcome to WebmasterWorld Guest from 54.146.217.179

Forum Moderators: open

Message Too Old, No Replies

Remove dreamweaver guff with external JS

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 6, 2001
posts:2213
votes: 0


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 July 5, 2002 (gmt 0)

Senior Member

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

joined:Dec 30, 2000
posts:3300
votes: 0


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 July 5, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 8, 2001
posts:690
votes: 0


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 July 8, 2002 (gmt 0)

Junior Member

10+ Year Member

joined:July 8, 2002
posts:44
votes: 0


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