Welcome to Dark eFfectX !

Enter the digital revolution. Design technology, coding & gaming. The curating & exchange of Digital Knowledge while Anime, Manga Art, Music and Technology collide in a Alchemy of Thought and Illusion.

Learn the magic of today from the science of tomorrow. Web site modifications, custom style sheets (CSS) and coding support + more.

Guests, please register or log in to view the entire forum.

Join the forum, it's quick and easy

Welcome to Dark eFfectX !

Enter the digital revolution. Design technology, coding & gaming. The curating & exchange of Digital Knowledge while Anime, Manga Art, Music and Technology collide in a Alchemy of Thought and Illusion.

Learn the magic of today from the science of tomorrow. Web site modifications, custom style sheets (CSS) and coding support + more.

Guests, please register or log in to view the entire forum.
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Convert HTML to .Js

Go down

Convert HTML to .Js Empty Convert HTML to .Js

Post by Bad Wolf Fri 23 Nov 2007, 18:29

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
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>

_________________
Convert HTML to .Js Alcbar13
Bad Wolf
Bad Wolf
Designer GFX
Designer GFX

Female Starseeker

Level : 46
Number of posts : 3093
Location : Satellite V

Rank : 7
Experience : 2650
Registration Date : 2006-12-24

Cprofile
Title: The Digital Alchemist
Luck:
Convert HTML to .Js Llc10588/588Convert HTML to .Js Empty  (588/588)
Karma:
Convert HTML to .Js Klc10530/777Convert HTML to .Js Empty  (530/777)

https://darkfx.darkbb.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum