[drraw-users] custom CSS via includes

Larry Brigman larry.brigman at gmail.com
Mon Nov 16 16:32:28 MST 2009


I am trying to figure out how to get a large set of CSS and java
script included in the drraw.conf file
without having to just embed all of the contents of the file. (Ver 2.2b1).

Things like:

<script language="JavaScript"
        src="/scripts/dhtml.js"
        type="text/javascript">
  </script>
<link rel="stylesheet"
        href="/styles/menu.css"
        type="text/css">


Don't seem like they get grokked correctly.
Lines like:
        start_html(-style=>{-code=>"<!--\n$CSS\n$CSS2\n-->\n\n"},
Prevent the includes.
 adding something like this should work but it doesn't.
-style=>{'src'=>'/styles/menu.css'},

It seems like this is a bug in using start_html (or more likely my
lack of understanding) since it should
take multiple entries.


Any clues sticks are welcome.
Thanks.



More information about the drraw-users mailing list