![]() |
hahahahahahahahahaha help
What's the code to load some j a v a s c r i p t from a .js file instead of having the whole code in the headers?
|
<script src=file.js>
i think |
<.skript src="urskript.js"><./skript> :glugglug
|
sweet thanks
|
why would it make a difference if it was in your headers or in a seperate file?
|
Quote:
|
It also helps for those search engines which eat spider food, keeping javaskripts out gives a better chance to grab some relevant content since most javaskripts go into the headers.
WG |
hmm doesn't seem to be working, when i put the skript directly in my headers it works but when i try this method it won't do shit
|
try specifying the script language, and make sure you use the full path:
{skript language="javaskript" src="includes/file.js"} replace brace brackets with angle brackets, obviously |
Quote:
|
Quote:
|
| All times are GMT -7. The time now is 01:48 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123