HighDots Forums  

inserting .js file in multiple pages

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss inserting .js file in multiple pages in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
fatalman
 
Posts: n/a

Default inserting .js file in multiple pages - 07-18-2004 , 11:20 PM






Hi, maybe this is very easy, but I could not find an answer to this question
anywhere. Your help is appreciated.

I want to include a .js (javascript) file in about 250+ pages. How do I
automate this process using dreamweaver
so that I do not have to manually do it.

thanx in advance


Reply With Quote
  #2  
Old   
terry
 
Posts: n/a

Default Re: inserting .js file in multiple pages - 07-19-2004 , 01:23 AM







"fatalman" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi, maybe this is very easy, but I could not find an answer to this
question
anywhere. Your help is appreciated.

I want to include a .js (javascript) file in about 250+ pages. How do I
automate this process using dreamweaver
so that I do not have to manually do it.

thanx in advance

Assuming you're not using a template,

Use EDIT
Find and Replace
Configure to Find in [Entire current local site]

and then something like

Find </head>
Replace with <script type="text/javascript"
src="scripts/myscript.js"></script>
</head>

HTH

Terry




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.