Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



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

Posts: 1
Trades: 0
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

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
johnpaul is offline
Reply With Quote
View Public Profile Visit johnpaul's homepage!
 
 
Register now for full access!
Old 08-01-2005, 09:48 AM
Unknown.

Posts: 1,693
Trades: 0
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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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.10106 seconds with 12 queries