Convert HTML to .Js
Page 1 of 1
Convert HTML to .Js
https://help.angel.msu.edu/tips/javascript/convert.php
/**edit**/
i've have discovered that the script generator used by the site sometimes cause errors when combining Multiple JavaScripts due to ' spaces ' put between the individual scripts or line breaks .. if this occurs, please refer to this manual process:
Start with your single/individual scripts
Change over to This:
save the combined scripts as one JS file then enter it into your sites/forum description area
/**edit**/
i've have discovered that the script generator used by the site sometimes cause errors when combining Multiple JavaScripts due to ' spaces ' put between the individual scripts or line breaks .. if this occurs, please refer to this manual process:
Start with your single/individual scripts
- Code:
<script src="https://myhost.com/myJSfile.js"></script>
<script src="https://myhost.com/myJSfile2.js"></script>
<script src="https://myhost.com/myJSfile3.js"></script>
<script src="https://myhost.com/myJSfile4.js"></script>
Change over to This:
- Code:
document.write('<script src="https://myhost.com/myJSfile.js" language="javascript"><\/script>');
document.write('<script src="https://myhost.com/myJSfile2.js" language="javascript"><\/script>');
document.write('<script src="https://myhost.com/myJSfile3.js" language="javascript"><\/script>');
document.write('<script src="https://myhost.com/myJSfile4.js" language="javascript"><\/script>');
save the combined scripts as one JS file then enter it into your sites/forum description area
- Code:
<script src="https://myhost.com/myCOMBINED_JSfile.js" language="javascript"></script>
Bad Wolf- Designer GFX
-
Level : 46
Number of posts : 3390
Location : Satellite V
Rank : 7
Experience : 3013
Registration Date : 2006-12-24
Cprofile
Title: The Digital Alchemist
Luck:
(588/588)
Karma:
(530/777)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum