REGISTER
|
Search Tycoon Talk
|
Freelancer.com
|
Members
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.
Register Here
Forum Rules
Coding Forum
You are currently viewing our Coding Forum as a guest. Please
register
to participate.
Login
Remember Me?
Login via Freelancer.com
Tycoon Talk
>
Web Development and Programming Support
>
Coding Forum
>
External Javascript
Link Back
Thread Tools
Search this Thread
External Javascript
11-29-2004, 06:46 PM
#
1
(
permalink
)
External Javascript
theshiznit
Registered User
Posts: 214
Trades:
0
Talkupation:
I have a external Javascript code i want to execute in my normal web-page.(It's a login script). I was wondering how to link it.
Can anyone help?
Register
now for full access!
11-29-2004, 07:09 PM
#
2
(
permalink
)
Dark-Skys99
Unknown.
Posts: 1,693
Trades:
0
Talkupation:
I guess you mean linking to an external .js file...
<script type="text/javascript" src="
file.js
"></script>
--James
11-29-2004, 07:27 PM
#
3
(
permalink
)
theshiznit
Registered User
Posts: 214
Trades:
0
Talkupation:
cool thant worked...Thanks!
11-30-2004, 04:03 AM
#
4
(
permalink
)
andrews_john
Ultra Talker
Posts: 377
Trades:
0
Talkupation:
Just to add. As i know you may use a <LINK> tag to do the same thing...
__________________
andrews_john
Please login or register to view this content.
Registration is FREE
11-30-2004, 03:41 PM
#
5
(
permalink
)
ElectricSheep
Extreme Talker
Posts: 160
Trades:
0
Talkupation:
One of the <link> tags uses is to reference external StyleSheet files but not JavaScript ones.
For example,
<link rel="StyleSheet" type="text/css" href="style.css">
11-30-2004, 05:10 PM
#
6
(
permalink
)
Dark-Skys99
Unknown.
Posts: 1,693
Trades:
0
Talkupation:
Yea.. to do it that way you would use..
<link rel="javascript" type="text/javascript" href="script.js" />
--James
12-01-2004, 04:02 PM
#
7
(
permalink
)
ElectricSheep
Extreme Talker
Posts: 160
Trades:
0
Talkupation:
The <link> tag is NOT used for embedding JavaScript that is the role of the <script> tag. :-)
« Reply to
External Javascript
Previous Thread
|
Next Thread
Tycoon Talk
>
Web Development and Programming Support
>
Coding Forum
>
External Javascript
Thread Tools
Search this Thread
Show Printable Version
Email this Page
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
Forum Rules
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Tweet this thread
Page generated in
0.26688
seconds with
12
queries