Reply
how to put java to external file
Old 08-01-2005, 05:45 AM how to put java to external file
Junior Talker

Posts: 1
how to put java to external file .... i like to name it java.js
i use dreamweaver then make a pop up menu but then the java scripts fill in the head part of my index .... can anybody help ...
__________________
business softwares
http://www.keeptell.com
business software
johnpaul is offline
Reply With Quote
View Public Profile Visit johnpaul's homepage!
 
When You Register, These Ads Go Away!
Old 08-01-2005, 08:48 AM
Unknown.

Posts: 1,693
Firstly Javascript and Java are two different things!

To put the JAVASCRIPT into an external file you simple copy it in but don't include the <script> and </script> at the start and end. Then save it as a .js file.

Then to link to in in the html file place this in the head..
HTML Code:
<script type="text/javascript" src="javascript.js"></script>
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to how to put java to external file
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11301 seconds with 12 queries