[hunchentoot-devel] Using javascript

Lisp Newb lispnewb at gmail.com
Sat Feb 23 04:02:55 UTC 2008


Apologies for an even newbier question, but here (
http://osdir.com/ml/lisp.lib.tbnl.general/2006-10/msg00063.html) I'm told I
should put a js file in the root directory of my website and then use code
like:

(:html
  (:head
    (:link :href "myfile.css" :rel "stylesheet" :type "text/css")
    (:script :src "myfile.js" :type "text/javascript" nil)

to access it.

I installed hunchentoot via asdf.  What's the root directory of my
website?  The directory containing  the lisp file that calls
start-server doesn't appear to be it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20080222/c4de09a0/attachment.html>


More information about the Tbnl-devel mailing list