HTML: Dynamically loading an external JavaScript or CSS file

This enable the HTML template from linking JS and CSS files dynamically
when starting. This helps to recognize the folder name where js and css
where exported dynamically.

The HTML template will succesfully find the attached files as long as they
exist in a directory named as the HTML file.

Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Gehad elrobey 2014-06-10 18:40:56 +03:00 committed by Dirk Hohndel
parent 8ea5441b79
commit 5169adbeb3
3 changed files with 25 additions and 4 deletions

View file

@ -3,6 +3,7 @@ body{
background-color:#dfdfdf;
font-size:12px;
font-family: 'Lobster', helvetica, arial;
visibility: hidden;
}
h1 {