diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-03-23 03:54:49 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-03-23 03:54:49 +0000 |
commit | e415a39dc0e77743db382a90bfde73d6e6b400dd (patch) | |
tree | bc673845530fbc96f094bad88e65752c1812298f | |
parent | ee3202f55a1da87b2f10c9bc4e5bbcd95176e19d (diff) | |
download | FMark-e415a39dc0e77743db382a90bfde73d6e6b400dd.tar.gz FMark-e415a39dc0e77743db382a90bfde73d6e6b400dd.zip |
[examples] Adding more examples
-rw-r--r-- | examples/macros.fmark | 7 | ||||
-rw-r--r-- | examples/test.css | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/examples/macros.fmark b/examples/macros.fmark index 1fa4351..fe69b1b 100644 --- a/examples/macros.fmark +++ b/examples/macros.fmark @@ -1,4 +1,4 @@ -<script type="text/javascript"> +<div><script type="text/javascript"> function loadCSS(filename){ var file = document.createElement("link"); @@ -8,10 +8,13 @@ document.head.appendChild(file); } - loadCSS("./test.css"); + loadCSS("file:///home/yannherklotz/Github/FMark/examples/test.css"); </script> +<p>sdassdd</p> +</div> + {% macro input(text) <form action="/html/tags/html_form_tag_action.cfm" method="post"> diff --git a/examples/test.css b/examples/test.css index aa84b8c..9cc4e60 100644 --- a/examples/test.css +++ b/examples/test.css @@ -1,3 +1,3 @@ -p { +body { color: #ff0000; }
\ No newline at end of file |